/**
 * Cookie Consent Banner Styles
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    z-index: 9999;
    max-width: 420px;
    transform: translateX(calc(100% + 2rem));
    transition: transform 0.3s ease-in-out;
}

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

/* Mobile: full width at bottom */
@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: none;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        transform: translateY(100%);
    }
    
    .cookie-consent-banner.show {
        transform: translateY(0);
    }
}

.cookie-consent-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text p {
    margin: 0;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.6;
}

.cookie-consent-text a {
    color: #2563eb;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #1d4ed8;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    justify-content: flex-end;
}

.cookie-consent-actions button {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-consent-accept {
    background: #2563eb;
    color: #ffffff;
}

.cookie-consent-accept:hover {
    background: #1d4ed8;
}

.cookie-consent-reject {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.cookie-consent-reject:hover {
    background: #e5e7eb;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .cookie-consent-actions {
        width: 100%;
    }
    
    .cookie-consent-actions button {
        flex: 1;
    }
}

