/* Cookie Consent Dialog Styles */
#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    font-size: 0.95rem;
}

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

.cookie-consent-container {
    max-width: 1140px;
    margin: 0 auto;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-consent-header h3 {
    margin: 0;
    font-weight: 600;
}

.cookie-consent-body {
    margin-bottom: 1.2rem;
}

.cookie-consent-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: center;
}

.cookie-consent-footer .btn {
    min-width: 120px;
}

.cookie-preferences-btn {
    margin-left: auto;
}

/* Cookie Preferences Modal Styles */
#cookie-preferences-modal .modal-header {
    border-bottom: 1px solid #e5e5e5;
    background-color: #f8f9fa;
}

#cookie-preferences-modal .modal-title {
    font-size: 1.2rem;
    font-weight: 600;
}

#cookie-preferences-modal .modal-footer {
    border-top: 1px solid #e5e5e5;
    background-color: #f8f9fa;
}

.cookie-type {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.cookie-type:last-child {
    border-bottom: none;
}

.cookie-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-type-title {
    font-weight: 600;
    margin-bottom: 0;
}

.form-switch {
    padding-left: 2.5rem;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Cookie Manager Button Fixed Bottom Right */
#cookie-manager-btn {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 999;
    opacity: 0.85;
    font-size: 0.8rem;
}

#cookie-manager-btn:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cookie-consent-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-preferences-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .cookie-consent-footer .btn {
        width: 100%;
    }
}