:root {

    --mut-primary: rgb(68, 98, 238);
    --mut-primary-hover: #2f48b8;
    --mut-secondary: #192247;
    --mut-secondary-hover: #080b1a;
    --mut-primary-rgba: 68, 98, 238;
}

::selection {
  background: var(--primary-color);
  color: #fff;
}

.authentication .card {
    border-radius: 20px;
}
.authentication .card-body {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .08);
    border-radius: 20px;
}

ol, ul {
    margin-left: 0;
}

ul.parsley-errors-list {
    margin-left: 0;
    padding-left: 0;
}
ul.parsley-errors-list li {
	list-style-type: none;
	color: #f53e3e;
    font-style: italic;
}

.spinner {
    border-radius: 50%;
    animation: mtu_spin 1s linear infinite;
    margin: 0px auto;
}

@keyframes mtu_spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#toast-container>div {
    opacity: 1;
}

@keyframes fadeInOut {
    0% {
      opacity: 0.15;
    }
    25% {
      opacity: 0.07;
    }
    50% {
      opacity: 0.05;
    }
    75% {
      opacity: 0.07;
    }
    100% {
      opacity: 0.15;
    }
}
  
.placeholder {
    animation: fadeInOut 1.5s infinite ease-in-out;
}
.placeholder.vm-dark {
    color: #cecece;
}

.box_filters_table {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}
.box_filters_table > * {
    flex: 1;
}
.box_search {
    width: 150%;
    position: relative;
}
.box_search .clear_search {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    display: none;
}
.search_customer, .search_customer::placeholder {
    font-size: 13px!important;
}
.vm-table {
    border-left: 0;
}
td span.text-truncate {
    width: 200px;
    display: inline-block;
}


.select2-container .select2-selection--single {
    height: 40px;
    border-color: #d1d5db !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    margin-right: 35px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    width:100%;
    border-color: #a6bbd1 !important;
}


.sortable i {
    font-size: 16px;
}
.sortable {
    cursor: pointer;
}
.sortable:hover span {
    text-decoration: underline;
}


.form-control:not([readonly]):focus, .form-select:not([readonly]):focus {
    box-shadow: inset 0px 0px 0px 2px rgba(var(--primary-rgb), 1) !important;
    border-style: solid !important;
    border-color: var(--primary-rgb)!important;
    outline: none;
}
.form-control[readonly] {
    opacity: .5;
}
.form-control.parsley-error, .form-select.parsley-error {
    box-shadow: inset 0px 0px 0px 2px rgba(245, 62, 62, 1) !important;
    border-color: rgb(245, 62, 62)!important;
}

.accordion-button:hover, .accordion-button:focus {
    background-color: #F9FAFB;
    color: #121212;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 0!important;
}
.accordion-item:not(:first-of-type) {
    border-top: 1px solid var(--default-border);
}

.vm_drop_zone {
    min-height: 300px;
    background-color: #ebebeb;
    border-radius: 20px;
    border: 3px dashed #575757;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.vm_drop_zone.dragged {
    border-color: #26ad26;
    border-style: solid;
}
.text_drop_zone {
    font-size: 18px;
}
.box_file {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #aeaeae;
    position: relative;
}
.box_file i {
    font-size: 20px;
}
.list_files {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    gap: 10px;
    flex-wrap: wrap;
}
.box_file span {
    font-size: 11px;
}
span.delete_uploaded_file {
    position: absolute;
    top: 2px;
    right: 4px;
    cursor: pointer;
    color: #f47272;
}



.documents-section {
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  max-width: 700px;
  font-family: system-ui, sans-serif;
}

/* Titre */
.documents-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

/* Liste */
.documents-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

/* Item */
.document-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  transition: background 0.2s;
}

.document-item:hover {
  background: #f3f4f6;
}

/* Partie gauche */
.document-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.document-icon {
  font-size: 1.25rem;
  color: #4b5563;
}

.document-name {
  font-size: 0.95rem;
  color: #1f2937;
  font-weight: 500;
}

/* Partie droite */
.document-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.document-actions button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
}

/* Bouton voir */
.btn-view {
  color: var(--primary-color);
}

.btn-view:hover {
  background: #dbeafe;
  color: var(--primary-color);
}

/* Bouton supprimer */
.btn-delete {
  color: #dc2626;
}

.btn-delete:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* Message alternatif */
.documents-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #6b7280;
  background: #ffffff;
  border-radius: 10px;
  font-size: 0.95rem;
  border: 1px dashed #d1d5db;
}

.empty-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  color: #9ca3af;
}


.status_img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    background-color: #f3f3f3;
    border-radius: 20px;
    height: 100%;
    cursor: pointer;
}
.status_img img {
    width: 50px;
}
.status_img .status_label {
    font-size: 13px;
    text-align: center;
}
.status_img input[type="radio"] {
    display: none;
}
.status_img:hover {
    box-shadow: inset 0 0 0 2px rgb(83 196 66);
}
.status_img.selected {
    background-color: #53c442;
}
.status_img.selected img {
    filter: brightness(0) invert(1);
}
.status_img.selected .status_label {
    color: #fff;
}
td.td-link {
    padding: 0!important;
}
td.td-link a {
    padding: 13.6px 20px!important;
    display: block!important;
    width: 100%;
}



/** STATUSES RENDER ***/
/*** ************************************ **/
/** EXPERIMENTAL **/
/** ************************************* **/

.status-tracker {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 5px 0;
}

/* Ligne de progression */
.status-tracker::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 25px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #2ecc71, #3498db);
    z-index: 2;
    transition: width 0.5s ease;
}

/* Éléments de statut */
.status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 25%;
}

.status-bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid #e0e0e0;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.status-bubble.active {
    border-color: #3498db;
    background: #3498db;
    transform: scale(1.1);
}

.status-bubble.completed {
    border-color: #2ecc71;
    background: #2ecc71;
}

.status-icon {
    font-size: 20px;
    color: #95a5a6;
}

.status-bubble.active .status-icon,
.status-bubble.completed .status-icon {
    color: white;
}

.status-label {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
    color: #95a5a6;
    transition: color 0.3s ease;
}

.status-bubble.active ~ .status-label,
.status-bubble.completed ~ .status-label {
    color: #2c3e50;
}

/* Contrôles */
.controls {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
}

.tab-style-6 .nav-item .nav-link:not(.active):hover {
    background-color: transparent;
}

.step_title {
    background-color: #f6f6f6;
    border-radius: 3px;
}
.tab_line {
    background-color: #f7f7f7;
    border-radius: 10px;
}

/*.item_row:first-of-type {
    border-top: 4px solid #ffffff;
}*/
.item_row {
    padding: 15px 0;
    border-bottom: 4px solid #ffffff;
}
.avatar-flag img {
	width: 1.75rem!important;
    height: 1.3rem!important;
}

/* Responsive */
@media (max-width: 768px) {
    .status-tracker {
        flex-direction: column;
        align-items: flex-start;
        margin: 20px 0;
    }
    
    .status-tracker::before {
        top: 0;
        left: 32px;
        width: 5px;
        height: 100%;
    }
    
    .progress-bar {
        top: 0;
        left: 32px;
        width: 5px;
        height: 0%;
    }
    
    .status-step {
        flex-direction: row;
        margin-bottom: 30px;
        width: 100%;
    }
    
    .status-content {
        margin-left: 20px;
    }
    
    .status-label {
        text-align: left;
        margin-top: 5px;
    }
}