*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --font-display: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    --font-family: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    --bs-primary-500:#4719c4;
    --bs-primary-400:#623ad1;
    --bs-primary-300:#805ddf;
    --bs-primary-200:#9e80ee;
    --bs-primary-100:#c0a9ff;
    --dark-blue: #006ea6;
    --hover-blue: #3e85be;
    --very-dark-blue: #096493;
    --light-blue: #94A9E2;
    --blue: #4DA1E6;
    --gray-blue: #8192bd;
    --gray-pink : #d80fa6;
    --light-gray : #d0d0d0;
    --light-gray-indication: #aaaaaa;
    --gray: #808080;
    --dark-gray: #555;
    --very-dark-gray: #333;
    --green: #45a049;
    --red: #cc0000;
    --background-color: #fafbfc;
    --hover-color: rgba(255, 255, 255, 0.15);
    --text-color: #000000;
    --white: white;
    --very-light-gray :#f3f3f3;
    --extra-light-gray :#fafafa;
    --increment-yellow :#FF7B1E;
    --increment-light-yellow :#ffb444;

    --very-small: 10px;
    --small: 12px;
    --medium: 14px;
    --large: 20px;
    --title-size : 24px;
    --main-title-size : 38px;
    --number-size: 32px;
    --number-size-s: 20px;

    --tiny-border-radius: 2px;
    --small-border-radius:5px;
    --border-radius:8px;
} 


html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    min-height: 100vh; 
}
.content {
    top: 50px;
    position: absolute;
    height: calc(100vh - 50px);
    width: 100%;
}
.content.home-tvreach{
    min-height: calc(100vh - 50px);
    height: auto;
}
.navbar {
    width: 100vw;
    height: 60px;
    background: linear-gradient(70deg, 
    var(--bs-primary-500) 0% 70%,
    var(--bs-primary-400) 70% 75%,
    var(--bs-primary-300) 75% 80%,
    var(--bs-primary-200) 80% 85%,
    var(--bs-primary-100) 85% 100%
);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left : 8px;
    padding-right: 25px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    margin: 0;
    box-sizing: border-box;
    box-shadow: 0 0 5px #888;
}

.logo-container {
    /* The REACH TV EXTEND asset is a near-square roundel: fitting it inside
       the 60px bar makes it tiny. Instead, draw it deliberately taller than
       the bar and let this bar-height, clipped box hide its top and bottom
       (the logo reads as if it sits *behind* the bar) -- an artificial zoom.
       To resize the logo, change the height in `background-size` below;
       widen `width` to match if it starts to get cut off on the right. */
    width: 190px;
    height: 60px; /* = .navbar height */
    margin-left: 11px;
    overflow: hidden;
    background-image: url('REACH_TV_EXTEND_LOGO_ORANGE.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 100px;
}



.user-icon {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    color : white
}

.small-icon .material-symbols-outlined {
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 25px; 
}
.material-symbols-outlined.contact{
    color: white;
}

.big-icon .material-symbols-outlined{
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 25px;
}

.user-icon .material-symbols-outlined:hover {
    transform: scale(1.3);
}

/* pop up */
.dropdown-popup {
    display: block;
    opacity: 0; 
    visibility: hidden;
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    width: 300px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 99;
    animation: slideDown 0.3s;
    margin:-10px;
}

.dropdown-popup.show {
    opacity: 1;
    visibility: visible;
}

.dropdown-popup h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: var(--very-dark-gray);
}

.dropdown-popup p {
    margin: 0;
    font-size: 14px;
    color: var(--gray);
}
#notif-popup{
    position: absolute;
    right: 35px;
    top: 70px;
}

@keyframes slideDown {
    from { 
        transform: translateY(-10px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

/* account pop-up */
.big-icon {
    position: relative;
    display: inline-block;
}

/* Bouton d'ouverture */
.btn-open-popup {
    padding: 12px 24px;
    background-color: var(--bs-primary-500);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-open-popup:hover {
    background-color: var(--bs-primary-500);
}

.popup-dropdown {
    display: block; 
    opacity: 0; 
    visibility: hidden; 
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 99;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-dropdown.show {
    opacity: 1;
    visibility: visible;
}

/* Carte de la popup */
.popup-card{
    background-color: white;
    border-radius: 20px;
    padding: 40px 30px;
    width: 300px;
    max-width: calc(100vw - 40px); 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    margin-top:-10px;
    border:1px solid var(--light-gray);
}

/* Cercle avec initiale */
.profile-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--bs-primary-300), var(--bs-primary-300));
    border-radius: 50%;
    margin: 10px auto 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 4px 5px rgba(76, 175, 80, 0.3); */
}

.profile-initial {
    color: white;
    font-size: 45px;
    font-weight: 700;
    font-family: var(--font-family);
}

/* email */
.user-email{
     display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px; 
    border: 1px solid var(--light-gray);
    border-radius: 15px;
    margin: 0 15px;
}

/* Texte status */
.status-text {
    color: #999;
    font-size: 14px;
    margin: 30px 0 25px;
    font-weight: 600;
}

/* Conteneur des boutons */
.popup-buttons {
    display: flex;
    flex-direction: row;
    padding: 0 15px;
    justify-content: space-between;
    margin-top: 20px;
}

/* Boutons d'action */
.btn-popup {
    flex: 1;
    padding: 5px 20px;
    border: 1px solid var(--bs-primary-300);
    background-color: white;
    color: var(--bs-primary-300);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 120px;
    min-height:29px;
    text-decoration: none;
}

.btn-popup:hover {
    background-color: var(--bs-primary-300);
    color: white;
}

.btn-share .material-symbols-outlined {
    font-size: 24px;
}

.headbar-a {
    text-decoration:none;
    font-size: var(--large);
}

.headbar-login {
    color:white;
    border: 3px solid white;
    border-radius:5px;
    padding: 5px;
    margin-right: 20px;
}

.headbar-login:hover, .headbar-login:visited {
    background-color: white;
    color: black;
    text-decoration:none;
}

.headbar-subscribe {
    color:white;
    border-radius:5px;
    padding: 5px;
}

.button_loader{background-color:#6b8cd4;color:#9fb0d4;background-image:url(/media/button_spinner.gif);background-size:50px 50px;background-repeat:no-repeat;background-position:center;}

.error_toast, .success_toast{
    position:fixed;
    bottom:70px;
    left:50%;
    transform:translateX(-50%);
    z-index:30;

    margin:auto;
    padding:10px;
    width:1000px;
	
	border-radius:8px;
	
    color:#fff; 
    text-align:center;
    font-size: var(--medium); 
    font-weight:600;
}
.error_toast{
	background-color:#dd4444;
	border:1px solid #c44;
}
.success_toast{
  background-color:#6ab04c;
  border:1px solid #6ab04cd5;
  animation: fadeOut ease 6s;
  -webkit-animation: fadeOut ease 6s;
  -moz-animation: fadeOut ease 6s;
  -o-animation: fadeOut ease 6s;
  -ms-animation: fadeOut ease 6s;
}
.toast_text {
	width:95%;
	display:inline-block;
}
.toast_text_collapsed{
	overflow:hidden;
	max-height: 48px;
}
.toast_text a {color:unset;}

.error_toast_close{float:right;text-decoration:none;height:20px;display: flex;}
.error_toast_close a:hover{color:#fff;text-decoration:none;}
.error_toast_close a:visited{color:#fff;text-decoration:none;}
.error_toast_close a{color:#fff;text-decoration:none;display: flex;align-items:center}

/* Animation d'ouverture */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}



/* Responsive */
@media (max-width: 480px) {
    .popup-card{
        padding: 30px 20px;
        width: 320px;
    }
    .profile-circle {
        width: 100px;
        height: 100px;
    }
    .profile-initial {
        font-size: 50px;
    }
    .action-buttons {
        flex-direction: column;
    }
    .btn-action {
        max-width: 100%;
    }
}


   .complete-popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); 
    justify-content: center;
    align-items: center;
    z-index: 99;
    
}

    .complete-popup.show {
        display: flex;}

    .complete-popup h2 {
    font-size: 22px; 
    color: var(--dark-gray);
}

.complete-popup p {
    font-size: 14px; 
    color: var(--gray);

}

/* account page */

.account-page-sizer{
    max-width:1300px;
    padding-left:20px;
}

.account-container {
    /* max-width: calc(100vh - 200px); */
    margin: 50px 20px;
    display: flex;
    flex-direction: row;
}
.account-container.information{
    width: calc(100% - 40px);
    /* height: 80%; */
}
.account-cards-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
.account-cards-wrapper.information{
    width: 100%;
    margin-left:30px;
}
.account-card, .information-card {
    width: 70%;
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}
.account-card-header, .account-card-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border-bottom: 1px solid var(--light-gray);
}
.account-card-subtitle h2{
    font-size: var(--small);
    color: var(--very-dark-gray);
    font-weight: 400;
    text-align: justify;
}
.title-account-container{
    padding: 40px 20px;
    padding-bottom: 0;
}
.title-account{
    color: var(--dark-gray);
    font-size: var(--title-size);
    text-transform: uppercase;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-left: 30px;
}
.subtitle-account{
    color: var(--gray);
    font-size: var(--medium);
    margin-left:30px;
}
#account-icon-personal, #account-icon-services{
    color: var(--very-dark-gray);
    font-size: 30px;
} 
.account-card-header h2 {
    font-size: var(--large);
    color: var(--very-dark-gray);
    font-weight: 400;
    margin: 0;
}
.account-card-body {
    padding: 20px 40px;
}
.account-field-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--very-light-gray);
}
.account-field-row.download{
    justify-content: space-between;
    padding-right:5px;
}
.account-field-row:last-child {
    border-bottom: none;
}
.account-field-label {
    flex: 0 0 300px;
    font-weight: 600;
    font-size: var(--medium);
    color: var(--very-dark-gray);
    margin: 0;
}
.account-field-input {
    flex: 1;
    min-width: 0;
    border: 1px solid transparent;
    background-color: transparent;
    padding: 6px 10px;
    font-family: inherit;
    font-size: var(--medium);
    color: var(--dark-gray);
    text-align: right;
    border-radius: var(--small-border-radius);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.account-field-input[readonly] {
    cursor: default;
}
.account-field-input::placeholder {
    color: var(--gray);
    font-style: italic;
}
.account-field-row.editing .account-field-input {
    border-color: var(--tvconnect-blue);
    background-color: var(--white);
    text-align: left;
}
.account-field-edit-btn {
    flex-shrink: 0;
    color: var(--gray);
    font-size: var(--large);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.account-field-edit-btn:hover {
    color: var(--tvconnect-blue);
    background-color: var(--very-light-gray);
}
.account-field-row.editing .account-field-edit-btn {
    color: var(--tvconnect-blue);
}
.account-field-radio-group{
    margin-left: auto;
    color: var(--dark-gray);
    font-size: var(--medium);
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0 10px;
}
.account-field-radio{
    cursor: pointer;
}
.title-column.account{
    padding-top: 20px;
}
.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.account-service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}
.account-service-item.inactive, .service-text.inactive h3, .material-symbols-outlined.service-icon.inactive {
    color: var(--gray);
    cursor: default;
}
.account-service-item:not(.inactive):hover{
    background-color: var(--very-light-gray);
}
.account-service-item .add-btn-account {
    margin-left: auto;
    align-self: center;
}
.service-icon { font-size: 25px; }
.service-icon.blue { color: var(--tvconnect-blue); }
.service-icon.orange { color: var(--tvconnect-yellow); }
.service-icon.pink { color: var(--tvconnect-pink); }

.service-text h3 { margin: 0; font-size: var(--medium); color: var(--dark-gray); }
.service-text p { margin: 5px 0 0; font-size: var(--small); color: var(--gray); max-width:250px; }

.account-buttons {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}
#save-btn-account {
    display: block;
    margin: 30px 30px 30px auto;
}
.contact-main-content{
    height: calc(100vh-60px);
    margin-left: 60px;
    margin-top: 20px;
}



#map-overlay {
    font-family: var(--font-family);
    padding: 40px 0;
}
.contact-form-overlay {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--light-gray);
    width: 60vh;
    padding: 30px;
    margin-left: 50px;
}
.fancy-title h3 {
    font-weight: 700;
    font-size: var(--large);
    color: var(--dark-gray);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.title-border h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--tvconnect-blue);
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: var(--medium);
    color: var(--dark-gray);
    margin-bottom: 4px;
}
.form-group label small {
    color: #e53e3e;
    font-size: 1rem;
}
.form-group input, .form-group textarea {
    color: var(--dark-gray);
    font-weight: 400;
    font-family: var(--font-family);
}
.form-group-hint {
    font-size: var(--very-small);
    color: var(--gray);
    margin-bottom: 2px;
    margin-top:-5px;
}
.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: var(--medium);
    color: var(--dark-gray);
    background-color: var(--background-color);
    border: 1px solid var(--light-gray);
    border-radius: var(--small-border-radius);
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    font-weight: 400;
}
.form-control:focus {
    outline: none;
    border-color: var(--tvconnect-blue);
    background-color: #fff;
}
.form-control[readonly] {
    background-color: var(--very-light-gray);
    color: var(--gray);
    cursor: not-allowed;
    pointer-events: none;
    /* border-style: dashed; */
    box-shadow: none;
}
.form-control[readonly]:focus {
    border-color: var(--light-gray);
    background-color: var(--very-light-gray);
}
.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 1.25rem;
}
.form-row-inline .form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}
.form-row-inline .form-group .form-control {
    margin-top: auto;
}
@media (max-width: 600px) {
    .form-row-inline {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-row-inline .form-group {
        margin-bottom: 1.25rem;
    }
    .form-row-inline .form-group:last-child {
        margin-bottom: 0;
    }
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.form-group-submit {
    text-align: right;
    margin-bottom: 0;
}
.d-none {
    display: none !important;
}
.contact-dialog, .benchmark-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(600px, 92vw);
    max-height: 90vh;
    padding: 0;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    color: var(--dark-gray);
    font-family: var(--font-family);
    overflow: hidden;
}
.contact-dialog[open] , .benchmark-dialog[open]{
    display: flex;
    flex-direction: column;
}
.contact-dialog::backdrop ,.benchmark-dialog::backdrop{
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.contact-dialog #template-contactform {
    padding: 24px;
    margin: 0;
    overflow-y: auto;
}
#template-contactform-company, #template-contactform-email{
    font-weight: 400;
}
.contact-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--light-gray);
}
.contact-title{
    font-size: var(--large);
    font-weight: 600;
    color: var(--very-dark-gray);
}
.close-contact-btn{
    color: var(--dark-gray);
    font-size: var(--medium);
    cursor: pointer;
    margin-left: auto;
    font-weight: bold;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.15s ease;
}
.close-contact-btn:hover{
    background-color: var(--light-gray);
}




.side-menu {
  width: 70px;
  padding: 6px 6px;
  position: fixed;
  left: 0px;
  top: 50px;
  height: calc(100% - 50px);
  z-index: 29;
  border-right: 1px solid var(--light-gray);
  background-color: white;
  display: flex;
  flex-direction: column;
}
.side-menu.benchmark{
    width: 150px;
}

/* Groupe des icônes de navigation */
.side-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding-top: 20px;
}
.side-menu-item.benchmark{
    display: flex;
    flex-direction: row;
    padding: 5px 15px;
}

/* Item : icône + label empilés verticalement */
.side-menu-item {
  cursor: pointer;
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 2px 4px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  width: 100%;
}

/* Icônes */
.side-menu-item .material-symbols-outlined {
  font-size: 22px;
  color: var(--dark-gray);
  border-radius: 15px;
  padding: 4px 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.side-menu-title{
    color: var(--gray);
    font-size: var(--small);
    text-transform: uppercase;
    margin-top: 50px;
}
.side-menu-campaign{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
}
/* Hover : fond gris clair sur l'icône uniquement */
.side-menu-item:hover .material-symbols-outlined {
  background-color: var(--very-light-gray);
  color: var(--very-dark-gray);
}
.side-menu-item.benchmark:hover {
  background-color: var(--very-light-gray);
  color: var(--very-dark-gray);
}

/* Label sous l'icône */
.side-menu-label {
  font-size: 10px;
  width: 100%;
  color: var(--dark-gray);
  font-family: var(--font-family);
  text-align: center;
  line-height: 1.2;
  margin-top: 2px;
  transition: color 0.2s ease;
}

.side-menu-item:hover .side-menu-label {
  color: var(--very-dark-gray);
}

/* Item actif : fond coloré sur l'icône, couleur spécifique par item */
.side-menu-item.active .material-symbols-outlined {
  border-radius: 15px;
  padding: 4px 8px;
  color: var(--very-dark-gray);
}

#side-menu .side-menu-item.active .material-symbols-outlined {
  background-color: rgba(192, 169, 255, 0.3);
  color: var(--bs-primary-500);
}

.information-card{
    display: flex;
    flex-direction: column;
    width: 60%;
    max-width: 700px;
    /* justify-content: space-between; */
}
.effect-flash {
    animation: flashBordure 2s ease-out;
}
@keyframes flashBordure {
    0% {
        border-color: var(--light-gray);
        box-shadow: none;
    }
    25% {
        border-color: var(--blue); 
        box-shadow: 0 0 12px var(--light-blue); 
    }
    100% {
        border-color: var(--light-gray);
        box-shadow: none;
    }
}


.btn.information{
    margin: auto 30px 30px auto;
}
.link{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: var(--small);
    color: var(--blue);
    text-decoration: none;
}
.custom-file-upload {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 14px;  
    text-align: center;
    background-color: white;
    border: 1px solid var(--light-gray);
    border-radius: var(--tiny-border-radius);
    color: var(--very-dark-gray);
    font-size: var(--medium);
    cursor: pointer;
    transition: background 0.3s;
}
.custom-file-upload .material-symbols-outlined {
    font-size: 28px;
    color: var(--blue);
    cursor: pointer;
}
.upload-container{
    margin: 20px 0;
}
.upload-container.drag-over .custom-file-upload {
    background-color: rgba(77, 161, 230, 0.12);
    border-color: var(--blue);
    /* border-style: dashed; */
}
.upload-container.attention-halo .custom-file-upload {
    animation: uploadHalo 2.4s ease-in-out infinite;
}
@keyframes uploadHalo {
    0%, 100% {
        box-shadow: 0 0 0 rgba(77, 161, 230, 0);
    }
    50% {
        box-shadow: 0 0 14px rgba(77, 161, 230, 0.35);
    }
}
.upload-label {
    font-size: var(--small);
    color: var(--very-dark-gray);
}
.upload-hint {
    font-size: var(--very-small);
    color: var(--gray);
    font-style: italic;
}
.subtab-input{
    color: var(--very-dark-gray);
    background-color: white;
    padding: 5px 10px;
    width: 100%;
    border-radius: var(--tiny-border-radius);
    border: 1px solid var(--light-gray);
}
.subtab-input.information{
    width: 50%;
    margin-left: auto;
    text-align: right;
}
.label {
    color: var(--very-dark-gray);
    font-size: var(--small);
}
.account-field-label-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.account-field-label-hint {
    color: var(--light-gray-indication);
    font-size: var(--small);
}



/* Confirmation dialog */
.confirm-dialog {
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 0;
    max-width: 80wh;
    background-color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin: 35vh auto auto auto;
}
.confirm-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
}
.confirm-dialog-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 8px;
}
.confirm-dialog-icon {
    font-size: 32px;
    color: var(--bs-primary-500);
}
.confirm-dialog-title {
    font-size: var(--large);
    font-weight: 600;
    color: var(--very-dark-gray);
}
.confirm-dialog-body {
    padding: 8px 24px 20px;
    font-size: var(--medium);
    color: var(--very-dark-gray);
    line-height: 1.5;
}
.confirm-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px 24px;
    align-items: stretch;
    height: 70px;
}
.confirm-dialog-actions > * {
    height: 100%;
}

/* ============================================================
   Régie file popup (tvsincrement) -- the "Charger le fichier régie" card
   shown as a centered modal instead of a full page navigation. Scoped to
   .regie-file-popup so the other .confirm-dialog instances (contact,
   benchmark, tvimpact confirmations) and the standalone provide_information
   page keep their existing layout untouched.
   ============================================================ */
dialog.regie-file-popup {
    /* True centering on both axes: the native <dialog> default is
       margin:auto (shrink-wrapped + centered), but .confirm-dialog
       overrides margin to a fixed 35vh-from-top offset -- undo that here. */
    margin: auto;
    /* .confirm-dialog's max-width: 80wh is an invalid CSS unit (no effect
       either way); state it explicitly so the popup is sized by its
       content (the card), not by that rule. */
    max-width: none;
    max-height: 90vh;
    overflow: auto;
}
.regie-file-popup .account-cards-wrapper.information {
    /* Outside a dialog this is width:100% of the full-page account
       container; inside the popup there is no such ancestor, so give it
       a definite (non-percentage) size equal to the card itself. */
    width: auto;
    margin: 0;
}
.regie-file-popup .information-card {
    /* Fixed width (rather than the page layout's 60%/700px-max chain)
       so the dialog -- which shrink-wraps to its content -- ends up
       exactly the card's size instead of depending on percentages that
       have no definite parent width to resolve against inside a dialog. */
    width: 640px;
    max-width: 90vw;
}
/* Campaign name in the popup title: the same accent yellow used across
   the site for "needs attention" (TVS increment cards, upload button --
   see .btn-tertiary) while no file has been provided yet; muted gray,
   matching .no-campaign / subtitle text, once one has. */
.regie-popup-campaign-name {
    /* Sits on its own line (after the <br> in the title markup) so a long
       campaign name wraps within its own box instead of the browser
       breaking the line mid-name, part on the "pour la campagne" line. */
    display: block;
    color: var(--increment-yellow);
    font-weight: 600;
}
.regie-popup-campaign-name.uploaded {
    color: var(--gray);
}
/* Compact card replacing the dropzone once a file has already been sent
   for this régie -- smaller than .custom-file-upload since there is no
   "drop here" affordance to make room for, just the filename + an action. */
.uploaded-file-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--tiny-border-radius);
    background-color: var(--extra-light-gray);
}
.uploaded-file-icon {
    flex-shrink: 0;
    color: var(--blue);
    font-size: 20px;
}
.uploaded-file-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--small);
    color: var(--very-dark-gray);
}
.uploaded-file-edit-link {
    flex-shrink: 0;
    border: none;
    background: none;
    padding: 0;
    color: var(--blue);
    font-size: var(--small);
    font-family: inherit;
    cursor: pointer;
}
.uploaded-file-edit-link:hover {
    text-decoration: underline;
}
.upload-container.drag-over .uploaded-file-card {
    background-color: rgba(77, 161, 230, 0.12);
    border-color: var(--blue);
}