* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif; background: #f0f0f5; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 20px; }
body::before { content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 20% 50%, rgba(120,119,198,0.15), transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(255,119,115,0.08), transparent 50%), radial-gradient(ellipse at 50% 100%, rgba(52,152,219,0.08), transparent 50%); pointer-events: none; z-index: 0; }
.container { max-width: 680px; width: 100%; position: relative; z-index: 1; }
.mac-window { background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 12px; border: 0.5px solid rgba(0,0,0,0.08); box-shadow: 0 22px 70px rgba(0,0,0,0.12), 0 0 0 0.5px rgba(0,0,0,0.06), inset 0 0.5px 0 rgba(255,255,255,0.7); overflow: hidden; }
.mac-titlebar { height: 52px; background: linear-gradient(180deg, #f6f6f6 0%, #ececec 100%); border-bottom: 0.5px solid #d4d4d4; display: flex; align-items: center; padding: 0 16px; position: relative; user-select: none; }
.mac-dots { display: flex; gap: 8px; }
.mac-dot { width: 12px; height: 12px; border-radius: 50%; }
.mac-dot.red { background: #ff5f57; border: 0.5px solid #e0443e; }
.mac-dot.yellow { background: #febc2e; border: 0.5px solid #dea123; }
.mac-dot.green { background: #28c840; border: 0.5px solid #1aab29; }
.mac-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 500; color: #4d4d4d; letter-spacing: 0.3px; }
.step-bar { display: flex; align-items: center; justify-content: center; padding: 24px 30px 0; gap: 0; }
.step-node { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1; }
.step-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; transition: all 0.3s ease; border: 2px solid #d4d4d8; background: #fff; color: #a1a1aa; }
.step-node.active .step-circle { border-color: #16baaa; background: #16baaa; color: #fff; box-shadow: 0 2px 8px rgba(22,186,170,0.3); }
.step-node.done .step-circle { border-color: #16baaa; background: #e6faf7; color: #16baaa; }
.step-label { font-size: 11px; color: #a1a1aa; font-weight: 500; }
.step-node.active .step-label, .step-node.done .step-label { color: #16baaa; }
.step-node.active .step-label { font-weight: 600; }
.step-line { width: 60px; height: 2px; background: #e4e4e7; margin-bottom: 20px; }
.step-line.done { background: #16baaa; }
.content { padding: 28px 32px 32px; }
.section-title { font-size: 13px; font-weight: 600; color: #71717a; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.section-title::before { content: ''; width: 3px; height: 14px; background: #16baaa; border-radius: 2px; }
.check-list { display: flex; flex-direction: column; gap: 1px; background: #f4f4f5; border-radius: 10px; overflow: hidden; border: 0.5px solid #e4e4e7; }
.check-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px 120px 130px; align-items: center; padding: 11px 16px; background: #fff; font-size: 13px; min-height: 47px; }
.check-row.header { background: #fafafa; font-weight: 600; color: #52525b; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.check-row .name { color: #27272a; font-weight: 500; }
.check-row .req { color: #71717a; }
.check-row .cur { color: #52525b; }
.check-row .status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.check-row .status a { color: #16baaa; text-decoration: none; font-weight: 600; }
.check-row .status a:hover, .info-box a:hover { text-decoration: underline; }
.status-pass { color: #16a34a; font-weight: 600; font-size: 12px; }
.status-fail { color: #dc2626; font-weight: 600; font-size: 12px; }
.status-warn { color: #d97706; font-weight: 600; font-size: 12px; }
.form-section { background: #fafafa; border-radius: 10px; border: 0.5px solid #e4e4e7; padding: 20px; margin-bottom: 16px; }
.form-section-title { font-size: 12px; font-weight: 600; color: #16baaa; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.form-section-title::before { content: ''; width: 6px; height: 6px; background: #16baaa; border-radius: 50%; }
.form-tip { margin: -8px 0 14px; color: #71717a; font-size: 12px; line-height: 1.5; }
.test-box { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
#testResult { min-height: 18px; font-size: 12px; line-height: 1.5; }
.test-result-pending { color: #a1a1aa; }
.test-result-success { color: #16a34a; font-weight: 500; }
.test-result-error { color: #dc2626; font-weight: 500; }
.form-group { margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: #52525b; font-size: 13px; }
.form-group input[type="text"], .form-group input[type="password"], .form-group input[type="email"] { width: 100%; padding: 9px 12px; border: 0.5px solid #d4d4d8; border-radius: 8px; font-size: 13px; font-family: inherit; background: #fff; color: #27272a; transition: all 0.2s ease; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.form-group input:focus { outline: none; border-color: #16baaa; box-shadow: 0 0 0 3px rgba(22,186,170,0.12), 0 1px 2px rgba(0,0,0,0.04); }
.form-group input::placeholder { color: #a1a1aa; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border: none; border-radius: 8px; font-size: 13px; font-weight: 500; font-family: inherit; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; gap: 6px; letter-spacing: 0.2px; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(180deg, #1cc7b5 0%, #16baaa 100%); color: #fff; box-shadow: 0 1px 3px rgba(22,186,170,0.3), 0 0 0 0.5px rgba(22,186,170,0.1); }
.btn-primary:hover { background: linear-gradient(180deg, #20d4c2 0%, #19c9b7 100%); box-shadow: 0 4px 12px rgba(22,186,170,0.3), 0 0 0 0.5px rgba(22,186,170,0.1); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: #52525b; border: 0.5px solid #d4d4d8; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.btn-secondary:hover { background: #f4f4f5; border-color: #a1a1aa; }
.btn-test { background: #fff; color: #16a34a; border: 0.5px solid #bbf7d0; box-shadow: 0 1px 2px rgba(0,0,0,0.04); padding: 9px 16px; font-size: 12px; font-weight: 600; }
.btn-test:hover { background: #f0fdf4; border-color: #86efac; }
.btn-group { display: flex; gap: 10px; justify-content: space-between; margin-top: 24px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 13px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.alert::before { flex-shrink: 0; font-size: 15px; margin-top: 1px; }
.alert-error { background: #fef2f2; color: #991b1b; border: 0.5px solid #fecaca; }
.alert-error::before { content: '⚠'; }
.alert-success { background: #f0fdf4; color: #166534; border: 0.5px solid #bbf7d0; }
.alert-success::before { content: '✓'; }
.alert-info { background: #eff6ff; color: #1e40af; border: 0.5px solid #bfdbfe; }
.alert-info::before { content: 'ℹ'; }
.alert-warning { background: #fffbeb; color: #92400e; border: 0.5px solid #fde68a; }
.alert-warning::before { content: '⚠'; }
.alert.is-hidden { display: none; }
.confirm-row { display: none; align-items: flex-start; gap: 8px; margin: 12px 0 0; padding: 12px 14px; background: #fff7ed; border: 0.5px solid #fed7aa; border-radius: 8px; color: #9a3412; font-size: 13px; line-height: 1.5; }
.confirm-row.is-visible { display: flex; }
.confirm-row input { margin-top: 2px; }
.success-box { text-align: center; padding: 30px 20px; }
.success-icon { width: 72px; height: 72px; background: linear-gradient(135deg, #16baaa, #20d4c2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 8px 24px rgba(22,186,170,0.25); animation: pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes pop-in { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.success-icon svg { width: 36px; height: 36px; fill: #fff; }
.success-box h2 { color: #27272a; margin-bottom: 8px; font-size: 20px; font-weight: 600; }
.success-box p { color: #71717a; margin-bottom: 24px; font-size: 14px; }
.info-box { background: #fafafa; border-radius: 10px; border: 0.5px solid #e4e4e7; padding: 16px 20px; margin: 20px 0; text-align: left; }
.info-box p { margin: 6px 0; font-size: 13px; color: #52525b; }
.info-box strong { color: #27272a; }
.info-box a { color: #16baaa; text-decoration: none; }
.footer { text-align: center; color: #a1a1aa; margin-top: 16px; font-size: 12px; letter-spacing: 0.3px; }
@media (max-width: 640px) {
    body { padding: 16px 12px; align-items: flex-start; padding-top: 40px; }
    .content { padding: 20px 16px 24px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .check-row { grid-template-columns: minmax(0, 1fr) 54px 76px 108px; padding: 10px 12px; font-size: 12px; }
    .step-line { width: 30px; }
    .btn { padding: 10px 16px; font-size: 12px; }
}
