/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.98);
    color: #fff;
    padding: 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-icon {
    font-size: 32px;
}

.cookie-text h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.cookie-btn.accept {
    background: var(--accent-color);
    color: #fff;
}

.cookie-btn.accept:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cookie-btn.decline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Notification Permission Prompt */
#notification-prompt {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #fff;
    color: #1f2937;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: 380px;
    display: none;
    flex-direction: column;
    gap: 15px;
    z-index: 9998;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 28px;
}

.notification-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.notification-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.notification-actions {
    display: flex;
    gap: 10px;
}

.notification-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.notification-btn.enable {
    background: var(--accent-color);
    color: #fff;
}

.notification-btn.enable:hover {
    opacity: 0.9;
}

.notification-btn.later {
    background: #e5e7eb;
    color: #1f2937;
}

.notification-btn.later:hover {
    background: #d1d5db;
}

/* Dark Mode Styles */
[data-theme="dark"] #notification-prompt {
    background: #2d2d2d;
    color: #fff;
}

[data-theme="dark"] .notification-body p {
    color: #d1d5db;
}

[data-theme="dark"] .notification-btn.later {
    background: #404040;
    color: #fff;
}

[data-theme="dark"] .notification-btn.later:hover {
    background: #4f4f4f;
}

[data-theme="dark"] #cookie-banner {
    background: rgba(35, 35, 35, 0.98);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }

    #notification-prompt {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .notification-actions {
        flex-direction: column;
    }
}
