/**
 * Cookie Consent Banner Styles
 * Matches FindPrices design system
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

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

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text p {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    color: #333333;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #27ae60;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cookie-banner-text a:hover {
    color: #219150;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner .btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.cookie-banner .btn-primary {
    background-color: #27ae60;
    color: #ffffff;
}

.cookie-banner .btn-primary:hover {
    background-color: #219150;
    transform: translateY(-1px);
}

.cookie-banner .btn-secondary {
    background-color: #f5f5f5;
    color: #666666;
    border: 1px solid #e0e0e0;
}

.cookie-banner .btn-secondary:hover {
    background-color: #eeeeee;
    color: #333333;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .cookie-banner-content {
        padding: 16px 20px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner-text {
        min-width: auto;
    }

    .cookie-banner-text p {
        font-size: 0.9rem;
    }

    .cookie-banner-buttons {
        justify-content: center;
        width: 100%;
    }

    .cookie-banner .btn {
        flex: 1;
        padding: 12px 16px;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    .cookie-banner-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .cookie-banner .btn {
        width: 100%;
    }
}
