/* Cookie Consent Styling */
.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.cookie-consent-content {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cookie-consent-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cookie-category {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--bg-surface);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.cookie-category label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.cookie-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-left: 1.5rem;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-actions button {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

#acceptAllCookies {
    background-color: var(--primary-color);
    color: white;
}

#acceptAllCookies:hover {
    background-color: var(--text-primary);
}

#rejectAllCookies {
    background-color: var(--text-secondary);
    color: white;
}

#rejectAllCookies:hover {
    background-color: #6B7280;
}

#saveCookiePreferences {
    background-color: var(--accent-color);
    color: white;
}

#saveCookiePreferences:hover {
    background-color: #0F766E;
}

/* Cookie Notice Modal Specific Styles */
#cookieNoticeModal .cookie-consent-content {
    max-width: 600px;
}

#cookieNoticeModal p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

#cookieNoticeModal a {
    color: var(--accent-color);
    text-decoration: none;
}

#cookieNoticeModal a:hover {
    text-decoration: underline;
}

/* Footer Cookie Preferences Link */
#changeCookiePreferences {
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
}

#changeCookiePreferences:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-consent-actions button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}