.cookie-banner {
  position: fixed;
  bottom: 50px;
  left: 25px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(-30px); /* décalé un peu sur la gauche */
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none; /* évite clics quand caché */
}

.cookie-banner.show {
  opacity: 1;
  transform: translateX(0); /* revient à sa place */
  pointer-events: auto;
}

.cookie-trigger {
    width: 32px;
    height: 29px;
    border-radius: 50%;
    background: #c2ccd900;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
    transition: transform 0.2s ease;
    padding: 0px;
}

.cookie-trigger:hover {
    transform: scale(1.1);
}

.cookie-trigger i {
    width: 100%;
    display: block;
    font-size: 23px;
    color: #6dbcdb;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-header {
    margin-bottom: 20px;
}

.cookie-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.cookie-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-services {
    margin: 20px 0;
}

.cookie-service {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.cookie-service input[type="checkbox"] {
    margin-right: 10px;
}

.service-info {
    flex: 1;
}

.service-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
    margin-top: 0;
    padding-bottom: 0;
}

.service-description {
    font-size: 14px;
    color: #666;
    margin-top: 0;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-outline {
    background: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        padding: 20px;
        margin: 10px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}