
.banner .fileAriane { text-transform: uppercase; }
.spinner {
    width: 72px;
    height: 72px;
    border: 5px dotted #005BFF;
    border-radius: 50%;
    animation: spin 3.2s linear infinite;
    margin: 0 auto 20px auto;
}

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

.no-hover:hover {
     background-color: #005BFF !important;
     color: #FFFFFF !important;
     border: none !important;
     padding: 10px 20px !important;
     cursor: pointer !important;
     font-weight: bold !important;
     font-size: 14px !important;
}
.tva-field input[disabled] {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
}
.tva-page { max-width: 890px; margin-left: 30px; }

.tva-page-title,
.tva-num,
.tva-title { margin-left: 0 !important; }

.tva-page-title {
  margin-bottom: 10px;
}
.tva-num {
  margin-top: 6px;
}

.tva-field input.error[type="text"] {
  border: 1px solid red !important;
}

.error-message {
  color: red;
  font-style: italic;
  font-size: 12px;
  margin-top: 7px;
}

.errorRaison {
    color:red;
    display:none;
    font-style: italic;
    font-size: 12px;
    margin-top: 7px;
}
.popin-control-install {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(3px);
}

.popin-control-install-content {
    background-color: #ffffff;
    color: #333;
    padding: 40px 30px;
    width: 550px;
    height: 250px;
    max-width: 90%;
    margin: 10% auto;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}


#popin-loading-state,
#popin-control-state {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 30px;
}


.popin-control-install-content h2, .popin-control-install-content p {
    font-size: 16px;
    margin: 0 auto 10px auto;
    text-align: center;
    max-width: 90%;
    color: #000000;
    background-color: transparent;
}


.popin-control-install-content button {
    background-color: #005BFF;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    margin-top: 30px;
}
.alert-message-control-install {
    margin-top: 15px;
}
.popin-control-install.show {
    display: block;
}

.donneesInsee {
    display:none !important;
}

.tva-title{ margin:10px 0 16px; font-size:20px; font-weight:700; color:#111; }

.tva-field{ margin-top:18px; max-width:820px; }
.tva-field label{ display:block; font-size:14px; margin-bottom:8px; color:#111; }
.tva-field input[type="text"]{
  width:100%; height:40px; padding:8px 12px; box-sizing:border-box;
  border:1px solid #cfd8dc; background:#fff; font-size:14px;
}
.tva-field input[type="text"]:focus{ border-color:#0d47a1; box-shadow:0 0 0 2px rgba(13,71,161,.08); }

.tva-rgpd{
  display:flex; align-items:flex-start; gap:10px;
  margin:22px 0 14px; max-width:820px;
}
.tva-rgpd input[type="checkbox"]{ margin-top:3px; }
.tva-rgpd .rgpd-text{ font-size:12px; line-height:1.45; color:#222; }
.tva-rgpd .rgpd-link{ color:#0d47a1; text-decoration:underline; }

.tva-actions{
  display:flex; justify-content:center; gap:16px;
  margin:10px 0 40px;
}
.tva-btn{
  min-width:210px; height:44px; padding:0 20px; box-sizing:border-box;
  font-weight:600; font-size:15px; text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
  border:1px solid transparent;
}
.tva-btn-outline{ background:#fff; color:#0d2a69; border-color:#90a4ae; }
.tva-btn-primary{ background:#005BFF; color:#fff; }
.tva-btn-primary:hover{ filter:brightness(1.05); }
.tva-btn.is-disabled,
.tva-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

@media (min-width: 992px) {
  .tva-form {
    margin-left: 32px;
  }
}

.popin-fin-traitement-assu-tva {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    z-index: 9999;
}

.popin-fin-traitement-assu-tva.show {
    display: flex;
}

.popin-fin-traitement-assu-tva-content {
    width: 100%;
    height: auto;
    max-width: 680px;
    background: #ffffff;
    padding: 40px 36px 32px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    animation: popinFadeIn 0.25s ease-out;
}

.popin-fin-traitement-assu-tva-icon-succes {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3aaa35, #2e7d32);
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(46, 125, 50, 0.22);
}

.popin-fin-traitement-assu-tva-icon-echec {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e53935, #c62828);
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(198, 40, 40, 0.25);
}

.popin-fin-traitement-assu-tva-content h2 {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #000000;
    background: transparent;
}

.popin-fin-traitement-assu-tva-content p {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.5;
    color: #000000;
}

.popin-fin-traitement-assu-tva-actions {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.popin-fin-traitement-assu-tva-actions .tva-btn.tva-btn-primary {
    min-width: 320px;
    max-width: 100%;
    padding: 16px 28px;
    border: none;
    background: #005BFF;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 91, 187, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.popin-fin-traitement-assu-tva-actions .tva-btn.tva-btn-primary:hover {
    background: #005BFF;
}

.popin-fin-traitement-assu-tva-actions .tva-btn.tva-btn-primary:active {
    transform: translateY(0);
}

.popin-fin-traitement-assu-tva-actions .tva-btn.tva-btn-primary:focus {
    outline: 3px solid rgba(0, 91, 187, 0.25);
    outline-offset: 3px;
}

@keyframes popinFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.input-grayed-out {
  background-color: #e9ecefa1 !important; /* Une couleur de fond grisée */
  opacity: 0.7; /* Une légère transparence pour accentuer l'effet */
}

.insee-data-section {
    background-color: #dceaf7;
    margin-top: 20px;
    padding: 20px;
}

.contrats_detail p.second {
    font-size: 16px;
    color: #0e2372;
    margin-left: 30px;
    margin-bottom: 10px;
    font-weight: bold;
    padding: 0;
    margin-top: -25px;
}

.donneesInsee.insee-data-section {
    background-color: #dceaf7;
    margin-top: 20px;
    padding: 25px 32px;
    max-width: 840px;
    box-sizing: border-box;
}

.donneesInsee .second {
    font-size: 16px;
    color: #0e2372;
    font-weight: bold;
    margin: 0 0 22px 0;
    padding: 0;
}

.donneesInsee .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.donneesInsee .form-group label {
    width: 235px;
    min-width: 235px;
    font-size: 13px;
    font-weight: bold;
    color: #333333;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.donneesInsee .input-wrapper {
    flex: 1;
    margin-left: 18px;
}

.donneesInsee .readonly-field {
    width: 360px;
    height: 38px;
    padding: 7px 10px;
    border: 1px solid #d8d8d8;
    background-color: #eeeeee;
    color: #777777;
    font-size: 14px;
    box-sizing: border-box;
}

.donneesInsee .readonly-field:disabled {
    opacity: 1;
    -webkit-text-fill-color: #777777;
}