* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body {
    background: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 16px;
}
#app {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 20px 16px 30px;
    position: relative;
}
header {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.logo {
    font-size: 22px;
    font-weight: 700;
    color: #1a2a3a;
}
.sub {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}
.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0 20px;
    font-size: 14px;
    color: #555;
}
#stepText {
    font-weight: 600;
    color: #007aff;
}
#stepTitle {
    font-weight: 500;
}
.content {
    min-height: 320px;
    margin-bottom: 20px;
}
.option-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.option-item {
    background: #f8f9fc;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}
.option-item.selected {
    border-color: #007aff;
    background: #f0f7ff;
}
.option-item .label {
    font-size: 16px;
    font-weight: 500;
}
.option-item .desc {
    font-size: 13px;
    color: #888;
    margin-top: 2px;
}
.option-item .badge {
    background: #e9ecf0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
}
.option-item .check {
    color: #007aff;
    font-weight: 700;
    font-size: 20px;
}
.input-field {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
    background: #fafafa;
    outline: none;
    transition: 0.2s;
}
.input-field:focus {
    border-color: #007aff;
    background: white;
}
.input-hint {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}
.fee-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.fee-option {
    flex: 1;
    min-width: 80px;
    text-align: center;
    padding: 12px;
    background: #f8f9fc;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
}
.fee-option.selected {
    border-color: #007aff;
    background: #f0f7ff;
}
.confirm-box {
    background: #f8f9fc;
    border-radius: 16px;
    padding: 16px;
    margin: 10px 0;
}
.confirm-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.confirm-row:last-child {
    border-bottom: none;
}
.confirm-label {
    color: #666;
}
.confirm-value {
    font-weight: 500;
}
.notice {
    background: #fff3cd;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    color: #856404;
    margin: 12px 0;
}
.btn-primary {
    width: 100%;
    padding: 16px;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    opacity: 0.6;
    pointer-events: none;
}
.btn-primary.enabled {
    opacity: 1;
    pointer-events: auto;
}
.btn-primary.enabled:active {
    transform: scale(0.97);
}
.btn-primary.success {
    background: #34c759;
}
.btn-secondary {
    background: #f0f0f0;
    color: #333;
}
.hidden {
    display: none !important;
}
.footer {
    margin-top: 8px;
}
