.cookies-consent {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--primary-color, #2c3e50);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    max-height: 80vh;
    overflow-y: auto;
}

.cookies-consent-bottom {
    bottom: 0;
}

.cookies-consent-top {
    top: 0;
    border-top: none;
    border-bottom: 3px solid var(--primary-color, #2c3e50);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
}

.cookies-consent-visible {
    transform: translateY(0);
}

.cookies-consent-content {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookies-consent-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color, #2c3e50);
    display: flex;
    align-items: center;
}

.cookies-consent-description {
    margin: 0 0 1rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookies-consent-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookies-consent-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookies-consent-checkboxes .form-check {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookies-consent-checkboxes .form-check-label {
    margin: 0;
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}

.cookies-consent-checkboxes .form-check-input:disabled + .form-check-label {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookies-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.cookies-consent-buttons .btn {
    min-width: 100px;
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
}

.cookies-consent-dark {
    background: rgba(33, 37, 41, 0.98);
    color: #fff;
    border-top-color: var(--secondary-color, #e74c3c);
}

.cookies-consent-dark .cookies-consent-title {
    color: #fff;
}

.cookies-consent-dark .cookies-consent-description {
    color: #adb5bd;
}

.cookies-consent-dark .form-check-label {
    color: #dee2e6;
}

@media (min-width: 768px) {
    .cookies-consent-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .cookies-consent-checkboxes {
        flex: 1;
    }
    
    .cookies-consent-buttons {
        flex-shrink: 0;
        justify-content: flex-end;
    }
    
    .cookies-consent-content {
        padding: 1.25rem 2rem;
    }
}

@media (max-width: 767px) {
    .cookies-consent-content {
        padding: 1rem;
    }
    
    .cookies-consent-checkboxes {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookies-consent-buttons {
        justify-content: stretch;
    }
    
    .cookies-consent-buttons .btn {
        flex: 1;
        min-width: 0;
    }
    
    .cookies-consent-title {
        font-size: 1rem;
    }
    
    .cookies-consent-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .cookies-consent-buttons {
        flex-direction: column;
    }
    
    .cookies-consent-buttons .btn {
        width: 100%;
    }
}

.cookies-consent-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    z-index: 9999;
}

.cookies-consent-floating.cookies-consent-visible {
    transform: translateX(0);
}

.cookies-consent-floating .cookies-consent-content {
    padding: 1.25rem;
}

.cookies-consent-floating .cookies-consent-actions {
    gap: 0.75rem;
}

.cookies-consent-preferences-link {
    color: var(--primary-color, #2c3e50);
    text-decoration: underline;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 0.5rem;
    display: inline-block;
}

.cookies-consent-preferences-link:hover {
    color: var(--secondary-color, #e74c3c);
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}