/* =====================================================
   AWP PRINTWISE – MOBILE UX LAYER
   Scope: Mobile ONLY (≤768px)
   Desktop: Completely untouched
   Purpose: Native app feel, zero regression
===================================================== */

@media (max-width: 768px) {
  
  /* ====================================================
     SPRINT 1: MOBILE HEADER
  ==================================================== */
  
  /* Hide desktop header completely on mobile */
  #main-header {
    display: none !important;
  }
  
  /* Mobile Header - Fixed, minimal - Düz Parlak Koyu Turuncu */
  #mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ff8300;
    /* Düz renk arka plan - gradient yok */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    padding-top: env(safe-area-inset-top);
    height: calc(60px + env(safe-area-inset-top));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  
  /* Mobile Logo - Sol tarafta */
  #mobile-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    flex-shrink: 0;
  }
  
  /* Header sağ taraf - Butonlar */
  #mobile-header-right {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    margin-left: auto;
  }
  
  /* Logo ve butonlar arası boşluk için */
  #mobile-header {
    gap: 16px;
  }
  
  /* Hamburger Menu Button - Beyaz İkon */
  #mobile-hamburger-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
  }
  
  #mobile-hamburger-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.95);
  }
  
  #mobile-hamburger-btn svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    stroke-width: 2;
  }
  
  /* Dil Seçimi Butonu - Hamburger ve Login arasında */
  #mobile-lang-selector-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    padding: 6px;
    box-sizing: border-box;
  }
  
  #mobile-lang-selector-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.95);
  }
  
  #mobile-lang-selector-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
  }
  
  #mobile-lang-selector-btn svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    stroke-width: 2;
  }
  
  /* Üyelik Giriş Butonu - Hamburger yanında */
  #mobile-login-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
  }
  
  #mobile-login-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.95);
  }
  
  #mobile-login-btn .icon-circle {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
  }
  
  #mobile-login-btn svg {
    width: 20px !important;
    height: 20px !important;
    color: white !important;
    fill: white !important;
    stroke: white !important;
  }
  
  
  /* Add top padding to body to account for fixed header - only on mobile */
  .ders-notu-calculator-wrapper {
    padding-top: 60px;
    padding-top: calc(60px + env(safe-area-inset-top));
  }
  
  /* PWA Standalone mode - extra padding for status bar */
  @media (display-mode: standalone) {
    .ders-notu-calculator-wrapper {
      padding-top: calc(60px + env(safe-area-inset-top) + 20px);
    }
    
    #mobile-header {
      height: calc(60px + env(safe-area-inset-top) + 20px);
      padding-top: calc(env(safe-area-inset-top) + 20px);
    }
    
    main {
      padding-top: calc(24px + 20px) !important;
    }
  }
  
  /* Modül başlıkları için dengeli boşluk */
  main {
    padding-top: 24px !important;
  }
  
  .calculator-tab-content {
    padding-top: 16px;
  }
  
  /* Modül kart başlıkları için ek boşluk */
  .card-header-orange,
  .ders-notu-module-header,
  .rulo-module-header,
  .dijital-module-header,
  .katalog-module-header {
    margin-top: 0 !important;
  }
  
  /* ====================================================
     SPRINT 2: HAMBURGER MODAL
  ==================================================== */
  
  /* Modal Overlay */
  #mobile-nav-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  #mobile-nav-modal.active {
    display: block;
  }
  
  /* Modal Content */
  #mobile-nav-modal-content {
    background: #663399;
    /* Background image will be set via inline style in JS */
    background-repeat: repeat;
    background-position: center;
    background-size: auto;
    min-height: 100vh;
    padding: 20px 0 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  /* Modal Header */
  #mobile-nav-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  #mobile-nav-modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
  }
  
  #mobile-nav-modal-close:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.95);
  }
  
  #mobile-nav-modal-close svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    stroke-width: 2;
  }
  
  /* Language Section */
  #mobile-nav-languages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
  }
  
  #mobile-nav-languages-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .mobile-nav-lang-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
  }
  
  .mobile-nav-lang-btn {
    width: 60px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    padding: 2px;
    box-sizing: border-box;
  }
  
  .mobile-nav-lang-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.05);
    border-width: 3px;
    padding: 1px;
  }
  
  .mobile-nav-lang-btn:active {
    transform: scale(0.95);
  }
  
  .mobile-nav-lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
  }
  
  /* Currency Toggle Section */
  #mobile-nav-currency {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
  }
  
  #mobile-nav-currency-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .mobile-nav-currency-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .mobile-nav-currency-label {
    color: white;
    font-size: 12px;
    font-weight: 700;
  }
  
  .mobile-nav-currency-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .mobile-nav-currency-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .mobile-nav-currency-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .mobile-nav-currency-toggle input:checked + .mobile-nav-currency-slider {
    transform: translateX(24px);
  }
  
  /* Tab Buttons Section */
  #mobile-nav-tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
  }
  
  #mobile-nav-tabs-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .mobile-nav-tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    justify-items: stretch;
  }
  
  .mobile-nav-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    min-height: 100px;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* İlk buton sol üst köşe yuvarlatılmış */
  .mobile-nav-tab-btn:first-child {
    border-top-left-radius: 12px;
  }
  
  /* İkinci buton sağ üst köşe yuvarlatılmış */
  .mobile-nav-tab-btn:nth-child(2) {
    border-top-right-radius: 12px;
  }
  
  /* Üçüncü buton sol alt köşe yuvarlatılmış */
  .mobile-nav-tab-btn:nth-child(3) {
    border-bottom-left-radius: 12px;
  }
  
  /* Dördüncü buton sağ alt köşe yuvarlatılmış */
  .mobile-nav-tab-btn:nth-child(4) {
    border-bottom-right-radius: 12px;
  }
  
  /* Son buton (tek ise) tüm köşeler yuvarlatılmış */
  .mobile-nav-tab-btn:last-child:nth-child(odd) {
    border-radius: 12px;
  }
  
  .mobile-nav-tab-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.02);
  }
  
  .mobile-nav-tab-btn:active {
    transform: scale(0.98);
  }
  
  .mobile-nav-tab-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }
  
  .mobile-nav-tab-text {
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
  }
  
  /* Footer Content Section */
  #mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  #mobile-nav-footer-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .mobile-nav-footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
  }
  
  .mobile-nav-footer-link:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.98);
  }
  
  .mobile-nav-footer-link svg {
    width: 20px;
    height: 20px;
    fill: white;
    flex-shrink: 0;
  }
  
  .mobile-nav-footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-align: center;
    padding-top: 16px;
  }
  
  /* Harita Bölümü */
  #mobile-nav-maps {
    margin-top: 16px;
    padding: 16px 20px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  #mobile-nav-maps-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  #mobile-nav-maps-title svg {
    width: 16px;
    height: 16px;
    fill: white;
  }
  
  #mobile-nav-maps-preview {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-height: 150px;
    max-height: 180px;
    position: relative;
  }
  
  #mobile-nav-maps-preview {
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  #mobile-nav-maps-preview:active {
    transform: scale(0.98);
  }
  
  #mobile-nav-maps-preview iframe {
    width: 100%;
    height: 100%;
    min-height: 150px;
    border: 0;
    pointer-events: none;
  }
  
  /* Sosyal Medya İkonları */
  #mobile-nav-social {
    margin-top: 16px;
    padding: 16px 20px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  #mobile-nav-social-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
  }
  
  .mobile-nav-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .mobile-nav-social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
  }
  
  .mobile-nav-social-icon:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.95);
  }
  
  .mobile-nav-social-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
  }
  
  /* Quick Share Button in Hamburger Menu */
  #mobile-nav-quick-share {
    padding: 0 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
  }
  
  .mobile-nav-share-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
  }
  
  .mobile-nav-share-button:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.98);
  }
  
  .mobile-nav-share-button svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
  }
  
  /* ====================================================
     QUICK SHARE MODAL
  ==================================================== */
  
  #mobile-quick-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  #mobile-quick-share-modal.active {
    opacity: 1;
    visibility: visible;
  }
  
  #mobile-quick-share-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  
  #mobile-quick-share-modal.active #mobile-quick-share-modal-content {
    transform: scale(1) translateY(0);
  }
  
  #mobile-quick-share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  
  #mobile-quick-share-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
  }
  
  #mobile-quick-share-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  
  #mobile-quick-share-modal-close:active {
    background: #e5e7eb;
    transform: scale(0.95);
  }
  
  #mobile-quick-share-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #374151;
    stroke-width: 2.5;
  }
  
  #mobile-quick-share-modal-body {
    padding: 20px;
    box-sizing: border-box;
  }
  
  .mobile-share-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  .mobile-share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 6px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    box-sizing: border-box;
    min-height: 90px;
    margin: 0;
  }
  
  .mobile-share-option:active {
    transform: scale(0.96);
    background: #f3f4f6;
    border-color: #d1d5db;
  }
  
  .mobile-share-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
  }
  
  .mobile-share-icon svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  
  /* WhatsApp - Green */
  .mobile-share-icon.whatsapp {
    background: #25d366;
    color: white;
  }
  
  /* Viber - Purple */
  .mobile-share-icon.viber {
    background: #665cac;
    color: white;
  }
  
  /* Email - Gray */
  .mobile-share-icon.email {
    background: #6b7280;
    color: white;
  }
  
  /* Copy - Orange */
  .mobile-share-icon.copy {
    background: #ff8300;
    color: white;
  }
  
  /* SMS - Purple */
  .mobile-share-icon.sms {
    background: #8b5cf6;
    color: white;
  }
  
  /* QR Code - Indigo */
  .mobile-share-icon.qr {
    background: #4f46e5;
    color: white;
  }
  
  /* Facebook - Blue */
  .mobile-share-icon.facebook {
    background: #1877f2;
    color: white;
  }
  
  /* Twitter - Black */
  .mobile-share-icon.twitter {
    background: #000000;
    color: white;
  }
  
  /* Instagram - Gradient (using linear gradient) */
  .mobile-share-icon.instagram {
    background: #e1306c;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
  }
  
  .mobile-share-label {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    margin: 0 auto;
    padding: 0 4px;
    line-height: 1.3;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    word-break: break-word;
  }
  
  /* QR Code Container */
  #mobile-share-qr-container {
    margin-top: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 16px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
  }
  
  #mobile-share-qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  #mobile-share-qr-code img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .mobile-share-qr-close {
    margin-top: 16px;
    padding: 10px 20px;
    background: #ff8300;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  
  .mobile-share-qr-close:active {
    background: #e67500;
    transform: scale(0.98);
  }
  
  /* Body scroll lock for share modal */
  body.mobile-share-modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
  }
  
  /* Müşteri Bilgileri ve Dosya Yükleme Modal - Fullscreen (Hamburger gibi) */
  #mobile-customer-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  #mobile-customer-modal.active {
    display: block;
  }
  
  #mobile-customer-modal-content {
    background: #f9fafb;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding-bottom: 100px;
  }
  
  /* Modal Header - Koyu Turuncu Zemin, Simetrik Dizilim - Kompakt */
  #mobile-customer-modal-header {
    position: sticky;
    top: 0;
    background: #ff8300;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-height: 56px;
  }
  
  #mobile-customer-modal-header h2 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    text-align: center;
  }
  
  #mobile-customer-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    position: relative;
  }
  
  #mobile-customer-modal-close:active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
  }
  
  #mobile-customer-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2.5;
    fill: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  #mobile-customer-modal-body {
    padding: 0;
    max-width: 100%;
    margin: 0;
  }
  
  /* Modal içerik container - UI8 tarzı kenar boşlukları */
  #mobile-customer-modal-content {
    padding: 0;
    max-width: 100%;
  }
  
  /* Müşteri Bilgileri Başlığı - Koyu Turuncu Zemin - UI8 Kompakt Grid */
  #mobile-customer-modal #customer-info-title {
    background: #ff8300;
    color: white;
    padding: 12px 16px;
    margin: 0 auto;
    border-radius: 12px 12px 0 0;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 32px);
    width: 100%;
    margin-top: 16px;
    margin-bottom: 0;
  }
  
  #mobile-customer-modal #customer-info-title svg {
    width: 18px;
    height: 18px;
    fill: white;
    flex-shrink: 0;
  }
  
  /* Müşteri Bilgileri Kartı - UI8 Kompakt Grid, Kenar Boşlukları */
  #mobile-customer-modal .bg-white.mobile-customer-card {
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    margin: 0 auto;
    padding: 0;
    max-width: calc(100% - 32px);
    width: 100%;
    margin-bottom: 12px;
  }
  
  /* Müşteri Bilgileri Input Alanları - UI8 Kompakt Grid */
  #mobile-customer-modal .bg-white.mobile-customer-card .grid,
  #mobile-customer-modal .mobile-single-column {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 16px;
    margin-top: 0;
    max-width: 100%;
  }
  
  /* Input alanları - Kompakt, Dengeli */
  #mobile-customer-modal .bg-white.mobile-customer-card input,
  #mobile-customer-modal .bg-white.mobile-customer-card select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
    border: 1.5px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    transition: all 0.2s;
  }
  
  #mobile-customer-modal .bg-white.mobile-customer-card input:focus,
  #mobile-customer-modal .bg-white.mobile-customer-card select:focus {
    border-color: #ff8300;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 131, 0, 0.15);
    background: #ffffff;
  }
  
  #mobile-customer-modal .bg-white.mobile-customer-card input::placeholder {
    color: #9ca3af;
  }
  
  #mobile-customer-modal .bg-white.mobile-customer-card label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
  }
  
  /* Error mesajları */
  #mobile-customer-modal .bg-white.mobile-customer-card .text-red-500 {
    font-size: 12px;
    margin-top: 4px;
  }
  
  /* Dosya Yükleme Başlığı - UI8 Kompakt Grid, Kenar Boşlukları */
  #mobile-customer-modal #upload-title {
    background: #ff8300;
    color: white;
    padding: 12px 16px;
    margin: 0 auto;
    border-radius: 12px 12px 0 0;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    max-width: calc(100% - 32px);
    width: 100%;
  }
  
  #mobile-customer-modal #upload-title svg {
    width: 18px;
    height: 18px;
    fill: white;
    flex-shrink: 0;
  }
  
  /* Dosya Yükleme Kartı - UI8 Kompakt Grid */
  #mobile-customer-modal .bg-white.mobile-upload-card {
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    margin: 0 auto;
    padding: 0;
    margin-bottom: 12px;
    max-width: calc(100% - 32px);
    width: 100%;
  }
  
  /* Dosya Yükleme İçeriği - UI8 Kompakt Padding, Dengeli Kenar Boşlukları */
  #mobile-customer-modal .bg-white.mobile-upload-card > div:not(#upload-title) {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Dosya Yükleme Alanı - UI8 Kompakt, Küçültülmüş, Kenar Boşlukları */
  #mobile-customer-modal #upload-area {
    border: 2px dashed #ff8300 !important;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    background: rgba(255, 131, 0, 0.04);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  #mobile-customer-modal #upload-area:hover {
    border-color: #ff8300;
    background: rgba(255, 131, 0, 0.08);
  }
  
  /* Yükleme Alanı İkonu - UI8 Kompakt, Küçültülmüş */
  #mobile-customer-modal #upload-area svg {
    width: 36px !important;
    height: 36px !important;
    color: #ff8300 !important;
    fill: none !important;
    stroke: #ff8300 !important;
    stroke-width: 2;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Yükleme Alanı Yazıları - Turuncu, Görünür, UI8 Kompakt, Küçültülmüş */
  #mobile-customer-modal #upload-description {
    color: #ff8300 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center;
    line-height: 1.4;
  }
  
  #mobile-customer-modal #upload-hint {
    color: #ff8300 !important;
    font-size: 12px !important;
    opacity: 0.9 !important;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
    text-align: center;
    line-height: 1.4;
  }
  
  /* Yükleme alanındaki tüm yazılar görünür - Turuncu renk, Tailwind class'larını override et */
  #mobile-customer-modal #upload-area p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ff8300 !important;
  }
  
  /* Upload description ve hint özel stilleri - Zemin beyaz olduğu için turuncu renk */
  /* Tailwind text-gray-700 ve text-gray-500 class'larını override et */
  #mobile-customer-modal #upload-area #upload-description,
  #mobile-customer-modal #upload-area #upload-hint {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    color: #ff8300 !important;
  }
  
  #mobile-customer-modal #upload-area #upload-description {
    color: #ff8300 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    opacity: 1 !important;
  }
  
  /* text-gray-700 class'ını override et */
  #mobile-customer-modal #upload-area #upload-description.text-gray-700 {
    color: #ff8300 !important;
  }
  
  #mobile-customer-modal #upload-area #upload-hint {
    color: #ff8300 !important;
    font-size: 12px !important;
    opacity: 0.9 !important;
    font-weight: 500 !important;
  }
  
  /* text-gray-500 class'ını override et */
  #mobile-customer-modal #upload-area #upload-hint.text-gray-500 {
    color: #ff8300 !important;
  }
  
  /* text-sm class'ı ile birlikte kullanılan text-gray-500 */
  #mobile-customer-modal #upload-area p.text-sm.text-gray-500 {
    color: #ff8300 !important;
  }
  
  /* font-semibold class'ı ile birlikte kullanılan text-gray-700 */
  #mobile-customer-modal #upload-area p.font-semibold.text-gray-700 {
    color: #ff8300 !important;
  }
  
  /* Upload butonu metni görünür - Gradient zemin üzerinde beyaz metin */
  #mobile-customer-modal #btn-upload-text {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
  }
  
  /* Upload butonu wrapper - Gradient zemin olduğu için beyaz metin */
  #mobile-customer-modal #btn-upload-visual {
    color: white !important;
  }
  
  #mobile-customer-modal #btn-upload-visual * {
    color: white !important;
  }
  
  /* Tüm Tailwind text color class'larını override et - Upload area içinde */
  #mobile-customer-modal #upload-area [class*="text-gray"],
  #mobile-customer-modal #upload-area [class*="text-slate"],
  #mobile-customer-modal #upload-area [class*="text-zinc"] {
    color: #ff8300 !important;
  }
  
  /* Upload area içindeki tüm paragraflar için turuncu renk */
  #mobile-customer-modal #upload-area p[class*="text-"] {
    color: #ff8300 !important;
  }
  
  /* Yükleme Butonu - UI8 Kompakt, Küçültülmüş */
  #mobile-customer-modal #btn-upload-wrapper {
    margin-top: 6px;
    display: block !important;
    visibility: visible !important;
    width: 100%;
    box-sizing: border-box;
  }
  
  #mobile-customer-modal #btn-upload-visual {
    background: linear-gradient(135deg, #ff8300 0%, #e56f00 100%);
    color: white;
    border-radius: 50px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(255, 131, 0, 0.3);
    transition: all 0.3s;
  }
  
  #mobile-customer-modal #btn-upload-visual:active {
    transform: scale(0.95);
    box-shadow: 0 1px 3px rgba(255, 131, 0, 0.2);
  }
  
  #mobile-customer-modal #btn-upload-text {
    color: white;
    font-weight: 700;
  }
  
  /* Yüklenen Dosyalar Listesi - UI8 Kompakt */
  #mobile-customer-modal #uploaded-files {
    margin-top: 12px;
    padding: 0;
    display: block !important;
    visibility: visible !important;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Yüklenen dosya item'ları - UI8 Kompakt - Yan yana (sil butonu yanında) */
  #mobile-customer-modal #uploaded-files > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 13px;
  }
  
  /* Butonlar - UI8 2'li Grid Sistemi, Sağ-Sol Boşluklar, Yan Yana */
  #mobile-customer-modal .grid.mobile-action-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 16px !important;
    background: white;
    margin: 0 auto;
    margin-top: 0;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: calc(100% - 32px);
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Butonlar yan yana, eşit genişlik, grid içinde */
  #mobile-customer-modal #btn-submit-order,
  #mobile-customer-modal #btn-pdf-action {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 10px !important;
    min-height: 48px;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    flex: 1 1 auto !important;
  }
  
  /* Grid container içindeki tüm elementler yan yana */
  #mobile-customer-modal .grid.mobile-action-buttons > * {
    display: block !important;
  }
  
  /* HTML'deki inline style override - border-radius */
  #btn-submit-order,
  #btn-pdf-action {
    border-radius: 10px !important;
  }
  
  #mobile-customer-modal #btn-submit-order svg,
  #mobile-customer-modal #btn-pdf-action svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  
  /* File Input - HTML'deki inline style'ları CSS'e taşı */
  #fileInput {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 100 !important;
    display: block !important;
  }
  
  /* Upload title - HTML'deki inline style */
  #upload-title {
    font-weight: 900 !important;
  }
  
  /* Modal içindeki tüm elementler görünür olmalı */
  #mobile-customer-modal .bg-white {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #mobile-customer-modal .grid {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #mobile-customer-modal #customer-info-title,
  #mobile-customer-modal #upload-title,
  #mobile-customer-modal #btn-submit-order,
  #mobile-customer-modal #btn-pdf-action {
    display: block !important;
    visibility: visible !important;
  }
  
  #mobile-customer-modal input,
  #mobile-customer-modal select,
  #mobile-customer-modal textarea,
  #mobile-customer-modal button {
    display: block !important;
    visibility: visible !important;
  }
  
  #mobile-customer-modal #upload-area {
    display: flex !important;
    visibility: visible !important;
  }
  
  /* Müşteri bilgileri ve dosya yükleme bölümlerini mobilde gizle - JS ile yapılıyor */
  .mobile-customer-section-hidden {
    display: none !important;
  }
  
  .mobile-action-buttons-hidden {
    display: none !important;
  }
  
  /* Müşteri bilgileri alanından butonlara kadar tüm alanları gizle */
  .calculator-tab-content .bg-white:has(#customer-info-title),
  .calculator-tab-content .bg-white:has(#upload-title),
  .calculator-tab-content .grid:has(#btn-submit-order),
  .calculator-tab-content .grid:has(#btn-pdf-action) {
    display: none !important;
  }
  
  /* Modal içindeki elementler görünür olmalı - TÜM GİZLEME KURALLARINI EZ */
  #mobile-customer-modal .mobile-customer-section-hidden,
  #mobile-customer-modal .mobile-action-buttons-hidden {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #mobile-customer-modal .bg-white {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #mobile-customer-modal .grid {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Modal içindeki tüm input, select, textarea görünür */
  #mobile-customer-modal input:not([type="file"]),
  #mobile-customer-modal select,
  #mobile-customer-modal textarea {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* File input özel durumu */
  #mobile-customer-modal input[type="file"] {
    display: block !important;
    visibility: visible !important;
    opacity: 0 !important; /* File input görünmez olmalı ama tıklanabilir */
    position: absolute !important;
  }
  
  /* Modal içindeki tüm başlıklar ve içerik görünür */
  #mobile-customer-modal #customer-info-title,
  #mobile-customer-modal #upload-title,
  #mobile-customer-modal #upload-area,
  #mobile-customer-modal #uploaded-files,
  #mobile-customer-modal #btn-upload-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #mobile-customer-modal #upload-area {
    display: flex !important;
  }
  
  /* Fallback for browsers without :has() support */
  @supports not selector(:has(*)) {
    /* JS will handle hiding these elements */
  }
  
  /* ====================================================
     SPRINT 3: HIDE FOOTER ON MOBILE
  ==================================================== */
  
  footer {
    display: none !important;
  }
  
  /* ====================================================
     SPRINT 3: STICKY ACTION BUTTON - Küçük ve Kibar, Ekrana Ortalı
  ==================================================== */
  
  #mobile-sticky-action-btn {
    position: relative;
    padding: 12px 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    z-index: 1;
  }
  
  /* Butonlar container'ı - En altta, 3 buton aynı hizada */
  .mobile-bottom-buttons-wrapper {
    position: relative;
    width: 100%;
    min-height: calc(56px + 20px + env(safe-area-inset-bottom));
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }
  
  /* Buton container içeriği ortalanmış olmalı */
  #mobile-sticky-action-btn > * {
    margin-left: auto;
    margin-right: auto;
  }
  
  #mobile-sticky-action-btn button {
    width: auto;
    min-width: 140px;
    max-width: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
      0 4px 12px rgba(102, 126, 234, 0.3),
      0 2px 6px rgba(102, 126, 234, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
    -webkit-tap-highlight-color: transparent;
    min-height: 56px;
    height: 56px;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  #mobile-sticky-action-btn button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
  }
  
  #mobile-sticky-action-btn button:hover::before {
    left: 100%;
  }
  
  #mobile-sticky-action-btn button:active {
    transform: scale(0.96) translateY(1px);
    box-shadow: 
      0 2px 8px rgba(102, 126, 234, 0.25),
      0 1px 4px rgba(102, 126, 234, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  
  #mobile-sticky-action-btn button:focus {
    outline: none;
    box-shadow: 
      0 4px 12px rgba(102, 126, 234, 0.3),
      0 2px 6px rgba(102, 126, 234, 0.2),
      0 0 0 3px rgba(102, 126, 234, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  
  /* PWA Butonları - Paylaş ve Ana Site Butonları - Normal Flow, En Altta, Padding Yok */
  .awp-pwa-share-btn,
  .awp-pwa-install-btn-floating {
    z-index: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    position: absolute !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  /* Butonlar wrapper içinde görünür olmalı */
  .mobile-bottom-buttons-wrapper .awp-pwa-share-btn,
  .mobile-bottom-buttons-wrapper .awp-pwa-install-btn-floating {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
  }
  
  /* Paylaş butonu - Sağ altta, Devam butonu ile aynı hiza, Padding yok */
  .awp-pwa-share-btn-bottom-right {
    right: 16px !important;
    bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    position: absolute !important;
  }
  
  .awp-pwa-share-btn-top-right {
    right: 16px !important;
    top: 80px !important;
    position: absolute !important;
  }
  
  /* Tüm paylaş butonu pozisyonları için override - Padding yok */
  .awp-pwa-share-btn[class*="bottom-right"],
  .awp-pwa-share-btn[class*="top-right"] {
    right: 16px !important;
    position: absolute !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  /* Paylaş butonu genel override - Mobilde padding yok */
  @media (max-width: 768px) {
    .awp-pwa-share-btn[class*="right"] {
      right: 16px !important;
      position: absolute !important;
      padding: 0 !important;
      margin: 0 !important;
    }
  }
  
  /* Ana site butonu (install-btn-floating) - Sol altta, Devam butonu ile aynı hiza, Padding yok */
  /* Standalone modda da görünür olmalı */
  .awp-pwa-install-btn-floating {
    z-index: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    position: absolute !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  /* Standalone modda buton gizlenmemeli */
  @media (display-mode: standalone) {
    .awp-pwa-install-btn-floating {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
  }
  
  /* iOS standalone modu için */
  @supports (-webkit-touch-callout: none) {
    .awp-pwa-install-btn-floating {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
  }
  
  /* Ana site butonu - Sol altta konumlandır, Padding yok */
  .awp-pwa-install-btn-floating-bottom-left {
    bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    left: 16px !important;
    position: absolute !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .awp-pwa-install-btn-floating-bottom-right {
    bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    left: 16px !important;
    right: auto !important;
    position: absolute !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  /* Tüm ana site butonu pozisyonları - Sol altta, Padding yok */
  .awp-pwa-install-btn-floating[class*="bottom"] {
    bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    left: 16px !important;
    right: auto !important;
    position: absolute !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  /* Devam butonu - Ortada, Eşit yükseklik, En alta, Normal Flow */
  #mobile-sticky-action-btn {
    z-index: 1 !important;
    position: relative !important;
    padding: 12px 16px !important;
    padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-sizing: border-box;
    text-align: center;
  }
  
  /* Butonlar container'ı - En altta, 3 buton aynı hizada */
  .mobile-bottom-buttons-container {
    position: relative;
    width: 100%;
    min-height: calc(56px + 20px + env(safe-area-inset-bottom));
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Modal açıldığında butonların üstünde göster */
  #mobile-customer-modal {
    z-index: 999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }
  
  /* Butonlar modal'ın altında kalmalı */
  .mobile-bottom-buttons-wrapper {
    z-index: 1 !important;
    position: relative !important;
  }
  
  /* Devam butonu yüksekliği - Diğer butonlarla aynı (56px) */
  #mobile-sticky-action-btn button {
    min-height: 56px !important;
    height: 56px !important;
    padding: 0 24px !important;
  }
  
  
  /* ====================================================
     SPRINT 3: MODULE VISIBILITY
  ==================================================== */
  
  /* Ensure only active module is visible */
  .calculator-tab-content {
    display: none !important;
  }
  
  .calculator-tab-content.active {
    display: block !important;
  }
  
  /* ====================================================
     SPRINT 6: BODY SCROLL LOCK (when modal open)
  ==================================================== */
  
  body.mobile-nav-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
  
  /* Safe area support for iOS */
  #mobile-header {
    padding-top: env(safe-area-inset-top);
    height: calc(60px + env(safe-area-inset-top));
  }
  
  #mobile-sticky-action-btn {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  
  /* 100vh fix for mobile browsers */
  #mobile-nav-modal-content {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
  
  /* ====================================================
     COMPANIES & STUDENTS INFO MODALS
     Premium Design - The Heart of Our Plugin
  ==================================================== */
  
  /* Target Audience Buttons in Hamburger Menu */
  #mobile-nav-target-audience {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .mobile-nav-audience-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    color: white;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
  }
  
  /* İlk buton üst köşeler yuvarlatılmış */
  .mobile-nav-audience-btn:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  
  /* Son buton alt köşeler yuvarlatılmış */
  .mobile-nav-audience-btn:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }
  
  /* Tek buton ise tüm köşeler yuvarlatılmış */
  .mobile-nav-audience-btn:only-child {
    border-radius: 12px;
  }
  
  .mobile-nav-audience-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
  }
  
  .mobile-nav-audience-btn:active::before {
    left: 100%;
  }
  
  .mobile-nav-audience-btn svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
  }
  
  .mobile-nav-audience-btn:active {
    transform: scale(0.98);
  }
  
  /* Şirketler Butonu - Mavi Cam Efekti */
  .mobile-nav-companies-btn {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  }
  
  .mobile-nav-companies-btn:active {
    background: rgba(37, 99, 235, 0.35);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  }
  
  /* Öğrenciler Butonu - Yeşil Cam Efekti */
  .mobile-nav-students-btn {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  }
  
  .mobile-nav-students-btn:active {
    background: rgba(16, 185, 129, 0.35);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  }
  
  /* Info Modals - Premium Glass Design */
  .mobile-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    z-index: 3000;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .mobile-info-modal.active {
    display: block;
    opacity: 1;
  }
  
  .mobile-info-modal-content {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100%;
    padding: 0;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  @keyframes slideUp {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Modal Header - Premium Design */
  .mobile-info-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 20px;
    padding-top: calc(24px + env(safe-area-inset-top));
    position: relative;
    overflow: hidden;
  }
  
  .mobile-info-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 0.5;
    }
    50% {
      transform: scale(1.1);
      opacity: 0.8;
    }
  }
  
  .mobile-info-modal-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  
  .mobile-info-modal-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
  }
  
  .companies-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
  }
  
  .students-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(34, 197, 94, 0.2) 100%);
  }
  
  .mobile-info-modal-title-section {
    position: relative;
    z-index: 1;
  }
  
  .mobile-info-modal-title {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
  }
  
  .mobile-info-modal-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
  }
  
  .mobile-info-modal-close {
    position: absolute;
    top: 24px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
  }
  
  .mobile-info-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2.5;
  }
  
  .mobile-info-modal-close:active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
  }
  
  /* Modal Body */
  .mobile-info-modal-body {
    padding: 24px 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  
  /* Feature Cards - Premium Design */
  .mobile-info-feature-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  
  .mobile-info-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .mobile-info-feature-card:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  
  .mobile-info-feature-card:active::before {
    opacity: 1;
  }
  
  .mobile-info-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  }
  
  .mobile-info-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
  }
  
  .mobile-info-feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
  }
  
  .mobile-info-feature-content p {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.6;
  }
  
  .mobile-info-feature-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .mobile-info-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .feature-item-icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
  }
  
  .mobile-info-feature-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
  }
  
  .mobile-info-feature-item p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
  }
  
  /* Body scroll lock for info modals */
  body.mobile-info-modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
  }
  
  /* Email HTML Modal */
  .mobile-email-html-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .mobile-email-html-modal.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-email-html-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    margin: 20px auto;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  
  .mobile-email-html-modal.active .mobile-email-html-modal-content {
    transform: scale(1) translateY(0);
  }
  
  .mobile-email-html-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  
  .mobile-email-html-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
  }
  
  .mobile-email-html-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  
  .mobile-email-html-modal-close:active {
    background: #e5e7eb;
    transform: scale(0.95);
  }
  
  .mobile-email-html-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #374151;
    stroke-width: 2.5;
  }
  
  .mobile-email-html-modal-body {
    padding: 20px;
    box-sizing: border-box;
  }
  
  .mobile-email-html-preview {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .mobile-email-html-preview img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .mobile-email-html-code-container {
    margin-bottom: 20px;
  }
  
  .mobile-email-html-code-container textarea {
    width: 100%;
    min-height: 200px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    resize: vertical;
    background: #f9fafb;
    color: #111827;
    line-height: 1.5;
  }
  
  .mobile-email-html-copy-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  }
  
  .mobile-email-html-copy-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  }
  
  /* Body scroll lock for email HTML modal */
  body.mobile-email-html-modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
  }
}

