:root {
  /* Color Palette: Navy Blue and White */
  --primary: #002147;
  /* Deep Navy */
  --primary-light: #003366;
  /* Lighter Navy for hover */
  --accent: #ffffff;
  /* White */
  --bg-color: #f0f2f5;
  /* Light Grey Background */
  --text-dark: #333333;
  --text-light: #f0f0f0;
  --border-radius: 12px;
}

* {
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: var(--bg-color);
  background-image:
    linear-gradient(rgba(244, 246, 248, 0.82), rgba(244, 246, 248, 0.82)),
    url("../photos/LoginPage/philsca%20backgorund.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MAIN CARD */
.container {
  position: relative;
  width: 80vw;
  height: 85vh;
  max-width: 1200px;
  max-height: 750px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* =====================
     FORMS (60%)
     ===================== */
.form-container {
  position: absolute;
  top: 0;
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.6s ease-in-out;
  background: #fff;
  overflow-y: auto;
}

/* LOGIN — LEFT (ACTIVE DEFAULT) */
.sign-in-container {
  left: 0;
  z-index: 2;
}

/* REGISTER — RIGHT (HIDDEN DEFAULT) */
.sign-up-container {
  right: 0;
  opacity: 0;
  z-index: 1;
  transform: translateX(20%);
  /* Registration content can be taller than the card. Centering an
       overflowing flex child places its beginning above the scrollable area,
       which hides the heading even at scrollTop 0. */
  justify-content: flex-start;
}

.sign-up-container>div {
  flex: 0 0 auto;
}

#registration-content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#registration-content>.register-tabs,
#registration-content>.reg-fields {
  flex-shrink: 0;
}

/* The compact initial Organization registration view is centered as one
     group, including its heading and subtitle. If verified details make the
     form taller than the panel, the outer registration panel still scrolls. */
#registration-content.org-tab-active {
  justify-content: center;
}

/* STATE: REGISTER ACTIVE */
.container.right-panel-active .sign-in-container {
  transform: translateX(-20%);
  opacity: 0;
  pointer-events: none;
}

.container.right-panel-active .sign-up-container {
  transform: translateX(0);
  opacity: 1;
  z-index: 5;
  pointer-events: all;
}

/* FORM STYLING */
form {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

h1 {
  font-size: 28px;
  color: var(--primary);
  margin: 0 0 10px 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.subtitle {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* INPUTS */
input {
  height: 48px;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 0 16px;
  background: #f9f9f9;
  transition: 0.3s;
  width: 100%;
  outline: none;
  font-size: 14px;
}

input:focus {
  border-color: var(--primary);
  background: #fff;
}

input.registration-field-invalid,
input.registration-field-invalid:focus {
  border-color: #dc2626;
  background: #fff7f7;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.privacy-consent.registration-field-invalid {
  color: #b91c1c;
}

.privacy-consent.registration-field-invalid input[type="checkbox"] {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.password-field {
  position: relative;
  width: 100%;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 32px;
  height: 32px;
  min-height: 0;
  margin: 0;
  padding: 6px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: transparent;
  color: #667085;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: #e7edf4;
  color: var(--primary);
}

.password-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.password-requirements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
  margin: -8px 0 2px;
  padding: 0;
  list-style: none;
  color: #b91c1c;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.password-requirements li::before {
  content: "\2717";
  display: inline-block;
  width: 16px;
  font-weight: 700;
}

.password-requirements li.password-rule-passed {
  color: #15803d;
}

.password-requirements li.password-rule-passed::before {
  content: "\2713";
}

@media (max-width: 480px) {
  .password-requirements {
    grid-template-columns: 1fr;
  }
}

/* BUTTONS */
button {
  height: 48px;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
  margin-top: 10px;
}

button:hover {
  background: var(--primary-light);
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* NAV LINKS */
.nav-links {
  text-align: center;
  font-size: 14px;
  margin-top: 15px;
}

.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.nav-links a:hover {
  text-decoration: underline;
}

.back-link {
  display: block;
  margin-top: 15px;
  color: var(--primary);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.back-link:hover {
  text-decoration: underline;
}

/* =====================
     LEFT PANEL INTERNAL SLIDER (LOGIN vs FORGOT)
     ===================== */
/* Wrapper sets the width and positioning context */
.sign-in-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  /* Height is determined by content, preserving centering */
}

/* Login Panel: Relative (In Flow) - ensures container has height */
#panel-login {
  position: relative;
  width: 100%;
  z-index: 1;
  transition: all 0.4s ease-in-out;
  opacity: 1;
}

/* Forgot Panel: Absolute (Overlay) - sits on top of Login */
#panel-forgot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: all 0.4s ease-in-out;
}

/* When Forgot is Active */
.sign-in-container.forgot-mode #panel-login {
  opacity: 0;
  transform: translateX(-30px);
  pointer-events: none;
}

.sign-in-container.forgot-mode #panel-forgot {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}


/* =====================
     REGISTER TABS
     ===================== */
.register-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  width: 100%;
  max-width: 380px;
  justify-content: space-between;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  background: #eee;
  color: #666;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  height: auto;
  margin: 0;
  text-align: center;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 33, 71, 0.3);
}

.reg-fields {
  display: none;
  animation: fadeIn 0.4s ease;
}

.reg-fields.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Organization registration: 2-column layout on desktop */
#form-org.reg-fields.active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.org-registration-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.org-registration-details[hidden] {
  display: none !important;
}

.org-registration-details .org-full-width {
  grid-column: 1 / -1;
}

.org-registration-inline-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.org-lookup-message {
  margin: -4px 0 0;
  font-size: 0.9rem;
  color: #6b7280;
  text-align: left;
}

#org-student-lookup-message {
  margin-top: 6px;
}

.org-lookup-message.success {
  color: #0f766e;
}

.org-lookup-message.error {
  color: #b91c1c;
}

.org-password-helper {
  margin: -4px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: -2px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
}

.privacy-consent input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.privacy-consent span {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.org-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #fff;
}

.org-select-trigger::after {
  content: '▼';
  font-size: 10px;
}

/* =====================
     NAVY BLUE SLIDING PANEL (DISCONNECTED & CURVED)
     ===================== */
.overlay-container {
  position: absolute;
  right: 0;
  width: 40%;
  height: 100%;
  /* Gradient background */
  background:
    linear-gradient(180deg,
      #f3db54 0%,
      #cfbc78 20%,
      #95918d 45%,
      #52627b 75%,
      #0c3662 100%);
  color: #fff;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  /* Fully curved edges (Pill shape) */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  /* Strong shadow for floating effect */
}

/* Add lines.png as a semi-transparent overlay */
.overlay-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* 
       Path adjusted:
       CSS is in assets/css/
       Image is in assets/photos/LoginPage/
       We go up one level (../) to reach assets, then into photos.
    */
  background: url('../photos/LoginPage/lines.png') center/cover no-repeat;
  opacity: 0.35;
  z-index: 2;
  border-radius: inherit;
  /* Match the curved corners */
}

.overlay {
  position: relative;
  z-index: 3;
}

/* MOVE PANEL TO LEFT */
.container.right-panel-active .overlay-container {
  transform: translateX(-150%);
  /* Moves it fully to the left side */
  border-radius: 30px;
  /* Keeps curved corners on the left side */
}

/* OVERLAY CONTENT */
.overlay {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.overlay-panel {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
  /* Slide from left */
}

.overlay-panel.active {
  opacity: 1;
  transform: translateX(0);
}

/* LOGO / BRANDING */
.logo-area {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 4px solid #f4d03f;
  /* Aviation Gold accent */
  color: var(--primary);
  font-weight: bold;
  font-size: 24px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.logo-area img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  border-radius: 50%;
}

.overlay-panel h1 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 10px;
}

.overlay-panel p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;
  opacity: 0.9;
}

button.ghost {
  background: transparent;
  border: 2px solid #fff;
  padding: 12px 30px;
  border-radius: 50px;
  color: #fff;
  width: auto;
  height: 50px;
  margin: 0;
}

button.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* =====================
     ORGANIZATION MODAL
     ===================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 12px 12px 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
}

.close-modal {
  cursor: pointer;
  font-size: 24px;
  background: none;
  border: none;
  color: #fff;
  padding: 0;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
}

.org-category {
  margin-bottom: 20px;
}

.org-category-title {
  font-size: 12px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.org-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.org-item {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.org-item:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

#orgModal .org-item {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#orgModal .org-item-name {
  font-weight: 600;
  line-height: 1.3;
}

#orgModal .org-item-code {
  margin-top: 6px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

#orgModal .org-item:hover .org-item-code {
  color: rgba(255, 255, 255, 0.8);
}

.position-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.position-list[hidden],
.custom-position-editor[hidden] {
  display: none !important;
}

.position-other-btn {
  width: 100%;
  height: auto;
  margin: 0;
  background: #fff;
  color: var(--text-dark);
  font-weight: 400;
}

.custom-position-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-position-editor label {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.custom-position-feedback {
  min-height: 18px;
  margin: 0;
  color: #b42318;
  font-size: 12px;
  text-align: left;
}

.custom-position-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.custom-position-actions button {
  width: 100%;
  height: 44px;
  margin: 0;
}

.org-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f9f9f9;
}

.dashboard-choice-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dashboard-choice-actions button {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    margin: 0;
    background: #fff;
    overflow: hidden;
  }

  body {
    display: block;
  }

  .container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }

  .form-container {
    width: 100%;
    left: 0;
    right: 0;
    justify-content: center;
    padding: 12px 16px 16px;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
  }

  .form-container::-webkit-scrollbar {
    display: none;
  }

  /* WebKit */

  /* Center login view, keep register view top-aligned for easier scrolling */
  .sign-in-container {
    justify-content: center;
  }

  .sign-up-container {
    justify-content: flex-start;
  }

  .overlay-container {
    display: none;
  }

  .sign-in-container,
  .sign-up-container {
    position: absolute;
    width: 100%;
    transition: opacity 0.3s;
    transform: none !important;
  }

  .sign-up-container {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
  }

  .container.right-panel-active .sign-up-container {
    opacity: 1;
    pointer-events: all;
    z-index: 2;
  }

  .container.right-panel-active .sign-in-container {
    opacity: 0;
  }

  .mobile-toggle {
    display: block;
    margin-top: 20px;
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
  }

  .sign-up-container>div,
  .register-tabs,
  .sign-in-content-wrapper,
  form {
    max-width: 100%;
  }

  /* Mobile specific for Forgot Panel */
  .sign-in-container.forgot-mode #panel-login,
  .sign-in-container.forgot-mode #panel-forgot {
    transform: none;
  }

  .dashboard-choice-actions {
    grid-template-columns: 1fr;
  }

  #form-org.reg-fields.active {
    gap: 16px;
  }

  .org-registration-details {
    grid-template-columns: 1fr;
  }

  .org-registration-inline-picks,
  .position-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .mobile-toggle {
    display: none;
  }
}

.hidden {
  display: none !important;
}

.forgot-password-form {
  gap: 14px;
}

.forgot-form-feedback {
  min-height: 20px;
  margin: -2px 0 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.forgot-form-feedback.success {
  color: #027a48;
}

.forgot-otp-section {
  margin-top: 8px;
  padding: 18px;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  background: #f8fbff;
}

.otp-helper {
  margin: 0 0 12px 0;
  color: #4d5c6d;
  font-size: 13px;
  text-align: left;
}

.otp-input-group {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.forgot-reset-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

.otp-char {
  height: 54px;
  padding: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #ffffff;
}

.simulation-note,
.otp-feedback {
  min-height: 20px;
  margin: 10px 0 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.simulation-note {
  color: #506174;
}

.otp-feedback {
  color: #b42318;
}

.otp-feedback.success {
  color: #027a48;
}

.otp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.secondary-btn {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #c8d2de;
}

.secondary-btn:hover {
  background: #f2f6fb;
}

.login-status {
  margin: -6px 0 6px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef3f2;
  color: #b42318;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.login-status.success {
  background: #ecfdf3;
  color: #027a48;
}

.org-select-trigger-disabled {
  cursor: not-allowed;
  background: #f1f3f5;
  color: #8a8f98;
}

/* --- NARROW VIEWPORT AND SHORT-SCREEN SAFETY --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.register-tabs[hidden],
.org-registration-details[hidden],
.org-registration-inline-picks[hidden],
.position-list[hidden],
#dashboardChoiceActions[hidden],
#officerOrganizationChoice[hidden] {
  display: none;
}

.officer-organization-options {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, calc((100% - 12px) / 2), 410px);
  gap: 12px;
  margin-top: 16px;
  padding: 4px 4px 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.dashboard-choice-box.choosing-organizations {
  width: min(900px, 95vw);
  max-width: 900px;
}

.officer-organization-options button {
  width: 100%;
  margin: 0;
}

.officer-organization-options .officer-organization-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  scroll-snap-align: start;
}

.officer-organization-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.officer-organization-card-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.77);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 2px 8px #000;
}

.officer-organization-options .officer-organization-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.32);
}

.officer-organization-options .officer-organization-card:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

.dashboard-choice-actions {
  min-width: 0;
  max-width: 100%;
}

form,
.sign-in-content-wrapper {
  min-width: 0;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

.form-feedback,
.forgot-form-feedback,
.otp-feedback,
.simulation-note,
.login-status,
.org-option,
.position-option {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    max-height: 100dvh;
  }

  .form-container {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-right: max(14px, env(safe-area-inset-right));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    padding-left: max(14px, env(safe-area-inset-left));
    overscroll-behavior: contain;
  }

  .sign-up-container > div,
  .sign-in-content-wrapper {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .otp-input-group {
    gap: 6px;
  }

  .otp-char {
    min-width: 0;
    height: 48px;
    font-size: 19px;
  }

  .register-tabs {
    gap: 6px;
  }

  .register-tabs button {
    min-width: 0;
    padding-inline: 8px;
    overflow-wrap: anywhere;
  }

  .forgot-otp-section {
    padding: 14px;
  }
}

@media (max-width: 360px) {
  .otp-actions,
  .dashboard-choice-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 680px) and (max-width: 768px) {
  .sign-in-container {
    justify-content: flex-start;
  }
}
