:root {
    --bg-dark: #0f1523; /* Koyu lacivert arkaplan */
    --accent-cyan: #14f1f2; /* Başlıktaki turkuaz renk */
    --text-light: #ffffff;
    --text-muted: #b3b9c5;
    
    /* Glassmorphism tokenları */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-highlight: rgba(255, 255, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Dekoratif Patoloji Arkaplan Şekilleri (CSS gradient ile hücre/doku dokusunu andıran lekeler) */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.top-right {
    top: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #db2777 0%, rgba(219, 39, 119, 0) 70%);
}

.bottom-left {
    bottom: -150px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #db2777 0%, rgba(219, 39, 119, 0) 70%);
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.titles h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(20, 241, 242, 0.3);
}

.week-range {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1.5px;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--glass-highlight);
    font-size: 3rem; /* Boyut artırıldı */
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
    padding: 10px 20px; /* Tıklama alanı genişletildi */
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    color: var(--accent-cyan);
    transform: scale(1.2); /* Hover efekti belirginleştirildi */
}

/* Sidebar & Hamburger Styles */
.hamburger-btn {
    background: transparent;
    border: none;
    color: var(--accent-cyan);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
}

.hamburger-btn:hover {
    transform: scale(1.1);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #1a2333;
    border-right: 1px solid var(--glass-border);
    transition: left 0.3s ease-out;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.sidebar-overlay.active .sidebar {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--accent-cyan);
    font-weight: 800;
}

.close-sidebar {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
}

.sidebar-user-info {
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 12px;
    border-radius: 8px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.sidebar-link:hover {
    background: rgba(255,255,255,0.1);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    color: var(--accent-cyan);
}

.sidebar-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 1rem 0;
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

.install-btn {
    margin-top: 1rem;
    background: var(--glass-bg);
    border: none;
    box-shadow: inset 0 0 0 1px var(--glass-border);
    color: var(--accent-cyan);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
    background-clip: padding-box;
    clip-path: inset(0 round 30px); /* Masks sub-pixel bleeding */
}

.install-btn:hover {
    background: var(--accent-cyan) !important; /* Force background change even for transparent inline styles */
    color: var(--bg-dark) !important;
    box-shadow: 0 0 20px rgba(20, 241, 242, 0.6);
    transform: translateY(-2px);
}


/* Glass Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    justify-content: center;
}

/* Tabs */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    box-shadow: inset 0 0 0 1px var(--glass-border);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-transform: uppercase;
    overflow: hidden;
    background-clip: padding-box;
    clip-path: inset(0 round 40px); /* Masks sub-pixel bleeding */
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(20, 241, 242, 0.3);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--accent-cyan);
    color: #0d1b2e;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(20, 241, 242, 0.4);
}

/* Glass Card */
.glass-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 20px;
    border: none;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 0 0 1px var(--glass-border);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    /* NO backdrop-filter here — moved to ::before to prevent ghost lines */
    isolation: isolate;
}

/* backdrop-filter on its own layer so transforms don't bleed */
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--glass-border);
}

.card-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.card-speakers {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.speaker-line {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.3;
}

.divider {
    width: 60%; /* Significantly narrowed to avoid any edge artifacts */
    height: 2px;
    background: var(--accent-cyan);
    margin: 1.5rem auto 2.5rem auto;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.card-time-pill {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    padding: 0.4rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(20, 241, 242, 0.4);
}

.card-topics {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* Loading */
.loading-state {
    display: flex;
    justify-content: center;
    padding: 4rem;
}
.spinner {
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobil Uyum */
@media (max-width: 768px) {
    .app-container {
        padding: 1rem;
    }
    
    .titles h1 {
        font-size: 1.5rem;
    }
    
    .week-range {
        font-size: 1rem;
    }
    
    .nav-btn {
        font-size: 2.22rem; /* Mobilde de büyütüldü */
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .speaker-line {
        font-size: 1.2rem;
    }
    
    .card-topics {
        font-size: 1rem;
    }
}

/* Custom Dropdowns */
.custom-dropdown {
    position: relative;
}

.custom-dropdown-btn {
    background: rgba(12, 227, 227, 0.08);
    color: var(--accent-cyan);
    border: none;
    box-shadow: inset 0 0 0 1px var(--accent-cyan);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-dropdown-btn:hover {
    background: rgba(12, 227, 227, 0.18);
    box-shadow: 0 0 15px rgba(20, 241, 242, 0.4);
    transform: translateY(-2px);
}

.custom-dropdown-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #0d1b2e;
    border: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.7), inset 0 0 0 1px var(--accent-cyan);
    border-radius: 14px;
    min-width: 160px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 9999;
    padding: 6px 0;
}

.custom-dropdown-list::-webkit-scrollbar { width: 4px; }
.custom-dropdown-list::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 4px; }
.custom-dropdown-list::-webkit-scrollbar-track { background: transparent; }

.custom-dropdown-item {
    padding: 9px 18px;
    color: #cdd6f4;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.custom-dropdown-item:hover {
    background: rgba(12, 227, 227, 0.15);
    color: var(--accent-cyan);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.glass-modal {
    background: linear-gradient(135deg, #0d1b2e 0%, #0a1525 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover { color: white; }

.modal-input {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 12px;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 1rem;
}

.modal-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.modal-label {
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    display: block;
    margin-top: 14px;
    letter-spacing: 1px;
}

.modal-btn {
    width: 100%;
    background: var(--accent-cyan);
    color: var(--bg-dark);
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(20, 241, 242, 0.4);
}

.admin-card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.admin-circle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: 0.2s;
}

.admin-circle-btn.edit:hover { background: var(--accent-cyan); color: var(--bg-dark); }
.admin-circle-btn.delete:hover { background: #ef4444; color: white; }

/* Geçmiş toplantılar için stil */
.is-past {
    opacity: 0.6;
    filter: grayscale(0.4);
}

.is-past .speaker-line,
.is-past .card-topics,
.is-past .card-date,
.is-past .frozen-row-date,
.is-past .frozen-row-names {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    backface-visibility: hidden;
    display: table; /* Ensures the element and its strikethrough only take text width */
    margin-left: auto;
    margin-right: auto;
}

.is-past .card-time-pill {
    background: #4a5568 !important; /* Daha sönük bir renk */
    color: #a0aec0 !important;
    box-shadow: none !important;
    text-decoration: line-through;
}

.is-past .divider {
    background: #4a5568 !important;
    box-shadow: none !important;
}

/* Image Overlay Fix */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    overflow: hidden;
    touch-action: none;
}

.image-overlay img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-overlay:hover {
    transform: scale(1.2);
}

/* Frozen Tab Specific Styles */
.frozen-today-container {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.frozen-today-card {
    background: linear-gradient(135deg, rgba(20, 241, 242, 0.15) 0%, rgba(20, 241, 242, 0.05) 100%);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(20, 241, 242, 0.2);
    position: relative; /* REQUIRED for centering the absolute badge */
}

.frozen-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-cyan);
    color: var(--bg-dark);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.frozen-team {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin-top: 2.5rem; /* Increased to avoid overlap with badge */
}

.frozen-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.frozen-label {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.frozen-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.monthly-frozen-title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 2rem 0 1rem 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.monthly-frozen-title::before,
.monthly-frozen-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
    max-width: 100px;
}

.frozen-row-card {
    padding: 1.5rem;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
}

.frozen-row-date {
    font-weight: 700;
    color: var(--accent-cyan);
    width: 120px;
}

.frozen-row-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.frozen-row-names {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    gap: 8px;
    align-items: center;
}

.frozen-row-label {
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 800;
    width: 75px; /* Sabit genişlik hizalamayı düzeltir */
    display: inline-block;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .frozen-row-card {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem;
    }
    .frozen-row-date {
        width: 100%;
    }
}

.message-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.2s;
}

.message-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
}

.message-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.message-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.message-sender {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 700;
}

.delete-message-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.6;
    transition: 0.2s;
}

.delete-message-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Custom Toast Style */
.toast-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(20, 241, 242, 0.2);
    border: 1px solid var(--accent-cyan);
    backdrop-filter: blur(15px);
    padding: 1.5rem 2.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    z-index: 20000;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 50px rgba(20, 241, 242, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.toast-notification i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

/* Mobile Fixes for Tabs and Actions */
@media (max-width: 768px) {
    .tabs-container {
        gap: 8px;
        flex-wrap: wrap; /* Sığmazsa alt satıra geçsin */
        justify-content: center;
        padding: 0 10px;
    }
    
    .tab-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .top-actions {
        flex-wrap: wrap;
        gap: 8px !important;
    }

    .install-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .top-actions .install-btn span {
        display: none; /* Mobilde çok dar ekranlarda yazıları gizle, sadece ikon kalsın derseniz butona span eklemelisiniz. Şu an yazılar direkt içinde. */
    }
}
.admin-action-btn {
    display: none;
}
/* === NEW UI FEATURES === */

/* Unread Badge */
.unread-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 50%;
    display: none; /* JS ile gösterilecek */
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    border: 2px solid var(--bg-dark);
    z-index: 10;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Clear All Messages Button */
.clear-all-messages-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    padding: 12px 15px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    letter-spacing: 0.5px;
}

.clear-all-messages-btn:hover {
    background: #ef4444;
    color: white;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
    border-color: #ef4444;
}

/* Custom Confirm Modal */
.confirm-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 50000;
    opacity: 0;
    transition: opacity 0.3s;
}

.confirm-modal-overlay.active {
    display: flex !important;
    opacity: 1;
}

.confirm-modal {
    background: linear-gradient(145deg, #1a2639 0%, #0a1221 100%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 2.5rem;
    width: 95%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.confirm-modal-overlay.active .confirm-modal {
    transform: translateY(0) scale(1);
}

.confirm-modal i {
    font-size: 3.5rem;
    color: #f59e0b;
    margin-bottom: 1.5rem;
    display: block;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.confirm-modal h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.confirm-modal p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.confirm-actions {
    display: flex;
    gap: 15px;
}

.confirm-btn {
    flex: 1;
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.confirm-btn.yes {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.confirm-btn.no {
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

.confirm-btn.yes:hover { 
    background: #dc2626; 
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5); 
    transform: translateY(-3px);
}
.confirm-btn.no:hover { 
    background: rgba(255,255,255,0.15); 
    color: white;
    transform: translateY(-3px);
}

/* Frozen Table Styles */
.frozen-table-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 0 0 1px var(--glass-border);
    margin-top: 1rem;
    clip-path: inset(0 round 20px);
}

.frozen-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-light);
    font-size: 0.95rem;
}

.frozen-table th {
    text-align: left;
    padding: 1.2rem 1rem;
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(20, 241, 242, 0.2);
}

.frozen-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.frozen-table tr:last-child td {
    border-bottom: none;
}

.frozen-table tr.is-past {
    opacity: 0.5;
}

.frozen-table tr.is-past td:not(.actions-cell) {
    text-decoration: line-through;
    text-decoration-color: var(--accent-cyan);
}

.frozen-table .date-cell {
    font-weight: 700;
    color: var(--accent-cyan);
    white-space: nowrap;
}

.frozen-table .actions-cell {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

@media (max-width: 600px) {
    .frozen-table {
        font-size: 0.85rem;
    }
    .frozen-table th, .frozen-table td {
        padding: 0.8rem 0.5rem;
    }
}


/* Auth & Input Styling Fixes */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 40px #1a2333 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.modal-input, .auth-input {
    background: #1a2333 !important;
    color: white !important;
    border: 1px solid var(--glass-border) !important;
    transition: all 0.3s;
}

.modal-input:focus, .auth-input:focus {
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 15px rgba(20, 241, 242, 0.2) !important;
    background: #212c42 !important;
}

/* Chrome'un input kenarlıklarını temizle */
input:focus {
    outline: none !important;
}
