/* ===== Wifi Order – Step 1 ===== */
.wo-wrap {
    max-width: 820px;
    margin: 36px auto 60px;
    padding: 0 16px;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #1a1a2e;
}

/* Step indicator */
.wo-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 36px;
    position: relative;
}
.wo-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: calc(12.5% + 18px);
    right: calc(12.5% + 18px);
    height: 2px;
    background: #d0d7e4;
    z-index: 0;
}
.wo-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}
.wo-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d0d7e4;
    color: #888;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    border: 3px solid #d0d7e4;
    transition: all .3s;
}
.wo-step.active .wo-step-circle {
    background: #1a3a6b;
    border-color: #1a3a6b;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(26,58,107,.15);
}
.wo-step.done .wo-step-circle {
    background: #27ae60;
    border-color: #27ae60;
    color: #fff;
}
.wo-step-label {
    font-size: 12px;
    color: #888;
    line-height: 1.3;
}
.wo-step.active .wo-step-label { color: #1a3a6b; font-weight: 600; }

/* Page title */
.wo-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a6b;
    border-left: 4px solid #e74c3c;
    padding-left: 14px;
    margin-bottom: 28px;
    line-height: 1.3;
}

/* Section card */
.wo-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    margin-bottom: 24px;
    overflow: hidden;
}
.wo-card-header {
    background: #1a3a6b;
    color: #fff;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wo-card-header i { font-size: 16px; opacity: .9; }
.wo-card-body { padding: 24px 22px; }

/* Form fields */
.wo-field { margin-bottom: 20px; }
.wo-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.wo-field label .req { color: #e74c3c; margin-left: 3px; }
.wo-field .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 7px;
    font-size: 14px;
    background: #fafbfc;
    color: #1a1a2e;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
}
.wo-field .form-control:focus {
    outline: none;
    border-color: #1a3a6b;
    box-shadow: 0 0 0 3px rgba(26,58,107,.12);
    background: #fff;
}
select.form-control { cursor: pointer; }

/* Country description */
#country_desc {
    margin-top: 8px;
    padding: 10px 14px;
    background: #f0f4ff;
    border-left: 3px solid #1a3a6b;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #444;
    display: none;
}
#country_desc.visible { display: block; }

/* Plan description */
#desc {
    margin-top: 8px;
    padding: 10px 14px;
    background: #fff8e1;
    border-left: 3px solid #f39c12;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #555;
}

/* Date grid */
.wo-date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) { .wo-date-grid { grid-template-columns: 1fr; } }

/* Date note */
.wo-date-note {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff3f3;
    border-left: 3px solid #e74c3c;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #c0392b;
    font-weight: 600;
}
#usause { margin-top: 6px; font-size: 13px; color: #c0392b; }

/* Insurance note */
.wo-insurance-note {
    margin-top: 10px;
    padding: 10px 14px;
    background: #f0fdf4;
    border-left: 3px solid #27ae60;
    border-radius: 0 6px 6px 0;
    font-size: 12.5px;
    color: #1e7e34;
    line-height: 1.6;
}

/* Coupon */
.wo-coupon-applied {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #e8f5e9;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
}
.wo-coupon-applied .btn-remove {
    margin-left: auto;
    background: none;
    border: none;
    color: #c0392b;
    cursor: pointer;
    font-size: 15px;
    padding: 2px 6px;
}

/* Action row */
.wo-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}
.wo-btn-next {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 13px 40px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .4px;
    transition: background .2s, transform .1s;
    box-shadow: 0 3px 10px rgba(231,76,60,.3);
}
.wo-btn-next:hover { background: #c0392b; transform: translateY(-1px); }

/* Plan select size override */
#WifiPlanId { min-height: 90px; }

/* ---- Estimate bar ---- */
.wo-estimate {
    position: sticky;
    bottom: 0;
    z-index: 100;
    background: #1a3a6b;
    border-top: 3px solid #e74c3c;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(26,58,107,.22);
    overflow: hidden;
}
.wo-estimate-header {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    cursor: pointer; user-select: none;
    background: transparent;
}
.wo-estimate-header-left {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 700; color: #e0eaff;
    text-transform: uppercase; letter-spacing: .5px;
}
.wo-estimate-header-left i { color: #f87171; font-size: 15px; }
.wo-estimate-days-badge {
    display: none;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
    color: #fff; font-size: 10px; font-weight: 700;
    border-radius: 20px; padding: 2px 8px;
}
.wo-estimate-total {
    font-size: 24px; font-weight: 900;
    color: #fff;
    margin-left: auto; margin-right: 12px;
    letter-spacing: -.5px;
    text-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.wo-estimate-toggle {
    color: rgba(255,255,255,.6); font-size: 12px;
    transition: transform .25s;
}
.wo-estimate.open .wo-estimate-toggle { transform: rotate(180deg); }
.wo-estimate-body {
    display: none;
    background: #162d55;
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 14px 20px 16px;
}
.wo-estimate.open .wo-estimate-body { display: block; }
.wo-estimate-rows { width: 100%; border-collapse: collapse; }
.wo-estimate-rows tr td {
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    vertical-align: top;
}
.wo-estimate-rows tr:last-child td { border-bottom: none; }
.wo-estimate-rows .est-label { color: #93c5fd; width: 36%; }
.wo-estimate-rows .est-label i { margin-right: 4px; }
.wo-estimate-rows .est-val   { text-align: right; font-weight: 700; color: #fff; width: 22%; }
.wo-estimate-rows .est-sub   { text-align: right; font-size: 11px; color: rgba(255,255,255,.45); padding-left: 6px; width: 42%; }
.wo-estimate-rows .est-total-row td {
    padding-top: 10px; font-size: 14px; font-weight: 800;
    color: #fca5a5;
    border-top: 2px solid rgba(248,113,113,.35);
}
.wo-estimate-rows .est-total-row .est-val { font-size: 17px; color: #fca5a5; }
.wo-estimate-note {
    font-size: 11px; color: rgba(255,255,255,.4);
    margin-top: 10px; line-height: 1.6;
}
/* アイコンカラー */
.est-icon-rent     { color: #60a5fa; }
.est-icon-ins      { color: #4ade80; }
.est-icon-battery  { color: #fbbf24; }

@media print { .wo-btn-next { display: none; } }
