.translate-container {
    width: 450px;
    border-radius: 10px;
    color: #1A1A1A;

    h4 {
        color: black;
    }
}

.translate-recurrence {
    margin: 20px 0;
}

.translate-recurrence .form-select {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    color: black;
    background-color: var(--background-color-body);
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    border-color: var(--background-color-body);
}

.translate-recurrence .form-select:focus {
    border-color: #95BF47;
    outline: none;
}

.translate-recurrence .form-select:hover {
    border-color: #95BF47;
    background-color: var(--background-color-body);
}

.translate-recurrence .form-select option {
    background-color: var(--background-color-body);
    color: black;
    padding: 12px;
}

.last-backup-info {
    margin-top: 10px;
    font-size: 13px;
    color: #888;
    padding: 8px;
    border-radius: 4px;
}

.translation-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 12px;
    background-color: var(--background-color-body);
    border-radius: 8px;
}

.translation-toggle .translate-title {
    margin: 0;
    font-size: 14px;
    color: black;
}

.language-info {
    margin-top: 5px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.types-info {
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.translate-checkbox-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.translate-checkbox-item.disabled .checkbox-text {
    color: #999;
}

/* Style spécifique pour la langue par défaut désactivée */
.translate-checkbox-item.disabled[title="La langue par défaut est toujours incluse"] {
    opacity: 0.7;
    background-color: rgba(149, 191, 71, 0.1);
    border-radius: 5px;
    position: relative;
}

.translate-checkbox-item.disabled[title="La langue par défaut est toujours incluse"] .checkbox-text {
    color: #666;
    font-weight: 500;
}

.translate-checkbox-item.disabled[title="La langue par défaut est toujours incluse"]::after {
    content: "✓ Langue par défaut";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #95BF47;
    font-style: italic;
}

.btnSubmit.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.translate-default-language {
    margin: 15px 0;
}

.translate-default-language label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: black;
}

.translate-default-language .form-select {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    color: black;
    background-color: var(--background-color-body);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    border-color: var(--background-color-body);
}

.translate-default-language .form-select:focus {
    border-color: #95BF47;
    outline: none;
}

.translate-default-language .form-select:hover {
    border-color: #95BF47;
    background-color: var(--background-color-body);
}

.translate-default-language .form-select option {
    background-color: var(--background-color-body);
    color: black;
    padding: 12px;
}

.default-language-info {
    margin-top: 5px;
    text-align: left;
    color: #666;
    font-style: italic;
}

.folder-list {
    margin-top: 20px;
}
.folder-item {
    background-color: var(--background-color-body);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}
.folder-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.folder-info {
    flex-grow: 1;
}
.folder-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}
.folder-date {
    color: #666;
    font-size: 14px;
}
.folder-count {
    background-color: #95BF47;
    color: white;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
    margin-left: 10px;
}
.folder-actions {
    display: flex;
    gap: 10px;
}
.download-btn {
    background-color: #95BF47;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}
.download-btn:hover {
    background-color: #7a9c3a;
}
.no-folders {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}
.warning-message {
    background-color: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEEBA;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}
.file-list {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}
.file-list.show {
    display: block;
}
.file-item {
    margin: 8px 0;
    padding-left: 20px;
}
.file-item a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}
.file-item a:hover {
    color: #357abd;
    text-decoration: underline;
}
.toggle-files {
    background: none;
    border: none;
    color: #0056b3;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.toggle-files:hover {
    color: #003366
}

/* Styles pour les logs */
.log-list {
    margin-top: 20px;
}
.log-item {
    background-color: var(--background-color-body);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid #ccc;
}
.log-item.success {
    border-left-color: #95BF47;
}
.log-item.error {
    border-left-color: #ff6b6b;
}
.log-item.warning {
    border-left-color: #ffb347;
}
.log-info {
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.log-date {
    font-weight: bold;
    font-size: 16px;
}
.log-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 10px;
    color: white;
    height: 22px;
}
.log-status.success {
    background-color: #95BF47;
}
.log-status.error {
    background-color: #ff6b6b;
}
.log-status.warning {
    background-color: #ffb347;
}
.log-actions {
    display: flex;
    align-items: center;
}
.view-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
    text-decoration: none;
    height: 22px;
    display: inline-flex;
    align-items: center;
}
.view-btn:hover {
    background-color: #3a7bc8;
}
.export-btn {
    background-color: #95BF47;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}
.export-btn:hover {
    background-color: #7a9c3a;
}
.no-logs {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

/* Styles pour les détails des logs */
.log-detail {
    background-color: var(--background-color-body);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}
.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}
.log-title {
    font-size: 18px;
    font-weight: bold;
}
.log-date {
    color: #666;
    font-size: 14px;
}
.log-content {
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 15px;
    white-space: pre-wrap;
    font-family: monospace;
    max-height: 500px;
    overflow-y: auto;
}
.log-line {
    margin-bottom: 5px;
    line-height: 1.5;
}
.log-line.success {
    color: #4caf50;
}
.log-line.error {
    color: #f44336;
}
.log-line.warning {
    color: #ff9800;
}
.log-line.info {
    color: #2196f3;
}