:root {

    /* shipment panel colors */
    --bg:#ffffff;
    --panel:#efe7e2;      /* pale beige panel */
    --accent:#f6c021;     /* yellow accent */
    --brown:#4b2b17;      /* dark brown for logo */
    --teal:#0fa29b;       /* teal for active dot */
    --muted:#9a8f8a;      /* muted text */
    --track:#bfbdbb;      /* track line and inactive dots */
    --black:#111;

    /* for ship from */
    --border:#bfbdbb;
    --text:#222;
    --label:#6a6a6a;
    --card:#fff;

    /* for ship to */
    --border:#bfbdbb; 
    --text:#222; 
    --card:#fff;

}

  /* Page */
  html,body{
    height:100%;
    margin:0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background:var(--bg);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
  }

  /* center the card like in the screenshot */
  .wrap{
    max-width:720px;
    margin:34px auto;
    padding:24px;
  }

  /* top rounded beige panel that contains the content */
  .panel{
    background:var(--panel);
    border-radius:28px;
    padding:32px 36px 48px 36px;
    position:relative;
    overflow:visible;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  }

  /* top bar: logo left, profile icon right */
  .topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:22px;
  }

  /* approximate UPS shield badge (inline SVG) */
  .logo{
    width:68px;
    height:44px;
    display:block;
  }

  /* profile circle with silhouette */
  .profile{
    width:44px;
    height:44px;
    border-radius:50%;
    background:var(--accent);
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow: 0 2px 0 rgba(0,0,0,0.05);
  }
  .profile svg{ width:22px; height:22px; display:block; }

  /* Title */
  .title{
    font-size:48px;
    font-weight:600;
    color:var(--black);
    margin:8px 0 12px 0;
    line-height:1;
  }

  /* thin yellow short underline element under title */
  .title-underline{
    width:64px;
    height:6px;
    background:var(--accent);
    border-radius:4px;
    margin-bottom:14px;
  }

  .req{
    color:var(--black);
    font-size:15px;
    margin-bottom:22px;
  }

.progress-wrap {
  margin-top: 20px;
  margin-bottom: 10px;
}

.progress {
  position: relative;
  display: flex;
  align-items: center;
  gap: 42px;
  padding-left: 22px;
  height: 36px;
}

/* Line under the dots */
.progress::before {
  content: "";
  position: absolute;
  left: 54px;
  right: 34px;
  top: 18px;
  height: 6px;
  background: #dcdcdc;
  border-radius: 6px;
  z-index: 0;
}

/* Dot wrapper */
.dot,
.step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  z-index: 2;
  position: relative;
}

/*** MAIN ACTIVE DOT ***/
.dot.active .inner {
  width: 12px;
  height: 12px;
  background: #00857A;
  border-radius: 50%;
  margin: 4px auto;
}

.dot.active .ring {
  width: 20px;
  height: 20px;
  border: 3px solid #00857A;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Empty dots */
.step-dot {
  background: #eee;
  border: 2px solid #ccc;
}






  /* step text & label */
  .step{
    text-align:center;
    color:var(--muted);
    font-size:16px;
    margin-bottom:10px;
  }

  .section-label{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:6px;
  }

  .section-label h3{
    font-size:22px;
    font-weight:700;
    margin:0;
    color:var(--black);
  }

  /* right chevron */
  .chev{
    width:22px;
    height:22px;
    display:inline-block;
    transform:translateX(4px);
  }

  /* responsive small screens */
  @media (max-width:420px){
    .title{ font-size:34px; }
    .wrap{ padding:12px; }
  }


  /* hide the horizontal scrollbar that appears in some browsers

  /* shipping form script */

  body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background:#f5f3f1;
    margin:0;
    padding:40px;
  }

  .form-card {
    max-width: 420px;
    background: var(--card);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin:auto;
  }

  h2 {
    margin:0 0 20px 0;
    font-size:26px;
    color:var(--text);
  }

  .field {
    width:100%;
    border:1px solid var(--border);
    border-radius:10px;
    padding:16px;
    font-size:16px;
    margin-bottom:16px;
    color:var(--text);
    background:#fff;
    outline:none;
  }

  /* Placeholder color */
  .field::placeholder {
    color:#777;
  }

  /* Dropdown override */
  select.field {
    appearance:none;
    background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23555' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 14px center;
    background-size:20px;
  }

  /* Checkbox container */
  .checkbox-row {
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:15px;
    margin:10px 0 18px 0;
    color:var(--text);
  }

  .checkbox-row input {
    width:20px;
    height:20px;
    border:1px solid var(--border);
    border-radius:4px;
    appearance:none;
    cursor:pointer;
    position:relative;
  }

  .checkbox-row input:checked::after {
    content:"";
    position:absolute;
    top:2px;
    left:6px;
    width:6px;
    height:14px;
    border: solid #000;
    border-width:0 3px 3px 0;
    transform:rotate(45deg);
  }  


  /* Ship to */

  body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background:#f5f3f1;
    margin:0;
    padding:40px;
  }

  .form-card {
    max-width: 420px;
    background: var(--card);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin:auto;
    margin-top:50px;
  }

  h2 {
    margin:0 0 20px 0;
    font-size:26px;
    color:var(--text);
  }

  .field {
    width:100%;
    border:1px solid var(--border);
    border-radius:10px;
    padding:16px;
    font-size:16px;
    margin-bottom:16px;
    color:var(--text);
    background:#fff;
    outline:none;
  }

  .field::placeholder { color:#777; }

  /* Dropdown arrow */
  select.field {
    appearance:none;
    background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23555' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 14px center;
    background-size:20px;
  }

  /* checkbox row */
  .checkbox-row {
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:15px;
    margin:10px 0 18px 0;
    color:var(--text);
    line-height:1.3;
  }

  .checkbox-row input {
    width:20px;
    height:20px;
    border:1px solid var(--border);
    border-radius:4px;
    appearance:none;
    cursor:pointer;
    position:relative;
  }

  .checkbox-row input:checked::after {
    content:"";
    position:absolute;
    top:2px;
    left:6px;
    width:6px;
    height:14px;
    border: solid #000;
    border-width:0 3px 3px 0;
    transform:rotate(45deg);
  }






  /* packaging container */

  .section-container {
    width: 92%;
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    margin-top: 50px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    background: #d6e3df;
    padding: 5px;
    border-radius: 40px;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    padding: 10px 0;
    border: none;
    background: transparent;
    font-size: 16px;
    border-radius: 40px;
    cursor: pointer;
}

.tab.active {
    background: #00796b;
    color: #fff;
}

.section-text {
    font-size: 15px;
    margin-bottom: 15px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.measure-tips {
    font-size: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-icon {
    width: 18px;
    height: 18px;
    background: #e5eef7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2f80ed;
    font-size: 12px;
    font-weight: bold;
}



/* Box illustration */

.box-illustration {
    width: 100%;
    text-align: center;
    margin: 20px 0 10px 0;
    position: relative;
}

.box-img {
    width: 200px;   /* same as UPS */
    display: block;
    margin: 0 auto;
}

/* Labels */
.measure-label {
    position: absolute;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

/* L centered under left bottom */
.measure-label.l {
    left: calc(50% - 60px);
    top: 165px;
}

/* W under right */
.measure-label.w {
    left: calc(50% + 20px);
    top: 165px;
}

/* H on the right side mid-height */
.measure-label.h {
    left: calc(50% + 120px);
    top: 110px;
}






/* Measurement Labels */
.measure-label {
    position: absolute;
    font-weight: bold;
    color: #555;
}

.measure-label.l {
    bottom: -20px;
    left: 20%;
}

.measure-label.w {
    bottom: -20px;
    right: 20%;
}

.measure-label.h {
    right: -15px;
    top: 40%;
}

.input-row {
    position: relative;
    margin-bottom: 15px;
}

.input-row input {
    width: 100%;
    padding: 14px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}



   /* ================= FOOTER STYLE ================= */

.ups-footer {
    width: 100%;
    background: #f7f3ef;
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #e0d9d3;
}

/* Yellow Button */
.footer-primary-btn {
    background: #ffb000;
    color: black;
    border: none;
    padding: 14px 25px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 90%;
    max-width: 450px;
    display: block;
    margin: 0 auto 20px auto;
}

/* Back Button */
.footer-back-btn {
    background: none;
    border: 2px solid #0055a5;
    color: #0055a5;
    padding: 12px 25px;
    border-radius: 30px;
    width: 90%;
    max-width: 450px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 25px;
}

/* Shipping Summary */
.shipping-summary {
    margin: 10px auto;
}

.summary-toggle {
    color: #0055a5;
    text-decoration: underline;
    font-size: 16px;
}

.total-charges {
    margin-top: 5px;
    font-size: 18px;
}

/* Legal Section */
.legal-section {
    margin-top: 40px;
    background: #3b241a;
    color: white;
    padding: 25px 15px;
    text-align: left;
}

.legal-section h3 {
    margin-bottom: 10px;
}

.copyright {
    margin-top: 15px;
    font-size: 15px;
}



