/*=====================================
          USER-FORM PAGE STYLE
======================================*/
.user-form-part {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
}

.user-form-banner {
  width: 60%;
  height: 100vh;
  background: url(../../images/bg/03.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 1;
}
.user-form-banner::before {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(40, 40, 40, 0.8));
  z-index: -1;
}

.user-form-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 600px;
}
.user-form-content a {
  margin-bottom: 35px;
}
.user-form-content a img {
  width: 250px;
  height: auto;
}
.user-form-content h1 {
  color: var(--white);
  font-size: 45px;
  line-height: 55px;
  margin-bottom: 45px;
}
.user-form-content h1 span {
  display: block;
}
.user-form-content p {
  color: var(--white);
  font-size: 24px;
  line-height: 32px;
}

.user-form-category {
  width: 40%;
  height: 100vh;
  background: #fbfbfb;
  overflow-y: scroll;
  overflow-x: hidden;
}

.user-form-header {
  position: fixed;
  top: 50px;
  left: 50px;
  z-index: 1;
}
.user-form-header a:nth-child(1) {
  display: none;
}
.user-form-header a i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  font-size: 16px;
  color: var(--primary);
  background: var(--white);
  text-shadow: var(--primary-tshadow);
  box-shadow: var(--primary-bshadow);
}
.user-form-header a i:hover {
  color: var(--white);
  background: var(--primary);
}

.user-form-category-btn {
  margin-bottom: 50px;
}

.user-form-title {
  text-align: center;
  margin-bottom: 45px;
}
.user-form-title h2 {
  margin-bottom: 7px;
}

.user-form-option {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.user-form-option li {
  margin: 0px 8px;
}
.user-form-option li a {
  width: 125px;
  padding: 5px;
  color: var(--white);
  border-radius: 8px;
}
.user-form-option li a i {
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 8px;
  font-size: 12px;
  margin-right: 8px;
  text-shadow: var(--primary-tshadow);
}
.user-form-option li a span {
  font-size: 14px;
  text-transform: capitalize;
  text-shadow: var(--primary-tshadow);
}
.user-form-option li:nth-child(1) a {
  background: #4267B2;
}
.user-form-option li:nth-child(1) a i {
  background: #375797;
}
.user-form-option li:nth-child(2) a {
  background: #1DA1F2;
}
.user-form-option li:nth-child(2) a i {
  background: #1a95e2;
}
.user-form-option li:nth-child(3) a {
  background: #DB4437;
}
.user-form-option li:nth-child(3) a i {
  background: #be3a2e;
}

.user-form-devider {
  position: relative;
  z-index: 1;
}
.user-form-devider::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 1px;
  background: #e8e8e8;
  z-index: -1;
}
.user-form-devider p {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #e8e8e8;
  margin: 0px auto 30px;
}

.user-form-direction {
  text-align: center;
  margin: 30px 0px 50px;
}
.user-form-direction p {
  color: #666666;
  font-size: 18px;
  width: 290px;
  margin: 0 auto;
}
.user-form-direction p span {
  font-weight: 500;
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}
.form-group:focus-within .form-icon {
  visibility: visible;
  opacity: 1;
}
.form-group:focus-within .form-alert {
  display: block;
}
.form-group .btn {
  width: 100%;
  padding: 10px 30px;
}

.form-control {
  width: 100%;
  height: 45px;
  background: var(--white);
  padding: 0px 55px 0px 20px;
  transition: all linear 0.3s;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
}
.form-control:focus {
  outline: none;
  box-shadow: none;
  color: var(--gray);
  background: var(--white);
  border-color: var(--primary);
}

.form-icon {
  border: none;
  background: none;
  line-height: 0px;
  position: absolute;
  top: 15px;
  right: 20px;
  visibility: hidden;
  opacity: 0;
  transition: all linear 0.3s;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
}
.form-icon i {
  font-size: 16px;
  color: #aaaaaa;
}

.form-alert {
  display: none;
  padding: 3px 20px;
}

.form-forgot {
  font-size: 15px;
  color: var(--gray);
}
.form-forgot:hover {
  color: var(--primary);
  text-decoration: underline;
}

.custom-control-label {
  font-size: 15px;
  line-height: 26px;
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-left: 28px;
  display: inline-block;
  margin-bottom: 0;
}

.custom-control-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.custom-control-label::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 12px;
  height: 12px;
  background-color: transparent;
  transition: all 0.3s ease;
}

.custom-control-input {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: #1a1a1a;
  background-color: #1a1a1a;
  box-shadow: none;
}

.custom-control-input:checked ~ .custom-control-label::after {
  content: "✓";
  color: white;
  font-size: 14px;
  font-weight: bold;
  left: 4px;
  top: 2px;
  width: auto;
  height: auto;
  background-color: transparent;
}

.custom-control-label:hover::before {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.1);
}

.custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
}

.form-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  background: var(--primary);
  border-radius: 8px;
}
.form-grid input {
  width: 100%;
  height: 45px;
  border: none;
  background: transparent;
  padding: 0px 20px;
}
.form-grid .btn {
  width: 180px;
  height: 45px;
  padding: 14px 0px;
  text-align: center;
}

@media (max-width: 767px) {
  .user-form-option li a {
    width: auto;
  }
  .user-form-option li a i {
    width: 60px;
    margin-right: 0px;
  }
  .user-form-option li a span {
    display: none;
  }
}
@media (max-width: 575px) {
  .user-form-banner {
    display: none;
  }
  .user-form-category {
    width: 100%;
  }
  .user-form-header {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    padding: 15px;
    top: 0px;
    left: 0px;
    z-index: 3;
    width: 100%;
    background: var(--white);
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  }
  .user-form-header a:nth-child(1) {
    display: block;
  }
  .user-form-header a img {
    width: 150px;
  }
  .user-form-header a i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: var(--primary);
    background: var(--white);
  }
  .user-form-header a i:hover {
    color: var(--white);
    background: var(--primary);
  }
  .user-form-category-btn {
    margin-top: 72px;
  }
  .user-form-direction p {
    width: 100%;
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  .user-form-header {
    top: 30px;
    left: 30px;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .user-form-banner {
    width: 42%;
  }
  .user-form-content {
    width: 230px;
  }
  .user-form-content a img {
    width: 150px;
  }
  .user-form-content h1 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 25px;
  }
  .user-form-content p {
    font-size: 16px;
  }
  .user-form-category {
    width: 58%;
  }
  .user-form-direction p {
    width: 260px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .user-form-banner {
    width: 40%;
  }
  .user-form-content {
    width: 280px;
  }
  .user-form-content a img {
    width: 200px;
  }
  .user-form-content h1 {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 25px;
  }
  .user-form-content p {
    font-size: 20px;
    line-height: 28px;
  }
  .user-form-category {
    width: 60%;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .user-form-banner {
    width: 50%;
  }
  .user-form-content {
    width: 460px;
  }
  .user-form-content a img {
    width: 200px;
  }
  .user-form-category {
    width: 50%;
  }
}

/*=====================================
   CUSTOM THEME - NOIR/GRIS
=====================================*/

/* Adapter les couleurs primaires pour le thème noir */
:root {
  --primary-theme-color: #1a1a1a;
  --primary-theme-hover: #333333;
}

.user-form-header a i {
  color: #1a1a1a;
}

.user-form-header a i:hover {
  background: #1a1a1a;
}

.btn-inline {
  background: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: white !important;
  transition: all 0.3s ease;
}

.btn-inline:hover {
  background: #333333 !important;
  border-color: #333333 !important;
}

.form-control:focus {
  border-color: #1a1a1a !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: #1a1a1a !important;
  background-color: #1a1a1a !important;
}

.user-form-direction p span {
  color: #1a1a1a;
}

.form-forgot:hover {
  color: #1a1a1a;
}

/* Signin link styling */
.signin-link {
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.signin-link:hover {
  color: #333;
  text-decoration: underline;
}

/* Tab Content Management */
.tab-content {
  width: 100%;
}

.tab-pane {
  display: none;
  padding: 50px 60px;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.tab-pane.show {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*=====================================
        WIZARD FORM STYLING
======================================*/

.wizard-progress-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 0 20px;
  position: relative;
}

.wizard-progress-container::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.wizard-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.wizard-step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #999;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid #e0e0e0;
  margin-bottom: 10px;
  position: relative;
}

.wizard-step-circle.active {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.3);
}

.wizard-step-circle.completed {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.wizard-step-circle i {
  font-size: 20px;
}

.wizard-step-label {
  font-size: 13px;
  color: #666;
  text-align: center;
  font-weight: 500;
  display: block;
}

.wizard-step-connector {
  display: none;
}

.wizard-form {
  max-width: 500px;
  margin: 0 auto;
}

.wizard-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-content.active {
  display: block;
}

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

.wizard-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.wizard-step-title i {
  font-size: 24px;
  color: #1a1a1a;
}

.wizard-step-title h6 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.wizard-form-group {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.required {
  color: #dc3545;
  font-weight: bold;
}

.form-control,
.form-select {
  width: 100%;
  height: 45px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
  background-color: #fff;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
  background-image: none;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #999;
}

textarea.form-control {
  height: auto;
  min-height: 100px;
  resize: vertical;
  padding: 12px 15px;
}

.wizard-buttons {
  display: flex;
  gap: 12px;
  margin-top: 35px;
  justify-content: flex-end;
}

#wizard-prev-btn {
  display: none;
  flex: 1;
}

#wizard-next-btn,
#wizard-submit-btn {
  flex: 1;
}

.btn {
  height: 45px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-inline {
  background: #1a1a1a;
  color: white;
  border: 1px solid #1a1a1a;
}

.btn-inline:hover {
  background: #333;
  border-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.2);
}

.btn-inline:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.btn-outline-secondary {
  background: white;
  color: #666;
  border: 1px solid #ddd;
}

.btn-outline-secondary:hover {
  background: #f5f5f5;
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.alert-box {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.alert-danger {
  background: #fff5f5;
  color: #c33;
  border: 1px solid #f0d8d8;
}

.alert-success {
  background: #f0f9f5;
  color: #28a745;
  border: 1px solid #d4f4e8;
}

.alert-danger i,
.alert-success i {
  font-size: 18px;
}

/* Responsive Design */
@media (max-width: 767px) {
  .wizard-progress-container {
    padding: 0 10px;
    margin-bottom: 30px;
  }

  .wizard-progress-container::before {
    left: 30px;
    right: 30px;
  }

  .wizard-step-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .wizard-step-label {
    font-size: 11px;
  }

  .wizard-buttons {
    flex-direction: column;
  }

  #wizard-prev-btn,
  #wizard-next-btn,
  #wizard-submit-btn {
    flex: 1;
  }

  .form-label {
    font-size: 13px;
  }

  .form-control,
  .form-select {
    height: 40px;
    font-size: 13px;
  }
}