* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fa;
    color: #333;
    padding-top: 90px;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.form-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.form-desc {
    color: #999;
    margin-bottom: 30px;
}

/* 光年样式提示框 */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.alert i {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-label .required {
    color: #ff4d4f;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group .form-input {
    flex: 1;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #1890ff;
    color: #fff;
}

.btn-primary:hover {
    background: #40a9ff;
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.btn-secondary:hover {
    background: #d9d9d9;
}

.btn-lg {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
}

.btn-success {
    background: #52c41a;
    color: #fff;
}

.btn-success:hover {
    background: #73d13d;
}

.captcha-img {
    height: 40px;
    cursor: pointer;
    border-radius: 6px;
}

.footer {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    color: #999;
    margin-top: 60px;
    border-top: 1px solid #f0f0f0;
}

.url-input-group {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    .container {
        padding: 0 15px;
        margin: 20px auto;
    }

    .form-card {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .form-title {
        font-size: 22px;
    }

    /* 手机端alert基础样式 */
    .alert {
        padding: 12px 15px;
        font-size: 13px;
        line-height: 1.5;
        flex-direction: row;
        gap: 8px;
    }

    .alert i {
        font-size: 16px;
        margin-top: 0;
        flex-shrink: 0;
    }

    /* 有列表的alert（顶部提示）- 使用alert-info类 */
    .alert-info {
        flex-direction: column;
    }

    .alert-info>div {
        width: 100%;
    }

    .alert-info strong {
        display: block;
        margin-bottom: 5px;
    }

    .alert ul {
        margin: 5px 0 0 0 !important;
        padding-left: 18px !important;
    }

    .alert ul li {
        margin: 4px 0;
        line-height: 1.4;
    }

    /* 付费说明alert保持横向 */
    .alert-warning strong,
    .alert-success strong {
        display: inline;
        margin-bottom: 0;
    }

    .url-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .get-info-btn {
        width: 100%;
    }

    /* 手机端按钮一行两个 */
    .btn-lg {
        padding: 12px 8px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    /* 手机端按钮文字简化 */
    .btn-lg i {
        margin-right: 2px;
    }
}