 /* Design Tokens */
    :root[data-theme="light"] {
      --bg-body: #f0f2f5;
      --bg-surface: #ffffff;
      --text-main: #1c1e21;
      --text-muted: #606770;
      --text-brand: #1877f2;
      --border-color: #dddfe2;
      --input-bg: #ffffff;
      --input-border: #90a4ae;
      --btn-primary: #1877f2;
      --btn-primary-hover: #166fe5;
      --btn-secondary: #42b72a;
      --btn-secondary-hover: #36a420;
      --shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    :root[data-theme="dark"] {
      --bg-body: #0f172a;
      --bg-surface: #1e293b;
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --text-brand: #38bdf8;
      --border-color: #334155;
      --input-bg: #0f172a;
      --input-border: #475569;
      --btn-primary: #38bdf8;
      --btn-primary-hover: #0ea5e9;
      --btn-secondary: #10b981;
      --btn-secondary-hover: #059669;
      --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: SFProDisplay-Regular, Helvetica, Arial, sans-serif;
    }

    body {
      background-color: var(--bg-body);
      color: var(--text-main);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      transition: background-color 0.2s, color 0.2s;
    }

    /* Main Container (Unboxed look exactly like Facebook desktop login layout) */
    .master-wrapper {
      display: flex;
      width: 100%;
      max-width: 1000px;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
      margin-bottom: 5rem;
    }

    /* Left Panel: Branding & Creative Layout */
    .left-panel {
      flex: 1.1;
      padding-right: 2rem;
    }

    .brand-logo {
      font-size: 3.5rem;
      font-weight: 800;
      color: var(--text-brand);
      margin-bottom: 0.5rem;
      letter-spacing: -0.05em;
    }

    .brand-logo img{
        width:100px;
    }
    .brand-tagline {
      font-size: 17px;
      font-weight: 500;
      line-height: 1.3;
      margin-bottom: 2rem;
    }

    .brand-tagline span {
      color: var(--text-brand);
      font-weight: 700;
    }

    /* Graphic Collage Container Box mimicking the Facebook UI layout context */
    .collage-container {
      position: relative;
      width: 100%;
      max-width: 420px;
      height: 320px;
      margin-top: 1rem;
    }

    .collage-card {
      position: absolute;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      border: 3px solid #ffffff;
      overflow: hidden;
      background: #ffffff;
    }

    .card-main {
      width: 320px;
      height: 240px;
      top: 0;
      left: 100px;
      z-index: 2;
    }

    .card-sub-1 {
      height: 160px;
      top: 200px;
      left: -50px;
      z-index: 3;
    }

    .card-sub-2 {
      width: 100px;
      height: 100px;
      bottom: 0;
      left: 180px;
      z-index: 4;
      border-radius: 50%;
    }

    .collage-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Delivery Pill Badge Overlay UI elements */
    .status-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      background: #1877f2;
      color: #ffffff;
      padding: 0.25rem 0.5rem;
      border-radius: 20px;
      font-size: 0.7rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    /* Right Panel: Functional Card Wrapper */
    .right-panel {
      flex: 0.9;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .form-card {
      width: 100%;
      max-width: 396px;
      background-color: var(--bg-surface);
      border-radius: 8px;
      padding: 50px 20px 50px 20px;
      box-shadow: var(--shadow);
      border: 1px solid var(--border-color);
    }

    /* Modal View Setup for Tab Switch States */
    .view-panel {
      display: none;
    }

    .view-panel.active {
      display: block;
    }

    /* Input elements style framework */
    .input-box-wrapper {
      position: relative;
      margin-bottom: 0.75rem;
    }

    .input-box-wrapper input {
      width: 100%;
      padding: 0.9rem 1rem;
      border: 1px solid var(--input-border);
      border-radius: 6px;
      font-size: 1.05rem;
      outline: none;
      background-color: var(--input-bg);
      color: var(--text-main);
    }

    .input-box-wrapper input:focus {
      border-color: var(--text-brand);
      box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
    }

    /* Custom Input fields containing eye icons mask toggles */
    .input-box-wrapper.has-btn input {
      padding-right: 2.75rem;
    }

    .password-toggle-trigger {
      position: absolute;
      right: 0.85rem;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      color: var(--text-muted);
      font-size: 1.1rem;
      padding: 0;
    }

    /* Custom actionable structural elements layout buttons context */
    .btn-action-main {
      width: 100%;
      padding: 0.85rem;
      font-size: 12px;
      color: #ffffff;
      background-color: var(--btn-primary);
      border: none;
      border-radius: 30px;
      cursor: pointer;
      transition: background-color 0.2s;
      margin: 10px 0px 15px 0px;
    }

    .btn-action-main:hover {
      background-color: var(--btn-primary-hover);
    }

    .forgot-link-wrapper {
      text-align: center;
      margin-bottom: 1.25rem;
    }

    .forgot-link-wrapper a {
      color: var(--text-brand);
      font-size: 0.9rem;
      text-decoration: none;
    }

    .forgot-link-wrapper a:hover {
      text-decoration: underline;
    }

    .divider-line {
      border-bottom: 1px solid var(--border-color);
      margin-bottom: 1.5rem;
    }

    .btn-action-secondary {
      display: block;
      width: 100%;
      margin: 0 auto;
      padding: 0.75rem 1rem;
      font-size: 12px;
      color: var(--btn-primary);
      border-color: var(--btn-primary);
      border-radius: 30px;
      cursor: pointer;
      background: transparent;
    }

    .btn-action-secondary:hover {
       transition: background-color 0.2s;
    }

    /* Subcard helper elements info footer configuration link paths */
    .subcard-notice {
      margin-top: 1.75rem;
      font-size: 0.85rem;
      text-align: center;
      color: var(--text-main);
    }

    .subcard-notice a {
      text-decoration: none;
      font-weight: 600;
      color: var(--text-main);
    }

    .subcard-notice a:hover {
      text-decoration: underline;
    }

    /* Theme Switch Floating Toggle */
    .theme-toggle-btn {
      position: fixed;
      top: 1.5rem;
      right: 1.5rem;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--bg-surface);
      border: 1px solid var(--border-color);
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
      z-index: 100;
    }
.success {
	color: #1e4620;
    background-color: #edf7ed;
    border-color: #c3e6cb;
}
.success::before{
    content: "\f058"; /* Unicode for fa-circle-check */
}
.warning {
	color: #663c00;
    background-color: #fff8e1;
    border-color: #ffe082;
}
.warning::before{
    content: "\f071"; /* Unicode for fa-triangle-exclamation */
}
.error,.success,.warning,.information {
	display: flex;
    align-items: start;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 6px;
    border: 1px solid transparent;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}
/* Set up the Font Awesome environment via CSS */
.error::before,.success::before,.warning::before {
  font-family: "Font Awesome 6 Free"; /* Tells browser to use Font Awesome */
  font-weight: 900;                  /* Required for solid Font Awesome icons */
  margin-right: 0.75rem;
  font-size: 1.1rem;                 /* Matches the scale of your text nicely */
  flex-shrink: 0;
  display: inline-block;
  line-height: 1.3;
}
.error {
	color: #621b1b;
    background-color: #fde8e8;
    border-color: #f8b4b4;
}
.error::before{
    content: "\f06a"; /* Unicode for fa-circle-exclamation */
}
.error strong, .success strong,.warning strong{
  font-weight: 700;
  margin-right: 0.25rem;
}
.cursor{
	cursor:pointer;
}
#feedback{
	position: fixed;
	bottom: -10px;
	right: 0;
	z-index: 1000000000000000000000000000000016;
}
.error .cursor,.success .cursor{
	margin-left:10px;
}
    /* Tablet/Mobile viewport adaptive fallback collapse wrappers */
    @media (max-width: 900px) {
      .master-wrapper {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
        gap: 3rem;
      }
      .left-panel {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .collage-container {
        display: none; /* Simplifies asset view structure on viewport shifts layout constraints */
      }
    }