
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-osx-font-smoothing: grayscale !important;
    -webkit-font-smoothing: antialiased !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  body {
    font-family: "mayoSans", "mayoSans Fallback", Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
    color: #080808;
  }

  /* ========== COMPLETE MAYO CLINIC COLOR SYSTEM ========== */
  :root {
    /* Primary Brand Colors */
    --primary-blue: #0057b8;
    --primary-blue-dark: #002443;
    --primary-blue-light: #e1f0ff;
    
    /* Secondary Colors */
    --secondary-green: #009998;
    --secondary-orange: #f89e81;
    --secondary-black: #080808;
    
    /* Neutral Colors */
    --neutral-white: #ffffff;
    --neutral-gray-100: #f4f4f4;
    --neutral-gray-200: #ebebeb;
    --neutral-gray-300: #d6d6d6;
    --neutral-gray-400: #949494;
    --neutral-gray-500: #686868;
    --neutral-gray-600: #595959;
    
    /* Functional Colors */
    --functional-success: #008746;
    --functional-error: #e4002b;
    --functional-warning: #ffc845;
    --functional-info: #0057b8;
    
    /* Text Colors */
    --text-primary: #080808;
    --text-secondary: #686868;
    --text-disabled: #949494;
    --text-link: #0057b8;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f4;
    --bg-highlight: #e1f0ff;
    
    /* Spacing */
    --spacing-1x: 8px;
    --spacing-2x: 16px;
    --spacing-3x: 24px;
    --spacing-4x: 32px;
    --spacing-5x: 40px;
    --spacing-6x: 48px;
    --spacing-8x: 64px;
    
    /* Border Radius */
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;
  }

  /* ========== BACKGROUND UTILITY CLASSES ========== */
  .bg-primary { background-color: var(--bg-primary); }
  .bg-secondary { background-color: var(--bg-secondary); }
  .bg-highlight { background-color: var(--bg-highlight); }
  .bg-blue { background-color: var(--primary-blue); }
  .bg-blue-dark { background-color: var(--primary-blue-dark); }
  .bg-blue-light { background-color: var(--primary-blue-light); }
  .bg-green { background-color: var(--secondary-green); }
  .bg-orange { background-color: var(--secondary-orange); }
  .bg-gray-100 { background-color: var(--neutral-gray-100); }
  .bg-gray-200 { background-color: var(--neutral-gray-200); }
  .bg-gray-300 { background-color: var(--neutral-gray-300); }
  .bg-gray-400 { background-color: var(--neutral-gray-400); }
  .bg-gray-500 { background-color: var(--neutral-gray-500); }
  .bg-gray-600 { background-color: var(--neutral-gray-600); }

  /* ========== TEXT UTILITY CLASSES ========== */
  .text-primary { color: var(--text-primary); }
  .text-secondary { color: var(--text-secondary); }
  .text-disabled { color: var(--text-disabled); }
  .text-link { color: var(--text-link); }
  .text-blue { color: var(--primary-blue); }
  .text-blue-dark { color: var(--primary-blue-dark); }
  .text-green { color: var(--secondary-green); }
  .text-orange { color: var(--secondary-orange); }
  .text-white { color: var(--neutral-white); }
  .text-gray-100 { color: var(--neutral-gray-100); }
  .text-gray-200 { color: var(--neutral-gray-200); }
  .text-gray-300 { color: var(--neutral-gray-300); }
  .text-gray-400 { color: var(--neutral-gray-400); }
  .text-gray-500 { color: var(--neutral-gray-500); }
  .text-gray-600 { color: var(--neutral-gray-600); }
  .text-success { color: var(--functional-success); }
  .text-error { color: var(--functional-error); }
  .text-warning { color: var(--functional-warning); }
  .text-info { color: var(--functional-info); }

  /* Button Styles */
  .btn-primary {
    background-color: var(--primary-blue);
    color: var(--neutral-white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-small);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-primary:hover {
    background-color: var(--primary-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 87, 184, 0.2);
  }/* ================= HEADER WRAPPER ================= */
.progress-header{
  display:flex;
  align-items:center;
  justify-content:center;   /* progress bar center */
  width:100%;
  position:relative;
  gap:20px;
}

/* -------- LOGO LEFT -------- */
.logo-wrap{
    padding: 20px 0;
  /*position:absolute;*/
  /*left:20px;*/
}

.logo-wrap img{
  /*height:60px;*/
}



/* ================= PROGRESS BAR ================= */

.progress-steps{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:25px 10px;
  position:relative;
  width:80%;
}

/* Each step */
.step{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  flex:1;
  text-align:center;
}

/* Grey connector line */
.step::before{
  content:"";
  position:absolute;
  top:6px;
  left:-50%;
  width:100%;
  height:3px;
  background:#d7d7d7;
  z-index:1;
}

/* Remove on first */
.step:first-child::before{
  display:none;
}

/* Blue only on completed steps */
.step.completed::before{
  background:#0a66dc;
}

/* ---------- Dot default ---------- */
.step-dot{
  width:14px;
  height:14px;
  border-radius:50%;
  background:#d7d7d7;
  z-index:2;
}

/* ---------- Label default ---------- */
.step-label{
  margin-top:8px;
  font-size:13px;
  color:#777;
}

/* ========= COMPLETED (BLUE) ========= */
.step.completed:not(.active) .step-dot{
  background:#0a66dc;
}

.step.completed:not(.active) .step-label{
  color:#0a66dc;
  font-weight:600;
}

/* ========= ACTIVE (BLACK) ========= */

/* Line behind active should be blue */
.step.active::before{
  background:#0a66dc;
}

/* Black active dot */
.step.active .step-dot{
  background:#0a66dc !important;
  transform:scale(1.15);
}

/* Black active text */
.step.active .step-label{
  color:#000 !important;
  font-weight:600;
}



/* ================= MOBILE STYLE ================= */
@media (max-width:768px){

  .progress-header{
    flex-direction:column;
    justify-content:center;
    gap:12px;
  }

  .logo-wrap{
    /*position:relative;*/
    /*left:0;*/
  }

  .logo-wrap img{
    /*height:28px;*/
  }

  .progress-steps{
    width:100%;
  }
}



  /* Full Width Layout */
  .page-container {
    width: 100%;
    min-height: calc(100vh - 90px);
    padding: 0;
    background: var(--bg-primary);
  }

  /* Page Styling */
  .page {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease;
  }

  .page.active {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Page 1 - Quick Pay */
  .quickpay-container {
    display: flex;
    justify-content: center;
    min-height: 80vh;
    background: var(--bg-primary);
  }

  .quickpay-right {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 20px;
    background: var(--bg-primary);
  }

  .access-title {
      font-size: 48px;                     /* match size */
      font-weight: 700;
      font-family: "mayo-display", Georgia, serif;
      color: #080808;                      /* dark text */
      margin-bottom: 15px;
      text-align: center;                    /* same as screenshot */
    }


  .access-subtitle {
    font-size: 18px;
    color: var(--neutral-gray-500);
    margin-bottom: 30px;
    text-align: center;
  }

  .info-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-blue);
  }

  .info-text {
    font-size: 16px;
    color: var(--neutral-gray-500);
    line-height: 1.6;
  }

  .form-container {
    background: var(--bg-primary);
  }

  .form-group {
    margin-bottom: 25px;
  }

  .form-label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
  }

  .form-label .required {
    color: var(--functional-error);
  }

 .form-input {
      width: 100%;
      padding: 8px 10px;              /* smaller height */
      border: 1px solid #bfc7d1;      /* light grey thin border */
      border-radius: 4px;             /* smooth corner */
      font-size: 14px;
      background: #fff;
      color: #000;
      outline: none;
    }
    
    /* Focus style – same जैसा screenshot */
    .form-input:focus {
      border-color: #1a73e8;          /* blue border */
      box-shadow: 0 0 0 1px #1a73e8;  /* light blue ring */
  }

  .button-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
  }

  .btn {
    padding: 15px 32px;
    border: none;
    border-radius: var(--radius-small);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
  }

  .btn-primary {
    background: var(--primary-blue);
    color: var(--neutral-white);
  }

  .btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 87, 184, 0.2);
  }

  .btn-secondary {
    background: var(--bg-secondary);
    color: var(--neutral-gray-500);
    border: 2px solid var(--neutral-gray-300);
  }

  .btn-secondary:hover {
    background: var(--neutral-gray-300);
  }

  /* Warning Modal */
  .warning-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
  }

  .warning-modal.show {
    display: flex;
  }

  .warning-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
  }

  .warning-icon {
    font-size: 48px;
    color: var(--functional-warning);
    margin-bottom: 20px;
  }

  .warning-title {
    font-size: 24px;
    color: #856404;
    margin-bottom: 15px;
    font-weight: 600;
  }

  .warning-text {
    font-size: 16px;
    color: var(--neutral-gray-500);
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .warning-highlight {
    background: #e1f0ff;
    border: 1px solid #0057b8;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
  }

  .warning-highlight-text {
    color: #0057b8;
    font-weight: 600;
  }

  /* Page 2 - Visit Details */
  .visit-details-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--bg-primary);
  }

  .security-box {
    background: var(--bg-highlight);
    border: 1px solid var(--primary-blue);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
  }

  .security-title {
    font-size: 16px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
  }

  .security-text {
    font-size: 14px;
    color: var(--neutral-gray-500);
    line-height: 1.5;
  }

  /* Page 3 - Bill Summary */
  .bill-summary-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--bg-primary);
  }

  .bill-summary-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-align: center;
  }

  .bill-summary-subtitle {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
  }

  .bill-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 40px;
    margin: 30px 0;
  }

  .bill-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--neutral-gray-300);
  }

  .bill-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .bill-label {
    color: var(--neutral-gray-500);
    font-weight: 500;
    font-size: 16px;
  }

  .bill-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
  }

  .statement-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-blue);
    color: var(--neutral-white);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .statement-view-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
  }

  /* Balance & Due Date Section */
  .balance-due-section {
    background: var(--bg-primary);
    border: 2px solid var(--primary-blue);
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
  }

  .balance-due-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .balance-due-row:last-child {
    margin-bottom: 0;
  }

  .balance-info {
    flex: 1;
  }

  .balance-label {
    font-size: 16px;
    color: var(--neutral-gray-500);
    font-weight: 500;
    margin-bottom: 5px;
  }

  .balance-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
  }

  .due-date-label {
    font-size: 16px;
    color: var(--neutral-gray-500);
    font-weight: 500;
  }

  .due-date-value {
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 600;
  }

  .pay-now-btn {
    background: var(--primary-blue);
    color: var(--neutral-white);
    border: none;
    border-radius: 8px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
  }

  .pay-now-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 87, 184, 0.3);
  }

  /* Page 4 - Payment */
  .payment-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--bg-primary);
  }

  .payment-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-align: center;
  }

  .payment-subtitle {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
  }

  .payment-amount-box {
    background: var(--bg-primary);
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
  }

  .payment-label {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
  }

  .amount-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
  }

  .currency {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
  }

  .amount-input {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    border: none;
    background: transparent;
    text-align: center;
    width: 200px;
    outline: none;
    padding: 10px;
  }

  .amount-input::placeholder {
    color: var(--neutral-gray-400);
    font-size: 36px;
  }

  .due-amount-info {
    font-size: 14px;
    color: var(--neutral-gray-500);
    margin-top: 10px;
  }

  .payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
  }

  .payment-method-card {
    border: 2px solid var(--neutral-gray-300);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-primary);
  }

  .payment-method-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 87, 184, 0.1);
  }

  .payment-method-card.selected {
    border-color: var(--primary-blue);
    background: var(--bg-highlight);
  }

  .method-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }

  .method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-highlight);
    border-radius: 8px;
    color: var(--primary-blue);
  }

  .method-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
  }

  /* Page 5 - Card Details */
  .card-details-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--bg-primary);
  }

  .card-details-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-align: center;
  }

  .card-details-subtitle {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
  }

  .card-form {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .form-row-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .card-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }

  .card-icon {
    height: 24px;
    opacity: 0.6;
  }

  /* Page 6 - Success */
  .success-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    background: var(--bg-primary);
  }

  .success-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-blue-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.6s ease;
  }

  .success-icon svg {
    width: 50px;
    height: 50px;
    color: var(--neutral-white);
  }

  @keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
  }

  .success-title {
    font-size: 36px;
    color: var(--primary-blue-dark);
    margin-bottom: 15px;
    font-weight: 700;
  }

  .transaction-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    text-align: left;
  }

  .transaction-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--neutral-gray-300);
  }

  .transaction-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* Loading Overlay */
  .loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .loading-overlay.show {
    display: flex;
  }

  .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--neutral-gray-200);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .loading-text {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .progress-header{
        flex-direction:column;
        justify-content:center;
        position:relative;
      }
    
      .logo-wrap{
        /*position:relative;*/
        /*left:0;*/
      }
    
      .progress-steps{
        width:100%;
      }
  .access-title{
    font-size: 32px;
  }
    .progress-steps {
      padding: 20px 15px;
    }

    .step {
      margin: 0 3px;
    }

    .step-label {
      font-size: 11px;
    }

    .visit-details-container,
    .bill-summary-container,
    .payment-container,
    .card-details-container,
    .success-container {
      padding: 40px 20px;
    }

    .quickpay-right {
      padding: 40px 20px;
    }

    .form-container {
      padding: 30px 20px;
    }

    .page-title {
      font-size: 28px;
    }

    .page-subtitle {
      font-size: 16px;
    }

    .form-row,
    .form-row-three {
      grid-template-columns: 1fr;
    }

    .button-group {
      flex-direction: column;
    }

    .amount-input {
      font-size: 36px;
      width: 150px;
    }

    .currency {
      font-size: 28px;
    }
    
    .balance-amount {
      font-size: 28px;
    }
    
    .due-date-value {
      font-size: 20px;
    }
    
    .pay-now-btn {
      padding: 12px 20px;
      font-size: 16px;
    }
  }

  @media (max-width: 480px) {

    .step-label {
      font-size: 10px;
    }
    
    .balance-amount {
      font-size: 24px;
    }
    
    .due-date-value {
      font-size: 18px;
    }
    
    .step {
      margin: 0 6px;
    }
    .step::before {
        content: "";
        position: absolute;
        top: 6px;
        left: -61%;
        width: 100%;
        height: 3px;
        background: #d7d7d7;
        z-index: 1;
    }
  }
  
  .site-footer {
      text-align: center;
      padding: 30px 15px 40px;
      color: #6b7280; /* light grey text */
      font-size: 13px;
      background: #fafafa;
      border-top: 1px solid #e5e7eb;
    }
    
    .footer-top-text {
      margin-bottom: 12px;
      line-height: 1.5;
    }
    
    .footer-links {
      margin-bottom: 15px;
    }
    
    .footer-links a {
      margin: 0 10px;
      color: #1a73e8; /* blue links */
      text-decoration: none;
      font-weight: 500;
    }
    
    .footer-links a:hover {
      text-decoration: underline;
    }
    
    .footer-copy {
      margin: 4px 0;
      color: #6b7280;
      font-size: 12px;
    }
