/* 主容器 */
.main {
    padding: 24px 16px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.main h1 {
    text-align: center;
    font-size: 30px;
    color: #0e90d2;
    font-weight: 800;
    margin-bottom: 24px;
    margin-top: 0;
}

.main h2 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 24px;
    margin-bottom: 16px;
    color: #333;
}

.main p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
}

/* 表单区域 */
.form {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 24px;
    gap: 0;
}

.form input[type="text"],
.form input[type="url"] {
    flex: 1;
    height: 50px;
    border: 2px solid #0e90d2;
    border-right: 0;
    padding: 0 16px;
    font-size: 16px;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.form input:focus {
    border-color: #0c7cb3;
}

.form button,
.form .btn {
    height: 50px;
    min-width: 120px;
    background-color: #0e90d2;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    padding: 0 24px;
    transition: background-color 0.3s;
}

.form button:hover,
.form .btn:hover {
    background-color: #0c7cb3;
}

.form button:active,
.form .btn:active {
    background-color: #0a6a9a;
}

.form button:disabled,
.form .btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 独立按钮 */
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background-color: #0e90d2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0c7cb3;
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.btn-success {
    background-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
}

/* 提示信息框 */
.alert {
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert a {
    color: inherit;
    font-weight: bold;
    text-decoration: underline;
}

/* 步骤说明列表 */
.steps {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.steps h3 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 12px;
    color: #333;
}

.steps ol {
    margin: 0;
    padding-left: 24px;
}

.steps li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

/* 进度条 */
.progress {
    width: 100%;
    height: 30px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    display: none;
}

.progress.active {
    display: block;
}

.progress-bar {
    height: 100%;
    background-color: #0e90d2;
    text-align: center;
    line-height: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    transition: width 0.3s;
}

/* 卡片 */
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 16px;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 12px;
    color: #0e90d2;
}

.card p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* 响应式 */
@media screen and (max-width: 640px) {
    .main h1 {
        font-size: 24px;
    }

    .form {
        flex-direction: column;
        gap: 12px;
    }

    .form input[type="text"],
    .form input[type="url"] {
        border-radius: 4px;
        border: 2px solid #0e90d2;
    }

    .form button,
    .form .btn {
        border-radius: 4px;
        height: 45px;
    }
}

@media screen and (max-width: 480px) {
    .main {
        padding: 16px 12px;
    }

    .main h1 {
        font-size: 20px;
        margin-bottom: 16px;
    }
}
