/* FlowShip company auth — register / login / OTP */
.admin-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-brand-logo--stacked {
  flex-direction: column;
  text-align: center;
}
.admin-brand-logo-text {
  font-size: 1.15rem;
  line-height: 1.1;
}
.admin-brand-logo-text .flow { font-weight: 500; color: #0D1B2A; }
.admin-brand-logo-text .ship { font-weight: 800; color: #1565FF; }

.co-auth {
  --navy: #0D1B2A;
  --blue: #1565FF;
  --cyan: #00C2FF;
  --mist: #E6EDF5;
  --snow: #F5F7FA;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(0, 194, 255, 0.2), transparent 48%),
    radial-gradient(ellipse at 88% 82%, rgba(21, 101, 255, 0.22), transparent 45%),
    linear-gradient(165deg, #0D1B2A 0%, #13283F 48%, #0D1B2A 100%);
  font-family: Cairo, system-ui, sans-serif;
  color: var(--navy);
}

.co-auth__aside {
  display: none;
  flex: 1.05;
  position: relative;
  overflow: hidden;
  padding: 2.5rem 2.25rem;
  color: #fff;
  flex-direction: column;
  justify-content: space-between;
}

.co-auth__aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(13, 27, 42, 0.35), rgba(13, 27, 42, 0.78)),
    url("../images/profile/about-ops.png") center / cover no-repeat;
  z-index: 0;
}

.co-auth__aside > * { position: relative; z-index: 1; }

.co-auth__aside-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.15rem;
}
.co-auth__aside-brand .flow { font-weight: 500; }
.co-auth__aside-brand .ship { font-weight: 800; color: var(--cyan); }

.co-auth__aside-copy h1 {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}
.co-auth__aside-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 32rem;
}

.co-auth__steps {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.co-auth__step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
}
.co-auth__step i { color: var(--cyan); }

.co-auth__panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.co-auth__card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 1.35rem;
  padding: 1.75rem 1.5rem 1.6rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.co-auth__card--wide { max-width: 720px; }

.co-auth__card-head {
  text-align: center;
  margin-bottom: 1.35rem;
}
.co-auth__card-head h1 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.65rem 0 0.35rem;
}
.co-auth__card-head p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
}

.co-auth__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.co-auth__progress-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #cbd5e1;
}
.co-auth__progress-dot.is-active {
  width: 1.6rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}
.co-auth__progress-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin-inline-start: 0.35rem;
}

.co-auth .form-label {
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}
.co-auth .form-control,
.co-auth .form-select {
  border-radius: 0.75rem;
  border-color: #dbe4f0;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
}
.co-auth .form-control:focus,
.co-auth .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(21, 101, 255, 0.15);
}

.co-auth__section-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.02em;
  margin: 0.85rem 0 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.co-auth__section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--mist);
}

.co-auth__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  border: 0;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  margin-top: 1.15rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.co-auth__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(21, 101, 255, 0.28);
  color: #fff;
}

.co-auth__foot {
  text-align: center;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: #64748b;
}
.co-auth__foot a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.co-auth__otp-input {
  letter-spacing: 0.45em;
  font-size: 1.45rem !important;
  font-weight: 800;
  text-align: center;
  padding-block: 0.9rem !important;
}

.co-auth__hint {
  background: #EEF6FF;
  border: 1px solid #D6E8FF;
  color: #1e40af;
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}
.co-auth__hint strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.15em;
}

.co-auth__resend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
}
.co-auth__resend button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  padding: 0;
}

@media (min-width: 992px) {
  .co-auth__aside { display: flex; }
  .co-auth__panel { padding: 2rem 2.5rem; }
  .co-auth__card { padding: 2rem 1.85rem 1.75rem; }
}
