* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f0f4f8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 420px;
}

h1 {
    text-align: center;
    font-size: 22px;
    color: #1d2129;
    margin-bottom: 16px;
    font-weight: 600;
}

.tutorial-link {
    display: block;
    background-color: #165DFF;
    color: #fff;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.tutorial-link:hover {
    background-color: #0E42D2;
}

.system-tip {
    background: #fef7e0;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
}

.tip-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    width: 16px;
    height: 16px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4e5969;
}

input[type="text"],
input[type="password"],
input[type="number"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 15px;
    transition: border 0.2s;
}

input:focus {
    border-color: #165DFF;
    outline: none;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.btn-build {
    flex: 2;
    height: 46px;
    background-color: #165DFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.btn-build:hover {
    background-color: #0E42D2;
}

.btn-build:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-test {
    flex: 1;
    height: 46px;
    background-color: #fff;
    color: #165DFF;
    border: 1px solid #165DFF;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-test:hover {
    background-color: #f0f7ff;
}

.btn-test:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.test-result {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    display: none;
    line-height: 1.4;
}

.test-result svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.success {
    background: #e6f7ee;
    color: #007d49;
    border: 1px solid #b3e3cd;
}

.error {
    background: #fee7e6;
    color: #c92a2a;
    border: 1px solid #f5c6cb;
}

.loading {
    background: #e6f7ff;
    color: #0958d9;
    border: 1px solid #bee5eb;
}
