/* ==========================================================================
   GLOBAL VARIABLES & RESET - START
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-light-blue: #0094D2;
  --primary-dark-blue: #004C6C;
  --text-dark: #1a1a1a;
  --text-muted: #737373;
  --input-bg: #fdfdfd;
  --input-border: #e6e6e6;
  --white: #ffffff;
  --black: #000000;
  --toggle-bg-off: #ccc;
}

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background: #ffffff;
  height: 100vh;
  overflow: hidden;
}

a {
  text-decoration: none;
  outline: none;
}

/* ==========================================================================
   GLOBAL VARIABLES & RESET - END
   ========================================================================== */


/* ==========================================================================
   LOGIN PAGE STYLES - START (No Grid, No Inline CSS, No Flex Shorthand)
   ========================================================================== */
.login-page-section {
  width: 100%;
  height: 100vh;
}

.login-page-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  padding: 20px;
  gap: 20px;
}

/* Left Side Image Section with Text Overlay */
.login-left-banner {
  width: 50%;
  height: 100%;
  position: relative;
}

.login-left-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

/* Dark transparent overlay for text readability */
.login-left-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
}

.login-overlay-title {
  color: var(--white);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.login-overlay-title strong {
  display: block;
  font-weight: 700;
}

.login-overlay-desc {
  color: #FFFFFFE0;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  max-width: 500px;
}

/* Right Side Form Section */
.login-right-content {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.login-form-container {
  width: 100%;
  max-width: 460px;
  padding: 0 20px;
  height: 100%;
}

/* Logo & Headings */
.login-header-logo {
  text-align: center;
  margin-bottom: 80px;
  margin-top: 30px;
}

.login-header-logo img {
  max-width: 180px;
  height: auto;
}

.login-form-title {
  font-size: 48px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 12px;
  text-align: center;
}

.login-form-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.5;
}

/* Form Controls & Inputs */
.login-form-group {
  margin-bottom: 24px;
}

.login-input-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
}

.login-input-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 14px;
  border: 1px solid #DADADA;
  background-color: #F9FAFB;
  border-radius: 8px;
  outline: none;
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.login-input-control:focus {
  border-color: #DADADA;
}

.login-password-eye-icon {
  position: absolute;
  right: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.login-password-eye-icon img {
  width: 20px;
  height: 20px;
}

/* Options Row (Remember Me Toggle & Forgot Password) */
.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

/* Custom Toggle Switch CSS */
.login-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.login-toggle-input {
  display: none;
}

.login-toggle-slider {
  width: 40px;
  height: 22px;
  background-color: var(--toggle-bg-off);
  border-radius: 20px;
  position: relative;
  transition: background-color 0.3s;
}

.login-toggle-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--white);
  top: 3px;
  left: 3px;
  transition: transform 0.3s;
}

.login-toggle-input:checked+.login-toggle-slider {
  background-color: #3B82F6;
}

.login-toggle-input:checked+.login-toggle-slider::before {
  transform: translateX(18px);
}

.login-toggle-text {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  user-select: none;
}

.login-forgot-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-light-blue);
}

/* Action Button */
.login-submit-btn {
  width: 100%;
  height: 50px;
  background: linear-gradient(95.74deg, #004C6C -19.77%, #0094D2 119.43%);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.login-submit-btn:hover {
  background: linear-gradient(95.74deg, #004C6C -19.77%, #0094D2 119.43%);
}

/* ==========================================================================
   LOGIN PAGE STYLES - END
   ========================================================================== */


/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries) - START
   ========================================================================== */
@media (max-width: 991px) {
  .login-left-banner {
    display: none;
    /* Mobile/Tablet me left side text aur image chup jayenge */
  }

  .login-right-content {
    width: 100%;
  }

  .login-form-container {
    max-width: 500px;
  }
}

@media (max-width: 575px) {
  .login-page-wrapper {
    padding: 15px;
  }

  .login-header-logo {
    margin-bottom: 50px;
  }

  .login-form-title {
    font-size: 32px;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN - END
   ========================================================================== */

/* ==========================================================================
   FORGOT PASSWORD PAGE STYLES - START
   ========================================================================== */
.login-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  margin-bottom: 180px;
  margin-top: 30px;
}

/* Back Action Arrow Button */
.login-back-arrow-btn {
  position: absolute;
  left: 0;
  width: 36px;
  height: 57px;
  background: linear-gradient(95.74deg, #004C6C -19.77%, #0094D2 119.43%);
  border-radius: 44%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.login-back-arrow-btn:hover {
  background-color: #006692;
}

.login-back-arrow-btn img {
  width: 12px;
  height: 13px;
  object-fit: contain;
}

/* Specific Margin Fixes for Forgot Password Text */
.forgot-page-title {
  font-size: 48px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 8px;
  text-align: center;
}

.forgot-page-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-align: center;
}

/* ==========================================================================
   FORGOT PASSWORD PAGE STYLES - END
   ========================================================================== */

/* ==========================================================================
   OTP VERIFICATION PAGE STYLES - START
   ========================================================================== */
.otp-inputs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 30px;
}

.otp-input-box {
  width: 56px;
  height: 56px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #525252;
  border: 1px solid #DADADA;
  background-color: var(--input-bg);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.otp-input-box:focus {
  border-color: #DADADA;
  background-color: #F5F7FA;
}

/* For removing default spinners/arrows in number input */
.otp-input-box::-webkit-outer-spin-button,
.otp-input-box::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.otp-resend-wrapper {
  text-align: center;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 500;
  color: #3E3E3E;
}

.otp-resend-link {
  color: #0094D2;
  font-weight: 600;
  margin-left: 4px;
}

/* ==========================================================================
   OTP VERIFICATION PAGE STYLES - END
   ========================================================================== */



/* ==========================================================================
   GRANTLINK AUTH SYSTEM EXTENSION: BRAND DIALOG POPUPS COMPONENT
   Reference Layout Blueprint: Congratulations.svg
   ========================================================================== */

/* --- Main Backdrop Blur & Dialog Container Box Engine --- */
.gl-custom-modal-wrapper {
  background-color: rgba(15, 23, 42, 0.4);
  /* Smooth dark overlay tint */
  backdrop-filter: blur(4px);
}

.gl-modal-main-box {
  border-radius: 20px !important;
  border: none !important;
  padding: 24px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  background-color: #ffffff !important;
}

/* --- Control Header Positioning Layer --- */
.gl-modal-header-action {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  position: relative;
}

.gl-modal-close-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  position: absolute;
  top: -74px;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  right: -20px;
}

.gl-modal-close-trigger:hover {
  opacity: 1;
}

/* --- Core Centered Body Contents Stack Layout --- */
.gl-modal-core-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 16px 20px 16px !important;
}

/* --- Circular Success Verification Status Pill Graphic --- */
.gl-modal-success-badge {
  width: 76px;
  height: 76px;
  background-color: #e6f7ed;
  /* Light green ring tint mapping */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.gl-modal-badge-inside-circle {
  width: 52px;
  height: 52px;
  background-color: #22c55e;
  /* Vibrant active success core standard green */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

/* --- Core Typography Specs Setup --- */
.gl-modal-feedback-title {
  font-size: 40px;
  font-weight: 600;
  color: #000606;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.gl-modal-feedback-subtitle {
  font-size: 16px;
  color: #6A6A6A;
  margin: 0 0 32px 0;
  line-height: 1.5;
  font-weight: 400;
  max-width: 280px;
}

/* --- Core Interface Confirmation Control Call To Action --- */
.gl-modal-confirm-action-btn {
  background: linear-gradient(95.74deg, #004C6C -19.77%, #0094D2 119.43%);
  color: #ffffff;
  border: none;
  padding: 10px 35px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: auto;
  min-width: 95px;
  transition: background-color 0.15s ease-in-out, transform 0.1s ease;
}

.gl-modal-confirm-action-btn:hover {
  background-color: #005f87;
}

.gl-modal-confirm-action-btn:active {
  transform: scale(0.98);
}

.gl-custom-modal-wrapper .modal-dialog {
  max-width: 495px;
}

/* ==========================================================================
   END OF: BRAND DIALOG POPUPS COMPONENT
   ========================================================================== */