@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ─── Reset / Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body.supplier-layout {
  color: #000;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	background: rgba(253, 249, 243, 1);
  position: relative;
  min-height: 100vh;
  padding-bottom: 150px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
  text-transform: none;
}
.sl-header-inner .marketplace-link:hover,
.sl-footer a:hover,
.custom_color{
  background: linear-gradient(90deg, #DFAC36 0%, #D59D37 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dropdown i.expand-more{
  background: url("../img/arrow_down.svg") no-repeat center;
  font-size: 0;
  width: 20px;
  height: 20px;
  line-height: normal;
}
.custom-btn{
  color: #fff;
  background: #000;
  border: 1px solid #000;
  border-radius: 10px;
  font-size: 16px;
  text-transform: none;
  font-weight: 500;
  padding: 8px 10px;
  outline: none;
  text-decoration: none;
  text-align: center;
  text-shadow: none;
  box-shadow: none;
}
.custom-btn:hover{
  background: #fff;
  color: #000;
}
form .form-group{
  margin-bottom: 20px;
}
form .form-control{
  border: 1px solid rgba(217, 217, 217, 0.5) !important;
  background: #fff;
  border-radius: 10px !important;
  padding: 10px;
  outline: none !important;
  box-shadow: none !important;
}
form .form-control:active,
form .form-control:visited,
form .form-control:focus{
  background: rgba(238, 238, 238, 0.59);
}
form select.form-control{
  background: #fff url("../../img/select.svg") no-repeat calc(100% - 10px) center !important
}
form .form-control[name="password_confirm"]:focus, 
form .form-control[name="password"]:focus, 
form .form-control[name="password_confirm"], 
form .form-control[name="password"]{
  width: 100%;
  z-index: 0;
}
form .form-control[name="password_confirm"] + .input-group-append,
form .form-control[name="password"] + .input-group-append{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}
form .form-control[name="password_confirm"] + .input-group-append button,
form .form-control[name="password"] + .input-group-append button{
  font-size: 0;
  background: url('../../img/ion_eye-on-outline.svg') no-repeat center / 17px;
  padding: 0;
  border: none;
  min-width: 50px;
  min-height: 16px;
  height: 100%;
}
form .form-control[name="password_confirm"] + .input-group-append button i,
form .form-control[name="password"] + .input-group-append button i{
  font-size: 0;
}
form label[for="password_confirm"] + .input-group .form-control[type="text"] + .input-group-append button,
form label[for="password"] + .input-group .form-control[type="text"] + .input-group-append button{
	background: url('../../img/ion_eye-off-outline.svg') no-repeat center;
}
form label {
  font-size: 16px;
  color: #000;
  margin-bottom: 5px;
  font-weight: 500;
}
form .custom-checkbox input[type="checkbox"] {
  /*border: 1px solid rgb(217, 217, 217);
  border-radius: 3px;
  height: 20px;
  width: 20px;*/
}
form .custom-checkbox label {
  margin: 0 0 0px 5px;
  font-weight: 500;
}
form .custom-checkbox label a{
  text-decoration: none;
  border-bottom: 1px solid #EFCD6F;
}
.custom-radiobox .custom-radiobox-row {
  gap: 30px;
  margin-top: 10px;
}
.custom-checkbox input[type="checkbox"],
.custom-checkbox input[type="radio"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.custom-checkbox input[type="checkbox"] + label,
.custom-checkbox input[type="radio"] + label{
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  font-weight: normal;
}
.custom-checkbox input[type="checkbox"] + label:after,
.custom-checkbox input[type="checkbox"] + label:before,
.custom-checkbox input[type="radio"] + label:after,
.custom-checkbox input[type="radio"] + label:before{
  content: "";
  height: 20px;
  width: 20px;
  border: 1px solid rgba(217, 217, 217, 1);
  position: absolute;
  left: 0;
  top: 0;
}
.custom-checkbox input[type="checkbox"]:checked + label:after,
.custom-checkbox input[type="checkbox"]:checked + label:before,
.custom-checkbox input[type="radio"]:checked + label:after,
.custom-checkbox input[type="radio"]:checked + label:before{
  border-color: #000;
}
.custom-checkbox input[type="checkbox"]:checked + label:after,
.custom-checkbox input[type="radio"]:checked + label:after{
  height: 12px;
  width: 12px;
  left: 4px;
  top: 4px;
  background: #000;
}
/* ─── Header ────────────────────────────────────────────────────────────── */
.sl-header {
  
}
.sl-header-inner {
  background: #fff;
  -webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
  padding: 5px 0;
}
.target_supplier_login a,
.sl-header-inner .marketplace-link {
  color: #000;
  text-decoration: none;
  text-transform: none;
  outline: none;
  font-weight: 500;
  line-height: normal;
  font-size: 16px;
}
.sl-header-inner .marketplace-link:hover svg path{
  fill: #DFAC36;
}
.sl-logo {}
.sl-logo-img { width: auto; object-fit: contain; max-height: 65px; }
.sl-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  letter-spacing: .02em;
}
.sl-login-link {
  font-size: 16px;
  color: rgba(124, 124, 124, 1);
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.sl-right{
  text-align: right;
}
.sl-right .sl-login-link {
  display: inline-flex;
  text-align: right;
  justify-content: end;
}
.sl-login-link .custom-btn{
  display: inline-block;
}
@media only screen and (max-width: 576px) {
	.sl-header-inner .sl-right {
	  text-align: center;
	}
  .sl-right .sl-login-link,
	.sl-login-link {
	  justify-content: center;
    text-align: center;
	}
  .sl-header-inner .marketplace-link {
    text-align: center;
    justify-content: center;
  }
}

/* Barre dorée sous le header */


/* ─── Contenu principal ─────────────────────────────────────────────────── */
.sl-main {}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.sl-footer {
  padding: 15px;
  background: rgb(58, 58, 58);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.sl-footer a,
.sl-footer{
  color: #fff;
  font-size: 16px;
  line-height: normal;
}
.sl-footer a{
  text-decoration: none;
  outline: none;
}
.sl-footer ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
@media only screen and (max-width: 767px) {
	.sl-footer ul {
	  gap: 5px;
	  justify-content: center;
	  text-align: center;
	}
}

/* ─── Formulaire d'inscription ──────────────────────────────────────────── */
.supplier-registration-page {
  margin: 0;
}
.supplier-registration-page .col-left{
  padding-left: 0;
}
.supplier-registration-page .col-left .col_left_cover {
  height: 100%;
}
.supplier-registration-page .col-right{
  padding-right: 0;
}
.supplier-banner .banner-visual{
  height: 100%;
}
.supplier-banner .banner-visual img{
  object-fit: cover;
  object-position: center;
}
.supplier-banner .carousel {
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 50px;
  left: 65px;
  right: 65px;
  display: none !important;
}
.supplier-banner .carousel .carousel-inner {
  height: auto;
  background: rgba(255, 255, 255, 0.084);
  box-shadow: -23.7px 23.7px 23.7px 0px rgba(255, 255, 255, 0.084) inset;
  box-shadow: 23.7px -23.7px 23.7px 0px rgba(194, 194, 194, 0.084) inset;
  backdrop-filter: blur(33.65399932861328px);
  border-radius: 15px;
  padding: 20px 15px 15px;
}
.supplier-banner .carousel .carousel-inner .testimonial_desc {
  font-size: 14px;
  color: #fff;
  line-height: 100%;
  font-family: "Montserrat", sans-serif;
}
.supplier-banner .carousel .carousel-inner .testimonial_infos {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}
.supplier-banner .carousel .carousel-inner .testimonial_infos .picture{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
}
.supplier-banner .carousel .carousel-inner .testimonial_infos .picture img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.supplier-banner .carousel .carousel-inner .testimonial_infos .texte{
  font-size: 12px;
  color: #fff;
  line-height: 100%;
  font-family: "Montserrat", sans-serif;
}
.supplier-banner .carousel .carousel-inner .testimonial_infos .texte .name{
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.supplier-banner .carousel .carousel-inner .testimonial_infos .texte .function{
  margin-top: 5px;
}

.supplier-form-wrap .supplier-form-wrap-cover {
  padding: 50px 50px 30px 50px;
  background: #fff;
  border-radius: 25px;
  width: 100%;
  max-width: 830px;
  margin: auto;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.15);
}
.supplier-form-wrap .supplier-form-wrap-cover .bloc_title{
  max-width: 650px;
  margin: auto auto 50px;
  text-align: center;
  font-size: 14px;
  line-height: normal;
  color: rgb(124, 124, 124);
}
.supplier-form-wrap .supplier-form-wrap-cover .title_h1 {
  font-size: 28px;
  font-weight: 700;
  text-transform: none;
  line-height: 100%;
  color: #000;
}
@media only screen and (max-width: 767px) {
	.supplier-form-wrap .supplier-form-wrap-cover {
	  padding-left: 20px;
	  padding-right: 20px;
	}
	.supplier-banner .carousel {
	  bottom: 40px;
	  left: 40px;
	  right: 40px;
	}
	.supplier-registration-page .col-left {
	  display: none;
	}
	.supplier-registration-page .col-right {
	  padding: 15px;
	}
}
.sl-main .supplier-email-sent {
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 20px;
  padding: 25px 30px 20px;
  max-width: 460px;
  margin: 100px auto;
}
.sl-main .supplier-email-sent .title_h3{
  font-weight: 700;
  font-size: 20px;
  color: #000;
  line-height: normal;
}
.sl-main .supplier-email-sent .desc{
  color: rgba(124, 124, 124, 1)
}
.sl-main .supplier-email-sent .desc2{
  font-size: 14px;
}
.sl-main .supplier-email-sent .desc .custom_color{
  font-weight: 600;
  text-decoration: none;
  font-style: italic;
}

/* ─── KYC : wrap & carte ────────────────────────────────────────────────── */
.supplier-kyc-wrap .kyc-card{
  
}
.supplier-kyc-wrap .kyc-card .kyc-card-cover{
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  max-width: 1050px;
  margin: auto;
  padding: 40px 80px 60px;
  background: #fff;
  border-radius: 10px;
}
.supplier-kyc-wrap .kyc-card .kyc-step-label{
  font-size: 14px;
  line-height: normal;
}
.supplier-kyc-wrap .kyc-card .kyc-step-label span{
  font-size: 20px;
}
.supplier-kyc-wrap .kyc-card #kyc-form{
  margin-top: 40px;
}
.supplier-kyc-wrap .kyc-card #kyc-form .kyc-nav{
  margin-top: 60px;
}
.supplier-kyc-wrap .kyc-card #kyc-form .kyc-nav .sl-prev{
  
}
.supplier-kyc-wrap .kyc-card #kyc-form .kyc-nav .btn{
  border: none;
  padding: 15px 15px;
  min-width: 204px;
  border-radius: 15px;
  color: #000;
  font-weight: 500;
  font-size: 16px;
  line-height: normal;
  box-shadow: none;
  outline: none;
}
.btn-linear-gradient,
.supplier-kyc-wrap .kyc-card #kyc-form .kyc-nav .sl-next{
  background: linear-gradient(90deg, #D59D37 0%, #DFAC36 36.06%, #EFCD6F 67.79%, #F5E072 100%);
  border: none;
  padding: 15px;
  border-radius: 15px;
  color: #000;
  font-weight: 500;
  font-size: 16px;
  line-height: normal;
  box-shadow: none;
  outline: none;
  text-transform: none;
}
.btn-linear-gradient:hover,
.supplier-kyc-wrap .kyc-card #kyc-form .kyc-nav .sl-next:hover{
  background: linear-gradient(0deg, #D59D37 0%, #DFAC36 36.06%, #EFCD6F 67.79%, #F5E072 100%);
}
.supplier-kyc-wrap .kyc-card #kyc-form .kyc-nav .sl-prev{
  border: 1px solid rgba(0, 0, 0, 1);
  padding: 13px 15px;
}
.supplier-kyc-wrap .kyc-card #kyc-form .kyc-nav .sl-prev:hover{
  background: #000;
  color: #fff;
}
@media (max-width: 1199px) {
	.supplier-kyc-wrap .kyc-card .kyc-card-cover {
	  padding: 40px 50px 60px;
	}
}
@media (max-width: 991px) {
	.supplier-kyc-wrap .kyc-card .kyc-card-cover {
	  padding: 30px;
	}
	.supplier-kyc-wrap .kyc-card #kyc-form .kyc-nav .btn {
	  min-width: 140px;
	}
	form .form-group.row .col-md-6 {
	  margin-bottom: 20px;
	}
}
@media (max-width: 575px) {
	form .form-group.row .col-md-6 {
	  margin-bottom: 20px;
	}
	.supplier-kyc-wrap .kyc-card .kyc-card-cover {
	  padding: 20px;
	}
}

/* ─── KYC : barre de progression ────────────────────────────────────────── */
.supplier-kyc-wrap .kyc-progress .progress{
  background: #f0f0f0;
  height: 7px;
  border-radius: 0;
}
.supplier-kyc-wrap .kyc-progress .progress .progress-bar{
  background: linear-gradient(90deg, #D59D37 0%, #DFAC36 36.06%, #EFCD6F 67.79%, #F5E072 100%);
  height: 100%;
}

/* ─── KYC : zones d'upload ──────────────────────────────────────────────── */
.kyc-upload-zone {
  position: relative;
  border: 2px dashed rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 24px 15px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: border-color .2s, background .2s;
  user-select: none;
}
.kyc-upload-zone .upload-input{
  position: absolute;
  opacity: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  left: 0;
  right: 0;
  cursor: pointer;
}
.kyc-upload-zone:hover,
.kyc-upload-zone.dragover   { border-color: #C8A84B; background: #fffdf3; }
.kyc-upload-zone.has-file   { border-color: #28a745; background: #f3fff6; }
.kyc-upload-zone.upload-error { border-color: #dc3545; background: #fff5f5; }

.kyc-upload-zone .upload-icon  { font-size: 1.4rem; color: #aaa; display: block; margin-bottom: 4px; }
.kyc-upload-zone .upload-label { font-size: 0.85rem; color: #aaa; display: block; }
.kyc-upload-zone.has-file   .upload-label { color: #28a745; }
.kyc-upload-zone.upload-error .upload-label { color: #dc3545; }

/* état uploading */
.kyc-upload-zone.uploading               { border-color: #C8A84B; background: #fffdf3; cursor: wait; }
.kyc-upload-zone.uploading .upload-label { color: #dc3545; font-weight: 700; }

/* barre de progression */
.kyc-upload-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0,0,0,.07);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.kyc-upload-progress-bar {
  height: 100%;
  width: 0%;
  background: #C8A84B;
  transition: width .15s ease;
}

/* ─── Boutons ────────────────────────────────────────────────────────────── */
.btn-supplier-primary {
  background: #C8A84B;
  border-color: #C8A84B;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  padding: 10px 28px;
}
.btn-supplier-primary:hover { background: #b8963c; border-color: #b8963c; color: #fff; }

/* ─── Utilitaires formulaires ────────────────────────────────────────────── */
.form-group label sup { color: #d00; }
.custom-checkbox label { cursor: pointer; margin-left: 4px; }
.btn-toggle-password { background: transparent; border-color: #ced4da; }

.supplier-success-cover{
  max-width: 605px;
  margin: auto;
}

/* ─── Flag Select (dropdown avec drapeaux) ──────────────────────────────── */
form .phone-prefix-group {
  border: 1px solid rgba(217, 217, 217, 0.5);
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}
form .phone-prefix-group .form-control{
  border: none !important;
  padding: 4px 5px 4px 5px;
  background: none !important;
}
.phone-prefix-group .flag-select {
  width: auto;
  height: 100%;
  position: initial;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.phone-prefix-group .flag-select--prefix .flag-select-btn {
	background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.phone-prefix-group .flag-select--prefix .flag-select-btn .button_select{
  height: 100%;
  border-radius: 10px !important;
  min-width: 48px;
  padding: 5px 3px 5px 5px !important;
  width: auto;
  background: rgba(217, 217, 217, 0.3) !important;
  border: 1px solid rgba(217, 217, 217, 0.3);
  position: relative;
  display: flex;
  gap: 4px;
  align-items: center;
}
.phone-prefix-group .flag-select .flag-select-label {
  width: auto;
  height: auto;
  border-radius: 0;
}
.phone-prefix-group .flag-select .flag-select-arrow {
  left: auto;
  right: 1px;
}
.flag-select {
  position: relative;
}
.flag-select-btn {
  display: flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-align: left;
  background: #fff !important;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 32px !important;
  width: 100%;
  font-size: 16px;
}
.flag-select-flag {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
  object-position: center;
}
.flag-select-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #000;
}
.flag-select-arrow {
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("../../img/select.svg") no-repeat center;
  background-size: contain;
  pointer-events: none;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.flag-select.open .flag-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Dropdown panel */
.flag-select-dropdown {
  display: none;
  position: absolute;
  z-index: 1000;
  top: 100%;
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid rgba(217, 217, 217, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.flag-select.open .flag-select-dropdown {
  display: block;
}
.flag-select-search {
  display: block;
  width: 100%;
  border: none !important;
  border-bottom: 1px solid rgba(217, 217, 217, 0.5) !important;
  padding: 8px 12px;
  outline: none !important;
  font-size: 14px;
  border-radius: 10px 10px 0 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}
.flag-select-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 220px;
  overflow-y: auto;
}
.flag-select-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.1s;
}
.flag-select-list li:hover,
.flag-select-list li.selected {
  background: rgba(238, 238, 238, 0.59);
}
.flag-select-list li img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.flag-select-list .fs-prefix {
  margin-left: auto;
  color: #888;
  font-size: 12px;
  white-space: nowrap;
}

/* Phone prefix variant */
.phone-prefix-group {
  display: flex;
  align-items: stretch;
}
.phone-prefix-group .flag-select--prefix {
  flex-shrink: 0;
}
/* Country variant */
.flag-select--country {
  width: 100%;
}
.flag-select--country .flag-select-btn {
  width: 100%;
}

/* ─── Page de connexion fournisseur ─────────────────────────────────────── */
.supplier-login-page {
  padding: 60px 15px 100px;
}
.supplier-login-card {
  background: #fff;
  border-radius: 25px;
  padding: 30px;
  width: 100%;
  max-width: 475px;
  margin: auto;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.15);
}
@media (max-width: 575px) {
  .supplier-login-card {
    padding: 30px 20px;
  }
}
.supplier-login-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #000;
}
.supplier-login-btn {
  color: #fff;
}
.target_supplier_login a{
  justify-content: center;
}
.return_to_login a,
.supplier-forgot-link {
  font-size: 14px;
  color: rgba(124, 124, 124, 1);
  text-decoration: none;
}
.return_to_login a:hover,
.supplier-forgot-link:hover {
  color: #000;
  text-decoration: underline;
}
