/* ============================================
   NEET HUB — Notification Styles
   ============================================ */

/* Notification Bell Container */
.notif-bell-container {
    display: flex;
    align-items: center;
    position: relative;
}

.notif-bell {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    color: var(--neon-cyan);
}

.notif-bell:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(184, 41, 227, 0.5);
}

.notif-bell-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-bell-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-yellow));
    color: var(--bg-primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 45, 117, 0.5);
    font-family: var(--font-mono);
}

/* Permission Prompt */
.notif-permission-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    animation: slideInPrompt 0.4s ease-out;
}

@keyframes slideInPrompt {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notif-prompt-content {
    background: rgba(18, 18, 26, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 320px;
    font-family: var(--font-body);
}

.notif-prompt-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.notif-prompt-text {
    flex: 1;
}

.notif-prompt-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
}

.notif-prompt-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.notif-prompt-yes,
.notif-prompt-no {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.notif-prompt-yes {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--bg-primary);
    margin-right: 0.5rem;
}

.notif-prompt-yes:hover {
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
    transform: translateY(-2px);
}

.notif-prompt-no {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.notif-prompt-no:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

/* Settings Modal */
.notif-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.notif-settings-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 245, 255, 0.2);
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideInModal 0.4s ease-out;
}

@keyframes slideInModal {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.notif-settings-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-settings-header h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.notif-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.notif-close:hover {
    color: var(--neon-cyan);
    transform: rotate(90deg);
}

.notif-settings-body {
    padding: 1.5rem;
}

.notif-pref-item {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.notif-pref-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.notif-pref-toggle {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 1rem;
}

.notif-pref-toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--text-secondary);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.notif-pref-toggle:checked {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.notif-pref-toggle:checked::after {
    left: 22px;
    background: var(--bg-primary);
}

.notif-pref-name {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.notif-settings-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.notif-settings-footer .btn-secondary {
    padding: 0.75rem 1.5rem;
}

/* Toast Notifications */
.notif-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(18, 18, 26, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 1rem;
    max-width: 300px;
    z-index: 1999;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
    transform: translateX(-400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notif-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.notif-toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.notif-toast-content {
    flex: 1;
}

.notif-toast-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.notif-toast-body {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
    .notif-permission-prompt {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .notif-prompt-content {
        max-width: none;
    }

    .notif-settings-modal {
        width: 95%;
    }

    .notif-toast {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
}
