/**
 * Cookie Consent Banner Styles
 * Six Figure Coach Secrets
 * Brand colors: #8ad5f4 (primary), #394f70 (secondary), #ffffff (white)
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #394f70;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #8ad5f4;
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    min-width: 300px;
}

.cookie-consent-text strong {
    color: #8ad5f4;
    font-weight: 600;
}

.cookie-consent-link {
    color: #8ad5f4;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.cookie-consent-link:hover {
    opacity: 0.8;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-consent-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cookie-consent-accept {
    background-color: #8ad5f4;
    color: #394f70;
}

.cookie-consent-accept:hover {
    background-color: #6ec9f0;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cookie-consent-decline {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cookie-consent-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.cookie-consent-btn:focus {
    outline: 3px solid #8ad5f4;
    outline-offset: 2px;
}

.cookie-consent-btn:active {
    transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 1rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-consent-text {
        font-size: 0.875rem;
        min-width: 100%;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-consent-btn {
        width: 100%;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .cookie-consent-content {
        gap: 1.5rem;
    }
    
    .cookie-consent-text {
        font-size: 0.9rem;
    }
}

/* Ensure banner appears above other fixed elements */
#cookie-consent-banner {
    z-index: 10000;
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    #cookie-consent-banner {
        transition: none;
    }
    
    .cookie-consent-btn {
        transition: none;
    }
}
