* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

:root {
  --brand-main: #1d4d8d;
  --brand-dark: #163a6b;
  --brand-light: rgba(29, 77, 141, 0.15);
}

html,
body {
  height: 100%;
  background: #fff;
}

.container {
  display: flex;
  min-height: 100vh;
}

.left-side {
  flex: 1;
  background: url("../../images/signup.png") center/contain no-repeat;
}

.right-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.signup-form {
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid #1d4d8d;
  object-fit: cover;
}

h2 {
  color: #1d4d8d;
  margin-bottom: 30px;
}

/* STEP BAR */
.step-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.step-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 4px;
  background: #e0e0e0;
  transform: translateY(-50%);
  border-radius: 2px;
}

.step {
  width: 30px;
  height: 30px;
  background: #e0e0e0;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  z-index: 1;
}

.step.active,
.step.completed {
  background: #1d4d8d;
}

.step.completed::after {
  content: "✔";
  font-size: 14px;
}

input,
select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

input:focus,
select:focus {
  border-color: #1d4d8d;
  outline: none;
  box-shadow: 0 0 5px rgba(29, 77, 141, 0.3);
}

/* AVATAR */
.avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.avatar-preview {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px dashed #ccc;
  object-fit: cover;
}

.avatar-text {
  font-size: 13px;
  color: #555;
  margin-top: 8px;
}

.camera-btn {
  margin-top: 6px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1d4d8d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.camera-btn:hover {
  background: #163a6b;
  transform: scale(1.08);
}

/* BUTTON ROW */
.btn-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.btn-row button {
  width: 48%;
  padding: 12px;
  background: #1d4d8d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.btn-row button:hover {
  background: #163a6b;
}

.form-step {
  display: none;
}

.form-step.form-step-active {
  display: block;
}

#entreprise-field {
  display: none;
}

@media (max-width: 900px) {
  .left-side {
    display: none;
  }
}

.signin-link {
  margin-top: 30px;
  font-size: 14px;
}

.signin-link a {
  color: #1d4d8d;
  font-weight: 600;
  text-decoration: none;
}

/* === SELECT2 LOOK LIKE INPUT === */
.select2-container {
  width: 100% !important;
  margin-bottom: 18px;
}

.select2-container--default .select2-selection--single {
  height: 46px;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px 15px;
  display: flex;
  align-items: center;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding-left: 0;
  line-height: normal;
  color: #000;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
  right: 10px;
}

/* Focus effect same as input */
.select2-container--default.select2-container--focus
  .select2-selection--single {
  border-color: #1d4d8d;
  box-shadow: 0 0 5px rgba(29, 77, 141, 0.3);
}

/* Dropdown items spacing */
.select2-results__option {
  padding: 10px 12px;
}

/* ===== SWEETALERT CUSTOM THEME ===== */
.swal2-popup {
  font-family: "Inter", sans-serif;
  border-radius: 16px;
  padding: 28px;
}

.swal2-title {
  color: var(--brand-main);
  font-weight: 700;
}

.swal2-html-container,
.swal2-content {
  color: #444;
  font-size: 15px;
}

.swal2-icon {
  border-color: var(--brand-main) !important;
  color: var(--brand-main) !important;
}

.swal2-confirm {
  background: var(--brand-main) !important;
  border-radius: 10px !important;
  padding: 12px 26px !important;
  font-weight: 600 !important;
  transition: 0.3s;
}

.swal2-confirm:hover {
  background: var(--brand-dark) !important;
}

.swal2-cancel {
  background: #eee !important;
  color: #333 !important;
  border-radius: 10px !important;
}

.swal2-loader {
  border-color: var(--brand-light) !important;
  border-top-color: var(--brand-main) !important;
}
