/*
 * signup.css — Easy Tidings Sign Up Page
 * Copyright SandCat LLC, 2024. All Rights Reserved.
 *
 * PURPOSE: Page-specific styles for service-plan-account.blade.php
 * REQUIRES: base.css loaded first (provides CSS variables, fonts, 
 *           buttons, nav, footer, label-pill, section, .inner)
 */
 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
   :root {
     --navy: #1a2640;
     --navy-light: #243352;
     --blue: #4a90c4;
     --blue-soft: #6aafd6;
     --white: #ffffff;
     --off-white: #f8f7f4;
     --text: #2c2c2c;
     --text-muted: #666;
     --border: #e8e4df;
     --border-focus: #4a90c4;
     --error: #d94f4f;
     --radius: 12px;
   }
 
   html { scroll-behavior: smooth; }
 
   body {
     font-family: 'DM Sans', sans-serif;
     background: var(--off-white);
     color: var(--text);
     min-height: 100vh;
     display: flex;
     flex-direction: column;
   }
 
   /* ── PROGRESS BAR ── */
   .progress-bar {
     background: var(--white);
     border: 1px solid var(--border);
     padding: 0 40px;
     height: 52px;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 0;
   }
 
   .progress-steps {
     display: flex;
     align-items: center;
     gap: 0;
   }
 
   .progress-step {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 0.82rem;
     color: var(--text-muted);
   }
 
   .progress-step.active {
     color: var(--navy);
     font-weight: 500;
   }
 
   .progress-step.done {
     color: var(--blue);
   }
 
   .step-dot {
     width: 24px;
     height: 24px;
     border-radius: 50%;
     border: 2px solid var(--border);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.72rem;
     font-weight: 500;
     color: var(--text-muted);
     background: var(--white);
     flex-shrink: 0;
   }
 
   .progress-step.active .step-dot {
     border-color: var(--navy);
     background: var(--navy);
     color: var(--white);
   }
 
   .progress-step.done .step-dot {
     border-color: var(--blue);
     background: var(--blue);
     color: var(--white);
   }
 
   .step-line {
     width: 48px;
     height: 2px;
     background: var(--border);
     margin: 0 4px;
   }
 
   .step-line.done { background: var(--blue); }
 
   /* ── MAIN ── */
   div.main {
     flex: 1;
     display: flex;
     align-items: flex-start;
     justify-content: center;
     padding: 56px 24px 80px;
   }
 
   .form-shell {
     width: 100%;
     max-width: 520px;
   }
 
   /* ── FORM HEADER ── */
   .form-header {
     text-align: center;
     margin-bottom: 40px;
   }
 
   .form-header h1 {
     font-family: 'Playfair Display', serif;
     font-size: 2.2rem;
     font-weight: 600;
     color: var(--navy);
     line-height: 1.15;
     margin-bottom: 10px;
   }
 
   .form-header h1 em {
     font-style: italic;
     color: var(--blue);
   }
 
   .form-header p {
     font-family: 'Lora', serif;
     font-size: 0.95rem;
     color: var(--text-muted);
     line-height: 1.65;
   }
 
   /* ── CARD ── */
   .form-card {
     background: var(--white);
     border: 1px solid var(--border);
     border-radius: 16px;
     padding: 40px;
     box-shadow: 0 4px 24px rgba(26, 38, 64, 0.06);
     margin-bottom: 20px;
   }
 
   .form-card h2 {
     font-family: 'Playfair Display', serif;
     font-size: 1.1rem;
     font-weight: 600;
     color: var(--navy);
     margin-bottom: 24px;
     padding-bottom: 16px;
     border-bottom: 1px solid var(--border);
   }
 
   /* ── FIELD ── */
   .field-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 16px;
     margin-bottom: 16px;
   }
 
   .field {
     display: flex;
     flex-direction: column;
     gap: 6px;
     margin-bottom: 16px;
   }
 
   .field:last-child { margin-bottom: 0; }
 
   .field-row .field { margin-bottom: 0; }
 
   label {
     font-size: 0.82rem;
     font-weight: 500;
     color: var(--navy);
     letter-spacing: 0.01em;
   }
 
   label .req {
     color: var(--blue);
     margin-left: 2px;
   }
 
   label .opt {
     color: var(--text-muted);
     font-weight: 400;
     margin-left: 4px;
   }
 
   input[type="text"],
   input[type="email"],
   input[type="password"],
   input[type="tel"],
   select {
     width: 100%;
     padding: 12px 14px;
     border: 1.5px solid var(--border);
     border-radius: 8px;
     font-family: 'DM Sans', sans-serif;
     font-size: 0.95rem;
     color: var(--text);
     background: var(--white);
     transition: border-color 0.2s, box-shadow 0.2s;
     appearance: none;
     -webkit-appearance: none;
     outline: none;
   }
 
   input::placeholder { color: #bbb; }
 
   input:focus,
   select:focus {
     border-color: var(--border-focus);
     box-shadow: 0 0 0 3px rgba(74, 144, 196, 0.12);
   }
 
   .select-wrap {
     position: relative;
   }
 
   .select-wrap::after {
     content: '';
     position: absolute;
     right: 14px;
     top: 50%;
     transform: translateY(-50%);
     width: 10px;
     height: 6px;
     background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
     background-size: contain;
     background-repeat: no-repeat;
     pointer-events: none;
   }
 
   .select-wrap select { padding-right: 36px; cursor: pointer; }
 
   /* Password toggle */
   .password-wrap {
     position: relative;
   }
 
   .password-wrap input { padding-right: 44px; }
 
   .pw-toggle {
     position: absolute;
     right: 12px;
     top: 50%;
     transform: translateY(-50%);
     background: none;
     border: none;
     cursor: pointer;
     color: var(--text-muted);
     padding: 4px;
     display: flex;
     align-items: center;
   }
 
   .pw-toggle:hover { color: var(--navy); }
 
   .field-hint {
     font-size: 0.78rem;
     color: var(--text-muted);
     line-height: 1.5;
     margin-top: 2px;
   }
 
   /* Phone + SMS row */
   .phone-row {
     display: grid;
     grid-template-columns: 1fr auto;
     gap: 12px;
     align-items: end;
   }
 
   .sms-toggle {
     display: flex;
     align-items: center;
     gap: 8px;
     padding-bottom: 13px;
     cursor: pointer;
     user-select: none;
   }
 
   .sms-toggle input[type="checkbox"] { display: none; }
 
   .toggle-track {
     width: 36px;
     height: 20px;
     border-radius: 10px;
     background: var(--border);
     position: relative;
     transition: background 0.2s;
     flex-shrink: 0;
   }
 
   .toggle-track::after {
     content: '';
     position: absolute;
     width: 14px;
     height: 14px;
     border-radius: 50%;
     background: var(--white);
     top: 3px;
     left: 3px;
     transition: left 0.2s;
     box-shadow: 0 1px 3px rgba(0,0,0,0.15);
   }
 
   .sms-toggle input:checked + .toggle-track {
     background: var(--blue);
   }
 
   .sms-toggle input:checked + .toggle-track::after {
     left: 19px;
   }
 
   .sms-label {
     font-size: 0.82rem;
     color: var(--text-muted);
     line-height: 1.3;
   }
 
   /* ── FOR ME / SOMEONE ELSE ── */
   .recipient-toggle {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 0;
     border: 1.5px solid var(--border);
     border-radius: 8px;
     overflow: hidden;
     margin-bottom: 0;
   }
 
   .recipient-option {
     position: relative;
   }
 
   .recipient-option input[type="radio"] { display: none; }
 
   .recipient-option label {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 14px 12px;
     cursor: pointer;
     font-size: 0.9rem;
     font-weight: 400;
     color: var(--text-muted);
     background: var(--white);
     transition: background 0.15s, color 0.15s;
     letter-spacing: 0;
     gap: 4px;
     text-align: center;
   }
 
   .recipient-option label .icon { font-size: 1.2rem; }
 
   .recipient-option input:checked + label {
     background: var(--navy);
     color: var(--white);
     font-weight: 500;
   }
 
   .recipient-option:first-child label {
     border-right: 1px solid var(--border);
   }
 
   /* ── SUBMIT ── */
   .submit-area {
     margin-top: 8px;
   }
 
   .btn-submit {
     width: 100%;
     padding: 15px;
     background: var(--navy);
     color: var(--white);
     border: none;
     border-radius: 8px;
     font-family: 'DM Sans', sans-serif;
     font-size: 1rem;
     font-weight: 500;
     cursor: pointer;
     transition: background 0.2s, transform 0.15s;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
   }
 
   .btn-submit:hover {
     background: var(--navy-light);
     transform: translateY(-1px);
   }
 
   .submit-note {
     text-align: center;
     font-size: 0.78rem;
     color: var(--text-muted);
     margin-top: 12px;
     line-height: 1.5;
   }
 
   /* ── TRUST STRIP ── */
   .trust-strip {
     display: flex;
     justify-content: center;
     gap: 24px;
     flex-wrap: wrap;
   }
 
   .trust-item {
     display: flex;
     align-items: center;
     gap: 6px;
     font-size: 0.78rem;
     color: var(--text-muted);
   }
 
   .trust-item svg {
     width: 14px;
     height: 14px;
     stroke: var(--blue);
     fill: none;
     stroke-width: 2;
   }
 
   /*  ── LOGIN ── */
   
   .login-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center; /* Centers the image vertically relative to the form */
    max-width: 750px;
    margin: 0 auto;
  }

  .login-image-col {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
  }

  .login-image-col img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    width: auto;
    display: block;
    margin: 0 auto;
  }

  .login-form-col {
    flex: 1 1 50%;
    min-width: 300px;
    max-width:520px;
    margin: 0 auto;
  }

  .login-header {
    text-align: left;
    align-content: center;
  }

  .login-form-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Adds the "card" look */
    border: 1px solid #eaeaea;
  }

  .login-field-group {
    margin-bottom: 20px;
  }

  .login-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
  }

  .login-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    margin: 0; 
    display: block;
  }

  .login-pw-wrap {
    position: relative;
    display: block;
    width: 100%;
  }

  .login-pw-input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    margin: 0; 
    display: block;
  }

  .login-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .login-forgot-link {
    display: block;
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--blue, #0056b3);
    text-decoration: none;
    font-weight: 500;
  }

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

  .login-submit-area {
    margin-top: 32px;
  }

  .login-btn-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 14px;
    background: var(--blue, #0056b3);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .login-btn-submit:hover {
    background: #004494;
  }

  .login-footnote {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #777;
  }

  .login-register-link {
    color: var(--blue);
    font-style: italic;
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
  }

  .login-register-link:hover {
    text-decoration: underline;
  }

  .login-trust-strip {
    margin-top: 48px;
    border-top: 1px solid #eee;
    padding-top: 24px;
    text-align: center;
    color: #666;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .login-trust-strip svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }
   
   /* ── RESPONSIVE ── */
   @media (max-width: 600px) {
     .progress-bar { padding: 0 20px; overflow-x: auto; }
     div.main { padding: 40px 16px 64px; }
     .form-card { padding: 28px 24px; }
     .field-row { grid-template-columns: 1fr; }
     .phone-row { grid-template-columns: 1fr; }
     .sms-toggle { padding-bottom: 0; }
     .trust-strip { gap: 16px; }
   }