/**
 * Cookie Consent Styles for StayNow
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    padding: 20px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    border-top: 3px solid var(--capri-blue);
}

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

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-text strong {
    display: block;
    font-size: 1.1rem;
    color: #202124;
    margin-bottom: 8px;
}

.cookie-consent-text p {
    color: #5f6368;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--capri-blue) 0%, var(--deep-water) 100%);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
}

.cookie-btn-reject {
    background: #f1f3f4;
    color: #5f6368;
}

.cookie-btn-reject:hover {
    background: #e8eaed;
}

.cookie-link {
    color: var(--capri-blue);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 16px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    #cookie-consent-banner {
        background: #1a1a1a;
        border-top-color: #4a9eff;
    }
    
    .cookie-consent-text strong {
        color: #ffffff;
    }
    
    .cookie-consent-text p {
        color: #b0b0b0;
    }
    
    .cookie-btn-reject {
        background: #2d2d2d;
        color: #b0b0b0;
    }
    
    .cookie-btn-reject:hover {
        background: #3d3d3d;
    }
}
