:root {
    --primary: #2563eb;
    --primary-soft: #eef5ff;
    --primary-light: #f6f9ff;
    --text: #101a34;
    --muted: #70809b;
    --line: #e7edf5;
    --line-soft: #eef3f8;
    --bg: #f5f8fc;
    --card: #ffffff;
    --danger: #ef4444;
    --warning: #b7791f;
    --success: #16a34a;
    --shadow: 0 14px 34px rgba(24, 52, 98, .06);
    --shadow-soft: 0 8px 22px rgba(24, 52, 98, .045);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.page {
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(circle at 18% 12%, rgba(37, 99, 235, .035), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(14, 165, 233, .035), transparent 22%),
    var(--bg);
}

.container {
    width: var(--container);
    margin: 0 auto;
}

/* 头部区域 */
.complaint-hero {
    padding: 150px 0 48px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(245, 248, 252, .92)),
    radial-gradient(circle at 26% 20%, rgba(37, 99, 235, .07), transparent 28%),
    radial-gradient(circle at 74% 18%, rgba(14, 165, 233, .06), transparent 26%);
    border-bottom: 1px solid var(--line-soft);
}

.hero-inner {
    text-align: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e3ebf6;
    color: #5c6f8e;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 14px rgba(24, 52, 98, .04);
    margin-bottom: 16px;
}

.hero-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.hero-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.35;
    font-weight: 900;
    color: #111b32;
    letter-spacing: -.6px;
}

.hero-desc {
    margin: 12px 0 0;
    font-size: 15px;
    color: #6f7f9a;
    line-height: 1.75;
}

/* 主体区域 */
.result-main {
    padding: 34px 0 72px;
}

.result-layout {
    width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.panel {
    position: relative;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    overflow: hidden;
}

.panel-header {
    min-height: 62px;
    padding: 17px 20px 15px;
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #edf2f8;
    color: #1c2c45;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    color: #17243b;
}

.panel-title-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #eef5ff;
    color: var(--primary);
    border: 1px solid #dce8fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
}

.panel-body {
    padding: 20px 20px 22px;
}

/* 表单样式 */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #5c6f8e;
    font-weight: 600;
}

.form-label::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
}

.form-control {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #dce6f3;
    border-radius: 12px;
    background: #fff;
    color: #1c2d48;
    font-size: 14px;
    transition: all .18s ease;
}

.form-control:focus {
    outline: none;
    border-color: #91b7ff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}

textarea.form-control {
    height: auto;
    padding: 12px 14px;
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-control-file {
    padding: 10px 14px;
    border: 1px solid #dce6f3;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
}

.form-control-hint {
    font-size: 12px;
    color: #8a9ab3;
    margin-top: 4px;
}

/* 选择卡密按钮 */
.select-card-wrapper {
    position: relative;
}

.select-card-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    border: 0;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s ease;
}

.select-card-btn:hover {
    background: #1f58d8;
}

/* 按钮样式 */
.btn-primary-small {
    height: 44px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .16);
    transition: all .18s ease;
}

.btn-primary-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(37, 99, 235, .2);
    background: #1f58d8;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* 响应式 */
@media (max-width: 992px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .result-layout {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
