/* Modern ve Romantik Yazı Tipi */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

* { 
    box-sizing: border-box; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent; /* Mobil cihazlarda tıklama anındaki çirkin mavi gölgeyi kaldırır */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body { 
    padding: 20px 15px; 
    /* Romantik gün batımı ve aşk esintili pastel geçiş */
    background: linear-gradient(135deg, #ffeef2 0%, #fff5f6 35%, #eef4ff 100%); 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4c3a43; /* Yumuşak mürdüm/kahve tonu (Siyah yerine çok daha sıcak ve romantik durur) */
    overflow-x: hidden; /* Mobilde yatayda ekran kaymasını kesinlikle engeller */
}

.center-body { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    min-height: 85vh; 
    width: 100%;
}

/* --- YUMUŞAK ROMANTİK CAM (GLASSMORPHISM) KUTULARI --- */
.login-box, .time-box, .slider, .upload-preview, .grid-item, select.date-select {
    border: 1px solid rgba(255, 192, 203, 0.4) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(20px); /* iOS Safari Desteği */
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(255, 182, 193, 0.15), 0 3px 10px rgba(0, 0, 0, 0.01);
}

/* --- AŞK TEMALI PREMIUM BUTONLAR (Warm Pink & Rose Gradient) --- */
.btn { 
    text-decoration: none; 
    padding: 16px 32px; 
    font-size: 15px; 
    font-weight: 700; 
    text-transform: lowercase; 
    cursor: pointer; 
    border-radius: 50px !important;
    border: none !important;
    /* İlayda & Yakup'un sıcak enerjisini yansıtan lüks pembe-gül tonu */
    background: linear-gradient(135deg, #ff6584 0%, #ff849d 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(255, 101, 132, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 101, 132, 0.35);
    background: linear-gradient(135deg, #ff4e72 0%, #ff718d 100%);
}
.btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(255, 101, 132, 0.2);
}

/* --- MOBİL UYUMLU IŞILTILI AÇIR MENÜ (DROPDOWN) --- */
select.date-select {
    width: 100%; 
    max-width: 1000px;
    font-size: 16px; /* iOS'ta otomatik zoom yapmasını engellemek için tam 16px */
    padding: 16px 24px;
    font-weight: 700;
    color: #644f5a;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    /* Zarif bir aşağı ok ikonu */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff6584' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 24px center;
    padding-right: 60px !important;
    cursor: pointer;
}
select.date-select:hover, select.date-select:focus {
    background-color: #ffffff;
    border-color: rgba(255, 101, 132, 0.4) !important;
    box-shadow: 0 12px 30px rgba(255, 101, 132, 0.1);
}

/* --- ÜST BAŞLIK VE PARLAYAN PROFİL HALKALARI --- */
.header { 
    width: 100%; 
    max-width: 550px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px;
    padding: 0 5px;
}
.profile-icon { 
    font-size: 30px; 
    border-radius: 50% !important; 
    width: 66px; 
    height: 66px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    animation: romanticGlow 4s infinite ease-in-out;
}
/* Kalplerin arkasındaki tatlı, parıldayan aşk aurası */
@keyframes romanticGlow {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 107, 129, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(58, 134, 255, 0.25); }
    100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 107, 129, 0.2); }
}
.logout a, .back-btn { 
    text-decoration: none; 
    color: #7a6571; 
    font-weight: 700; 
    font-size: 13px;
    border: 1px solid rgba(255, 192, 203, 0.3);
    padding: 12px 22px; 
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    text-transform: lowercase;
}
.back-btn:hover, .logout a:hover { 
    background: #ffffff; 
    color: #ff6584;
    transform: translateY(-1px);
}

/* --- ROMANTİK GİRİŞ KUTUSU --- */
.login-box {
    padding: 45px 30px;
    width: 100%;
    max-width: 360px;
    text-align: center;
}
.login-box h2 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 800;
    color: #4c3a43;
    letter-spacing: -0.5px;
}
.login-box input {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 18px;
    font-size: 16px; /* iOS Auto-zoom engellemek için kritik sınır */
    font-weight: 600;
    border: 1px solid rgba(255, 192, 203, 0.5);
    border-radius: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.6);
    color: #4c3a43;
}
.login-box input:focus {
    background: #ffffff;
    border-color: #ff6584;
    box-shadow: 0 0 0 4px rgba(255, 101, 132, 0.12);
}
.login-btn { width: 100%; margin-top: 5px; }

/* --- SEVGİLİ KRONOMETRESİ (Zarif Tasarım) --- */
.timer-container { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    margin-bottom: 35px; 
    width: 100%;
    max-width: 550px;
}
.time-box { 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    flex: 1; /* Ekran genişliğine göre kutuları esnek büyütür/küçültür (Tam Mobil Uyum) */
    min-width: 55px;
    height: 80px; 
    font-size: 24px; 
    font-weight: 800;
    background: rgba(255, 255, 255, 0.85);
    color: #ff6584; /* Sayılar artık aşk pembesi */
}
.time-box span:last-child { 
    font-size: 10px; 
    margin-top: 5px; 
    font-weight: 700;
    letter-spacing: 1px;
    color: #8a7380;
}

/* --- MOBİLİSİ KUSURSUZ GALERİ SLIDER ALANI --- */
.gallery-container { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 100%;
    max-width: 550px;
}
.slider { 
    width: 100%; 
    height: 380px; /* Telefonlarda en ideal dikey-yatay resim oranı */
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    position: relative; 
    padding: 0 10px;
}
.nav-btn { 
    background: #ffffff; 
    border: none;
    border-radius: 50%;
    font-size: 16px; 
    cursor: pointer; 
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(255, 101, 132, 0.1);
    color: #ff6584;
    z-index: 5;
}
.nav-btn:hover { transform: scale(1.08); background: #fff5f6; }
.image-wrapper { 
    flex-grow: 1; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 10px;
}
.image-wrapper img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; /* Fotoğrafların mobilde asla basık veya sünmüş görünmesini engeller */
    border-radius: 16px;
}
.image-wrapper h3 { font-size: 15px; color: #a68f9d; font-weight: 500; text-align: center; }
.date-select { margin-top: 25px; }

/* ALT AKSIYON BUTONLARI */
.action-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 35px; 
    width: 100%;
    max-width: 550px;
}
.action-buttons .btn { flex: 1; padding: 15px 10px; font-size: 14px; }

/* --- FOTOĞRAF YÜKLEME ALANI --- */
.upload-form { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; max-width: 450px;}
.upload-preview { 
    width: 100%; 
    height: 320px; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    position: relative; 
}
.upload-preview span { font-size: 15px; font-weight: 600; color: #b59eb0; text-transform: lowercase; }
.upload-preview img { width: 100%; height: 100%; object-fit: contain; border-radius: 22px; }

/* Estetik Kapatma Çarpısı */
.cancel-btn { 
    position: absolute; 
    bottom: 15px; 
    right: 15px; 
    font-size: 16px; 
    background: #ffffff; 
    border: none;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
    color: #ef4444;
}
.upload-date { margin-top: 0 !important; }
.upload-btn { width: 100%; }

/* --- DÜZENLEME EKRANI MOBİL SİSTEMİ (GRID) --- */
.edit-top { display: flex; flex-direction: column; align-items: center; gap: 15px; width: 100%; max-width: 550px;}
.grid-container { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* Bilgisayarda 4 yan yana */
    gap: 15px; 
    width: 100%;
    max-width: 900px;
    margin-top: 30px; 
}
/* Android ve iPhone'lar için özel kırılma: Yan yana tam 2 tatlı kutu sığdırır */
@media (max-width: 768px) { 
    .grid-container { grid-template-columns: repeat(2, 1fr); gap: 12px; } 
    .timer-container { gap: 6px; } /* Mobilde süre kutularını birbirine yaklaştırır */
    .time-box { height: 75px; font-size: 20px; }
}

.grid-item { 
    height: 180px; /* Telefon ekranlarında en ideal kareye yakın dikdörtgen formu */
    position: relative; 
    overflow: hidden;
}
.grid-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }

/* Zarif Seçim Kutusu */
.grid-checkbox { 
    position: absolute; 
    top: 12px; 
    right: 12px; 
    width: 24px; 
    height: 24px; 
    cursor: pointer; 
    accent-color: #ff6584; /* Seçildiğinde aşk pembesi olur */
    border-radius: 6px;
}

/* Fotoğraf Alındaki Parlayan Kalp Rozetleri */
.grid-uploader { 
    position: absolute; 
    bottom: 12px; 
    left: 12px; 
    font-size: 16px; 
    background: #ffffff;
    border: none;
    border-radius: 50% !important;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.delete-btn { 
    background: linear-gradient(135deg, #ff4d6d 0%, #ff758f 100%) !important; 
    color: #fff; 
    width: 100%; 
    box-shadow: 0 6px 20px rgba(255, 77, 109, 0.2) !important;
}
/* style.css dosyandaki ilgili sınıfları bunlarla değiştirin veya en alta ekleyin */

/* Slider Alanı Düzeltmesi */
.slider { 
    width: 100%; 
    height: 450px; /* Dikey yüksekliği artırarak resimlerin sıkışmasını engelledik */
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    position: relative; 
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.9);
}

/* Navigasyon Butonlarının Görseldeki Gibi Küçülüp Kaybolmasını Engelleme */
.nav-btn { 
    background: #ffffff; 
    border: none;
    border-radius: 50% !important;
    font-size: 20px; 
    font-weight: bold;
    cursor: pointer; 
    width: 46px;
    height: 46px;
    min-width: 46px; /* Küçülmeye zorlanmasın */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(255, 101, 132, 0.2);
    color: #ff6584;
    z-index: 5;
    user-select: none;
    -webkit-user-select: none;
}
.nav-btn:hover { transform: scale(1.1); background: #fff5f6; }
.nav-btn:active { transform: scale(0.95); }

/* Resim Sarmalayıcı */
.image-wrapper { 
    flex-grow: 1; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 15px;
    overflow: hidden;
}
.image-wrapper img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    border-radius: 16px;
}
.image-wrapper h3 { 
    font-size: 16px; 
    color: #a68f9d; 
    font-weight: 600; 
    text-align: center;
    line-height: 1.5;
}

/* Masaüstü/Windows Ekranlarında Aşırı Yayılmayı Engellemek İçin Container */
.gallery-container, .timer-container, .header, .action-buttons, .edit-top {
    width: 100%;
    max-width: 600px; /* Geniş ekranlarda tasarımı bir arada tutar */
    margin-left: auto;
    margin-right: auto;
}

/* Mobil Ekranlar İçin İnce Ayar (iOS & Android) */
@media (max-width: 768px) { 
    .slider { height: 380px; } /* Mobilde ekranı kaplamasın */
    .nav-btn { width: 40px; height: 40px; min-width: 40px; font-size: 16px; }
    .time-box { height: 70px; font-size: 18px; }
    .time-box span:last-child { font-size: 9px; }
}

/* Çoklu Önizleme Alanı İçin Ekstra CSS */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
    border: 1px dashed rgba(255, 101, 132, 0.4);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
}
.preview-item {
    position: relative;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}
.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}/* Modern ve Romantik Yazı Tipi */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

* { 
    box-sizing: border-box; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body { 
    padding: 20px 15px; 
    background: linear-gradient(135deg, #ffeef2 0%, #fff5f6 35%, #eef4ff 100%); 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4c3a43;
    overflow-x: hidden;
}

.center-body { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

/* Masaüstü ve Geniş Ekranlarda (Windows vb.) Dağılmayı Önleyen Sınıf */
.header, .timer-container, .gallery-container, .action-buttons, .edit-top, .upload-form, .container-box {
    width: 100%;
    max-width: 500px; /* Elemanların geniş ekranlarda çok fazla yayılmasını engeller */
    margin-left: auto;
    margin-right: auto;
}

/* Üst Başlık Alanı */
.header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px; 
}
.profile-icon { font-size: 28px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08)); }
.logout a { 
    text-decoration: none; 
    color: #a68f9d; 
    font-size: 13px; 
    font-weight: 600;
}
.logout a:hover { color: #ff6584; }

/* Kronometre Alanı */
.timer-container { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px; 
    margin-bottom: 25px; 
}
.time-box { 
    background: white; 
    height: 85px; 
    border-radius: 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 10px 25px rgba(255, 101, 132, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.time-box span:first-child { 
    font-size: 24px; 
    font-weight: 800; 
    color: #ff6584; 
}
.time-box span:last-child { 
    font-size: 10px; 
    font-weight: 700; 
    color: #a68f9d; 
    margin-top: 2px; 
}

/* Galeri Slider Alanı - Görseldeki Daralma Sorununun Çözümü */
.gallery-container { 
    background: white; 
    border-radius: 30px; 
    padding: 15px; 
    box-shadow: 0 15px 35px rgba(255, 101, 132, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.slider { 
    width: 100%; 
    height: 400px; /* Sabit dikey yükseklik vererek dikeyde daralmayı sıfırladık */
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    position: relative; 
    background: #fffcfd;
    border-radius: 20px;
    overflow: hidden;
}

/* Navigasyon Butonlarının Ezilmesini Engelleme */
.nav-btn { 
    background: #ffffff; 
    border: none; 
    font-size: 20px; 
    cursor: pointer; 
    width: 44px; 
    height: 44px; 
    min-width: 44px; /* Küçülmeye zorlanmasını engeller */
    min-height: 44px;
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 6px 15px rgba(255, 101, 132, 0.15); 
    color: #ff6584;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
}
.nav-btn:hover { transform: scale(1.1); background: #fff5f6; }
.nav-btn:active { transform: scale(0.95); }

.image-wrapper { 
    flex-grow: 1; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 10px;
    position: relative;
}
.image-wrapper img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    border-radius: 16px; 
}
.image-wrapper h3 { 
    font-size: 15px; 
    color: #a68f9d; 
    font-weight: 600; 
    text-align: center;
    padding: 0 10px;
}

/* Seçim Kutuları (Dropdownlar) */
.date-select { 
    width: 100%; 
    padding: 15px; 
    border-radius: 18px; 
    border: 2px solid #fff0f2; 
    background-color: #fff9fa; 
    color: #4c3a43; 
    font-size: 15px; 
    font-weight: 600; 
    outline: none; 
    margin-top: 15px;
    cursor: pointer;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
}
.date-select:focus { border-color: #ff8fa3; background-color: #ffffff; }

/* Alt Butonlar */
.action-buttons { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
}
.btn { 
    padding: 16px; 
    border: none; 
    border-radius: 20px; 
    font-size: 15px; 
    font-weight: 700; 
    cursor: pointer; 
    text-decoration: none; 
    text-align: center;
    box-shadow: 0 8px 20px rgba(255, 101, 132, 0.1);
}
.btn-primary { background: #ff6584; color: white; }
.btn-primary:hover { background: #ff4b72; transform: translateY(-2px); }
.btn-secondary { background: white; color: #ff6584; border: 2px solid #ffe1e6; }
.btn-secondary:hover { background: #fff5f6; transform: translateY(-2px); }

/* Giriş Kutusu */
.login-box { 
    background: white; 
    padding: 35px 25px; 
    border-radius: 30px; 
    box-shadow: 0 20px 40px rgba(255, 101, 132, 0.06); 
    width: 100%; 
    max-width: 360px; 
    text-align: center; 
}
.login-box h2 { margin-bottom: 25px; font-weight: 800; color: #4c3a43; font-size: 22px; }
.login-box input { 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 15px; 
    border: 2px solid #fff0f2; 
    border-radius: 16px; 
    outline: none; 
    background: #fff9fa;
    font-size: 15px;
}
.login-box input:focus { border-color: #ff8fa3; background: white; }
.login-box button { 
    width: 100%; 
    padding: 16px; 
    background: #ff6584; 
    color: white; 
    border: none; 
    border-radius: 16px; 
    font-weight: 700; 
    font-size: 16px; 
    cursor: pointer; 
}
.login-box button:hover { background: #ff4b72; }

/* Düzenleme Sayfası Grid Yapısı */
.grid-container { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px; 
    width: 100%; 
    max-width: 500px; 
    margin-top: 20px; 
}
.grid-item { 
    height: 120px; 
    position: relative; 
    overflow: hidden; 
    border-radius: 15px;
    background: #eee;
}
.grid-item img { width: 100%; height: 100%; object-fit: cover; }
.grid-checkbox { 
    position: absolute; 
    top: 8px; 
    right: 8px; 
    width: 20px; 
    height: 20px; 
    cursor: pointer; 
    accent-color: #ff6584; 
}
.grid-uploader { 
    position: absolute; 
    bottom: 6px; 
    left: 6px; 
    background: rgba(255,255,255,0.85); 
    padding: 2px 6px; 
    border-radius: 8px; 
    font-size: 11px; 
}

/* Geri Dön Butonu */
.back-btn { 
    text-decoration: none; 
    color: #ff6584; 
    font-weight: 700; 
    font-size: 15px; 
    display: inline-block;
}

/* Çoklu Resim Önizleme Alanı CSS */
.upload-preview {
    border: 3px dashed #ffe1e6;
    border-radius: 24px;
    background: white;
    text-align: center;
    padding: 30px 15px;
    cursor: pointer;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.upload-preview:hover { border-color: #ff6584; background: #fffbfb; }
.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 15px;
    max-height: 200px;
    overflow-y: auto;
}
.preview-item {
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }

#silBtn {
    width: 100%;
    max-width: 500px;
    padding: 16px;
    background: #ff4b4b;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(253, 75, 75, 0.2);
}

/* Mobil Ekran İnce Ayarı */
@media (max-width: 480px) {
    .slider { height: 340px; }
    .time-box { height: 75px; }
    .time-box span:first-child { font-size: 20px; }
    .grid-container { grid-template-columns: repeat(2, 1fr); }
    .grid-item { height: 140px; }
    /* Tarih seçme kutusu için tam görünürlük ayarları */
.date-select {
    width: 100%;
    padding: 15px;
    border-radius: 18px;
    border: 2px solid #ffcad4 !important; /* Görünür pembe kenarlık */
    background-color: #ffffff !important; /* Arka planı beyaz yap */
    color: #4c3a43 !important; /* Yazıyı koyu renk yap */
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    appearance: none;
    -webkit-appearance: none; /* iOS için özel sıfırlama */
    display: block !important;
    margin-top: 15px;
}

/* Tarih seçicinin içindeki seçeneklerin de düzgün görünmesi için */
.date-select option {
    background-color: #ffffff;
    color: #4c3a43;
    padding: 10px;
}

/* Sayfadaki tüm yazıları belirginleştirmek için (Eğer başlıklar da görünmüyorsa) */
body, h2, .back-btn, select, option {
    color: #4c3a43 !important;
}

/* Input (tarih) alanının üzerine binen bir şey varsa z-index ile öne al */
#duzenleTarihSec, #galeriTarihSec {
    position: relative;
    z-index: 10;
}
}

@media (prefers-color-scheme: dark) {
    body { background: #ffeef2 !important; color: #4c3a43 !important; }
}
/* Yakınlaştırma Modalı Stili */
#lightbox {
    display: none; position: fixed; z-index: 9999; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9);
    align-items: center; justify-content: center; cursor: zoom-out;
}
#lightbox img { max-width: 95%; max-height: 90%; border-radius: 10px; }
#lightbox::after { content: "Kapatmak için dokun"; color: white; position: absolute; bottom: 20px; font-size: 14px; opacity: 0.7; }



