.translate-title {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 20px;
    text-align: center;
}

.translate-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.translate-checkbox-item {
    background-color: var(--background-color-body);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.translate-checkbox-item:hover {
    background-color: #cdcdcd;
}

.checkbox-text {
    color: black;
    font-size: 1em;
    text-align: center;
    flex-grow: 1;
    margin-right: 25px;
}

.custom-checkbox {
    margin-top: 8px;
    width: 25px;
    height: 25px;
    background-color: transparent;
    border: 2px solid #02523e;
    border-radius: 50%;
    appearance: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.custom-checkbox:checked {
    background-color: #95BF47;
    border-color: #95BF47;
}

.custom-checkbox:checked::before {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
}

.translation-toggle {
    margin: 30px 0;
    text-align: center;
}

/* Switch style */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border: 2px solid var(--background-color-body);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #02523e;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Style pour le conteneur du bouton retour */
.container-flex > a {
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin-top: 20px;
}

.container-flex > a .btnred {
    width: auto;
    min-width: 120px;
}

.translate-options {
    width: 100%;
}

