/* ==========================================================================
   CLMS ENTERPRISE STYLES - RESPONSIVENESS AND PORTALS
   ========================================================================== */

/* Tablet & Mobile Layout Shifts */
@media (max-width: 992px) {
  .auth-split-wrapper {
    grid-template-columns: 1fr;
  }

  .auth-left-pane {
    display: none; /* Hide left brand banner completely */
  }

  .auth-right-pane {
    padding: 30px 20px;
    background: transparent;
  }

  .auth-card-container {
    max-width: 420px;
  }
}

@media (max-width: 576px) {
  .auth-right-pane {
    padding: 15px 12px;
    align-items: flex-start;
  }

  .auth-card-container {
    max-width: 100%;
    gap: 15px;
  }

  .auth-card {
    padding: 28px 20px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  }

  /* Captcha layout adjustment for compact widths */
  .captcha-row {
    grid-template-columns: 1fr auto 48px;
    gap: 8px;
  }

  .form-control {
    height: 48px;
    padding-left: 44px;
    font-size: 0.9rem;
  }

  .form-label {
    left: 44px;
    font-size: 0.9rem;
  }

  .form-control:focus ~ .form-label,
  .form-control:not(:placeholder-shown) ~ .form-label {
    left: 10px;
    transform: translateY(-235%) scale(0.85);
  }

  .input-icon {
    left: 14px;
  }

  /* Stepper labels on small mobiles */
  .step-label {
    font-size: 0.65rem;
    letter-spacing: 0.2px;
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .progress-line {
    transform: translateY(-11px);
    margin: 0 6px;
  }

  /* OTP Boxes sizing on compact screens to prevent overflow */
  .otp-box {
    width: 44px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .premium-info-card {
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .info-item {
    grid-column: span 2;
  }
  
  .btn {
    height: 48px;
    font-size: 0.9rem;
  }
}
