/* ============================================
   域名滥用举报受理平台 - 前台样式
   主题：企业深蓝 / 完全直角 / Inter 字体
   基于 style.html 设计系统
   版本: V2.0
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #1B3FA0;
    --primary-dark: #0D2B6B;
    --primary-light: #EEF2FF;
    --warning-light: #FEFCE8;
    --danger-light: #FEF2F2;
    --success-light: #F0FDF4;
    --accent: #1B3FA0;
    --success: #16a34a;
    --warning: #ca8a04;
    --danger: #dc2626;
    --info: #0891b2;

    --bg: #F9F9FB;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --border: #E7E7EA;
    --border-light: #E7E7EA;

    --text: #0F1419;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --text-placeholder: #9CA3AF;
    --text-inverse: #FFFFFF;

    --radius: 0px;
    --radius-sm: 0px;
    --radius-lg: 0px;
    --shadow: none;
    --shadow-lg: none;
    --shadow-xl: none;

    --transition: 0.15s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 1440px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* ---- Page Wrapper ---- */
.page-wrapper,
.page {
    width: 1440px;
    margin: 0 auto;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
}

.container-sm { max-width: 800px; }
.container-lg { max-width: 1440px; }

/* ---- Header ---- */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 0 60px;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.header-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.header-logo svg { display: block; }

.header-nav {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.header-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    border-bottom: none;
    transition: color var(--transition);
    white-space: nowrap;
}
.header-nav a:hover {
    color: var(--primary);
}
.header-nav a.active {
    font-weight: 600;
    color: var(--primary);
}

/* style.html header aliases */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo svg { display: block; }
.logo-text {
    font-size: 17px;
    font-weight: 600;
    color: #0F1419;
    white-space: nowrap;
}
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-item {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.nav-item:hover { color: var(--primary); }
.nav-item.active {
    font-weight: 600;
    color: var(--primary);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 80px 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    overflow: hidden;
    text-align: center;
}

.hero-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0;
    -webkit-mask: radial-gradient(ellipse 60% 60% at 50% 45%, #000 0%, #000 40%, transparent 80%);
    mask: radial-gradient(ellipse 60% 60% at 50% 45%, #000 0%, #000 40%, transparent 80%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1320px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    line-height: 56px;
    width: 100%;
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

.hero-subtitle {
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    max-width: 680px;
    line-height: 28px;
    margin-bottom: 0;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero CTA Buttons (style.html specific) */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: opacity 0.15s ease, background 0.15s ease;
    font-family: var(--font);
    line-height: 1.5;
}
.hero-btn svg { display: block; flex-shrink: 0; }
.hero-btn-primary {
    background: #FFFFFF;
    color: var(--primary);
}
.hero-btn-primary:hover { opacity: 0.9; }
.hero-btn-secondary {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    font-weight: 500;
}
.hero-btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

/* style.html exact match: hero CTA primary button */
.hero-ctas .btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #FFFFFF;
    border-radius: 0;
    transition: opacity 0.15s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font);
}
.hero-ctas .btn-primary:hover { opacity: 0.9; background: var(--primary); color: #fff; }
.hero-ctas .btn-primary:hover .btn-primary-text { color: #fff; }
.hero-ctas .btn-primary svg { display: block; flex-shrink: 0; }
.btn-primary-text {
    font-size: 16px;
    font-weight: 600;
    color: #1B3FA0;
}

/* style.html exact match: .btn-secondary (hero CTA secondary button) */
.hero-ctas .btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    transition: background 0.15s ease;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.btn-secondary svg { display: block; flex-shrink: 0; }
.btn-secondary-text {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
}

/* ---- Section Titles ---- */
.section-title-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accent-bar {
    width: 4px;
    height: 28px;
    background: var(--primary);
    border-radius: 0;
    flex-shrink: 0;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    display: inline;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.5;
    font-family: var(--font);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-white {
    background: #fff;
    color: var(--primary);
    border-radius: 0;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
}
.btn-white:hover { opacity: 0.9; }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 0;
}
.btn-outline:hover { background: var(--primary-light); }

.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    border-radius: 0;
    padding: 14px 32px;
    font-weight: 500;
    font-size: 16px;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); }

.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #15803d; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }

.btn-warning { background: var(--warning); color: #fff; }
.btn-warning:hover { background: #a16207; }

.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.1rem; }

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---- Cards ---- */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3,
h3.card-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.card-body {
    padding: 24px;
}

/* Card with flex column + gap (for homepage scope cards) */
.card-body.card-flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    background: #f9fafb;
}

/* Card separators (style.html) */
.card-separator {
    width: 100%;
    height: 1px;
    background: #E7E7EA;
    flex-shrink: 0;
}

.card-description {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 22px;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 0;
    flex-shrink: 0;
}

.dot-red { background: #EF4444; }
.dot-amber { background: #F59E0B; }

.list-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    line-height: 22px;
}

/* Cards wrapper (two-column layout for homepage) */
.cards-wrapper {
    display: flex;
    gap: 24px;
}

.cards-wrapper .card {
    flex: 1;
    min-width: 0;
}

/* ---- Forms ---- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: var(--font);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-control.error {
    border-color: var(--danger);
}

.form-error {
    font-size: 0.82rem;
    color: var(--danger);
    margin-top: 4px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235f6368' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group-half {
    flex: 1;
    min-width: 0;
}

/* domain-tag (used in appeal form) */
.domain-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text);
    margin: 2px 4px 2px 0;
}

/* 申诉表单 - URL列表展示 */
.url-list-display {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.url-list-display li {
    margin-bottom: 2px;
    word-break: break-all;
}

/* upload-hint & upload-icon (appeal form) */
.upload-hint {
    text-align: center;
    padding: 20px 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

/* ---- Steps / Progress ---- */
.steps {
    display: flex;
    margin-bottom: 30px;
    counter-reset: step;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    border-radius: 0;
    background: var(--border);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.step::after {
    content: '';
    position: absolute;
    top: 18px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step:last-child::after { display: none; }

.step.active::before {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.step.completed::before {
    background: var(--success);
    color: #fff;
    content: '\2713';
}

.step.completed::after {
    background: var(--success);
}

.step-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    z-index: 1;
}
.step.active .step-label { color: var(--primary); font-weight: 600; }
.step.completed .step-label { color: var(--success); }

/* ---- Step Content ---- */
.step-content { display: none; }
.step-content.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Alert / Notice ---- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.alert-info {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary);
}

.alert-warning {
    background: #fefce8;
    color: #a16207;
    border-left: 4px solid var(--warning);
}

.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border-left: 4px solid var(--danger);
}

.alert-success {
    background: #f0fdf4;
    color: #15803d;
    border-left: 4px solid var(--success);
}

.alert-csam {
    background: #fef2f2;
    color: #b91c1c;
    border: 2px solid var(--danger);
    border-left: 5px solid var(--danger);
    font-weight: 500;
}

/* ---- Domain / URL Inputs ---- */
.domain-group {
    background: #f9fafb;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
}

.domain-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.domain-group-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.url-list {
    margin-top: 10px;
}

.url-item {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-items: start;
}

.url-item .form-control {
    flex: 1;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    flex-shrink: 0;
}

.btn-icon:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon.danger:hover {
    background: #fef2f2;
    border-color: var(--danger);
    color: var(--danger);
}

.btn-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius);
    background: transparent;
    color: var(--primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 8px;
    font-family: var(--font);
}

.btn-add:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

/* ---- File Upload ---- */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    background: #f9fafb;
    transition: all var(--transition);
    cursor: pointer;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-zone-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.upload-zone-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.upload-zone-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.file-list {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 0.9rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.file-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.file-remove:hover { color: var(--danger); background: #fef2f2; }

.upload-progress {
    height: 4px;
    background: var(--border-light);
    border-radius: 0px;
    margin-top: 8px;
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 0px;
    transition: width 0.3s ease;
}

/* ---- Checkboxes ---- */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.checkbox-item input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

/* ---- Summary Review Table ---- */
.review-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.review-table th, .review-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.review-table th {
    color: var(--text-secondary);
    font-weight: 500;
    width: 160px;
    background: #f9fafb;
}

/* ---- Success Page ---- */
.success-page {
    text-align: center;
    padding: 80px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.success-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

/* ---- SLA Banner ---- */
.sla-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0;
    margin-bottom: 0;
}

.sla-banner svg { display: block; flex-shrink: 0; }

.sla-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.sla-content {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 22px;
}

.sla-section {
    padding: 0 60px 40px 60px;
}

/* ---- Page Sections ---- */
.page-section {
    padding: 60px;
}

.scope-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px;
}

.process-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px;
}

.process-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 40px;
}

.process-steps {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.process-step-square {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.process-step-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.process-step-desc {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-placeholder);
    text-align: center;
    line-height: 20px;
}

/* ---- Footer ---- */
.footer {
    margin-top: auto;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 24px 60px;
    text-align: center;
    font-size: 13px;
    color: var(--text-placeholder);
    line-height: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.footer-text {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-placeholder);
    text-align: center;
    line-height: 20px;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.p-20 { padding: 20px; }

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 0;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Status Tags ---- */
.status-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
}
.status-reviewing { background: var(--primary-light); color: var(--primary); }
.status-supplement { background: #fefce8; color: #a16207; }
.status-supplemented { background: #fff7ed; color: #c2410c; }
.status-filed { background: #f0fdf4; color: #15803d; }
.status-investigating { background: #ecfeff; color: #0e7490; }
.status-disposing { background: #fff7ed; color: #c2410c; }
.status-disposed { background: #f0fdf4; color: #15803d; }
.status-rejected { background: #fef2f2; color: #b91c1c; }
.status-closed { background: #f3f4f6; color: #4b5563; }

/* ---- SLA Tags ---- */
.sla-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 0;
    font-size: 0.78rem;
    font-weight: 600;
}
.sla-danger  { background: #fef2f2; color: #b91c1c; }
.sla-warning { background: #fefce8; color: #a16207; }
.sla-info    { background: var(--primary-light); color: var(--primary); }

/* ---- ICANN Metrica Card (audit page in frontend context) ---- */
.icann-metrica-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 16px 20px;
    margin-top: 12px;
}

.icann-metrica-card .icann-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 600;
}

.icann-status.hit    { background: #fef2f2; color: #b91c1c; }
.icann-status.clean  { background: #f0fdf4; color: #15803d; }
.icann-status.no-data{ background: #f3f4f6; color: #6b7280; }
.icann-status.error  { background: #fefce8; color: #a16207; }

.icann-cache-badge {
    font-size: 0.75rem;
    color: var(--text-placeholder);
}

/* ---- Back/Return Link ---- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    transition: color var(--transition);
}
.back-link:hover { color: var(--primary); }

/* ---- Inline Code ---- */
code {
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: var(--radius);
    font-size: 0.88em;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

/* ============================================
   帮助中心文档样式 — 对齐 style.html 设计系统
   零圆角 / Inter / 直角卡片 / 企业深蓝
   ============================================ */
.help-content {
    max-width: 1440px;
    margin: 0 auto;
    background: #FFFFFF;
    line-height: 1.7;
}

/* ---- 通用排版 ---- */
.help-content h1 {
    font-size: 28px; font-weight: 600; margin-bottom: 12px;
    color: #0F1419; letter-spacing: -0.5px;
}
.help-content h2 {
    font-size: 28px; font-weight: 600; color: #0F1419;
    margin-top: 48px; margin-bottom: 20px;
}
.help-content h3 {
    font-size: 18px; font-weight: 600; color: #0F1419;
    margin-top: 32px; margin-bottom: 14px;
}
.help-content h4 {
    font-size: 15px; font-weight: 600; color: #0F1419;
    margin-top: 24px; margin-bottom: 10px;
}
.help-content p {
    margin-bottom: 14px; color: #4B5563; font-size: 14px; line-height: 1.7;
}
.help-content ul, .help-content ol {
    margin-bottom: 14px; padding-left: 22px; color: #4B5563; font-size: 14px;
}
.help-content li {
    margin-bottom: 6px; line-height: 1.6;
}
.help-content ul ul, .help-content ol ol { margin-bottom: 6px; }
.help-content li ul, .help-content li ol { margin-top: 4px; }

/* ---- 表格 ---- */
.help-content table {
    width: 100%; border-collapse: collapse; margin: 20px 0;
    font-size: 14px; background: #FFFFFF;
    border: 1px solid #E7E7EA;
}
.help-content table th, .help-content table td {
    padding: 10px 12px; border: 1px solid #E7E7EA;
    text-align: left; vertical-align: top;
}
.help-content table th {
    background: #F9F9FB; font-weight: 600; color: #0F1419; font-size: 13px;
}
.help-content table td {
    color: #4B5563;
}

/* ---- Callout（对齐 style.html .sla-banner：左竖线 + 纯色底 + 零圆角） ---- */
.help-content .callout {
    padding: 16px 20px; margin-bottom: 20px;
    font-size: 14px; line-height: 1.65;
    border-radius: 0; border-left: 4px solid;
}
.help-content .callout p { margin-bottom: 6px; }
.help-content .callout p:last-child { margin-bottom: 0; }
.help-content .callout-info    { background: #EEF2FF; border-left-color: #1B3FA0; color: #1B3FA0; }
.help-content .callout-warning { background: #FEFCE8; border-left-color: #F59E0B; color: #92400e; }
.help-content .callout-danger  { background: #FEF2F2; border-left-color: #EF4444; color: #991b1b; }
.help-content .callout-success { background: #F0FDF4; border-left-color: #22c55e; color: #166534; }
.help-content .callout-purple  { background: #f5f3ff; border-left-color: #8b5cf6; color: #5b21b6; }
.help-content .callout-title {
    font-weight: 600; margin-bottom: 8px; font-size: 14px;
}
.help-content .callout-info .callout-title    { color: #1B3FA0; }
.help-content .callout-warning .callout-title { color: #92400e; }
.help-content .callout-danger .callout-title  { color: #991b1b; }
.help-content .callout-success .callout-title { color: #166534; }
.help-content .callout-purple .callout-title  { color: #5b21b6; }

/* ---- 通用内联元素 ---- */
.help-content strong { color: #0F1419; }
.help-content a { color: #1B3FA0; text-decoration: none; }
.help-content a:hover { text-decoration: underline; }
.help-content hr { border: none; border-top: 1px solid #E7E7EA; margin: 32px 0; }
.help-content pre {
    background: #F9F9FB; padding: 16px; overflow-x: auto;
    font-size: 13px; margin-bottom: 14px;
    border: 1px solid #E7E7EA; border-radius: 0;
}
.help-content code {
    background: #F9F9FB; padding: 2px 6px;
    font-size: 13px; border: 1px solid #E7E7EA; border-radius: 0;
}
.help-content pre code {
    background: none; padding: 0; border: none;
}
.help-content blockquote {
    border-left: 4px solid #1B3FA0; padding: 12px 16px;
    background: #EEF2FF; margin-bottom: 14px;
    border-radius: 0; color: #4B5563; font-size: 14px;
}

/* ============================================
   文档封面（对齐 style.html 区域样式）
   ============================================ */
.cover {
    background: #FFFFFF;
    padding: 60px;
    text-align: center;
}
.cover-inner {
    max-width: 1320px; margin: 0 auto;
}
.cover-brand {
    font-size: 14px; font-weight: 600;
    color: #1B3FA0; margin-bottom: 4px;
}
.cover-brand-en {
    font-size: 13px; color: #6B7280; margin-bottom: 28px;
}
.cover h1 {
    font-size: 32px; font-weight: 600; color: #0F1419;
    letter-spacing: -0.5px; line-height: 1.3; margin-bottom: 16px;
}
.cover-subtitle {
    font-size: 16px; color: #4B5563;
    margin-bottom: 20px;
}
.cover-meta {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 8px 24px; font-size: 14px;
}
.cover-meta-item {
    display: inline-flex; gap: 4px;
}
.cover-meta-label { color: #6B7280; }
.cover-meta-value { color: #4B5563; font-weight: 500; }

/* ---- 文档正文 ---- */
.document {
    padding: 60px;
}

/* ---- 目录（对齐 style.html 卡片样式：白底/直角/1px边框） ---- */
.toc {
    background: #FFFFFF; border: 1px solid #E7E7EA;
    border-radius: 0; padding: 24px; margin-bottom: 40px;
}
.toc-title {
    font-size: 18px; font-weight: 600; color: #0F1419;
    margin-bottom: 14px;
}
.toc ol {
    margin: 0; padding-left: 22px; list-style: decimal; font-size: 14px; color: #4B5563;
}
.toc ol ol.sub {
    list-style: lower-alpha; padding-left: 18px; margin-top: 4px;
}
.toc li {
    margin-bottom: 4px;
}
.toc a {
    color: #1B3FA0; text-decoration: none;
}
.toc a:hover { text-decoration: underline; }

/* ---- 章节 ---- */
.preface {
    margin-bottom: 12px;
}
.preface h2 {
    margin-top: 0;
}
.chapter {
    margin-bottom: 4px;
}
.appendix {
    margin-top: 48px; padding-top: 40px;
    border-top: 1px solid #E7E7EA;
}
.appendix h2:first-child { margin-top: 0; }

/* ---- 脚注与标注 ---- */
.footnote {
    font-size: 12px; color: #1B3FA0;
    vertical-align: super;
}
.original-note {
    font-size: 12px; color: #9CA3AF;
    word-break: break-all; display: block; margin-top: 4px;
}

/* ---- 联系信息框（对齐 style.html 卡片） ---- */
.contact-box {
    background: #FFFFFF; border: 1px solid #E7E7EA;
    border-radius: 0; padding: 0;
}
.contact-box table { margin: 0; border: none; }
.contact-box table th,
.contact-box table td { border: none; }

/* ---- 文档尾部 ---- */
.doc-footer {
    margin-top: 56px; padding-top: 32px;
    border-top: 1px solid #E7E7EA;
    text-align: center; color: #9CA3AF; font-size: 14px;
}
.doc-footer .disclaimer {
    font-size: 13px; color: #9CA3AF;
    margin-bottom: 16px; line-height: 1.6;
}
.doc-footer .company-sig {
    font-size: 15px; font-weight: 600; color: #0F1419;
}
.doc-footer .company-sig-en {
    font-size: 13px; color: #9CA3AF; margin-bottom: 6px;
}
.doc-footer .doc-date {
    font-size: 13px; color: #9CA3AF;
}

.back-top {
    position: fixed; bottom: 40px; right: 40px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: #fff; border: none;
    font-size: 20px; cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    display: none; z-index: 999; transition: opacity 0.3s;
}
.back-top.show { display: block; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    body { min-width: 0; }
    .page-wrapper { width: 100%; }
    .hero h1 { font-size: 28px; line-height: 36px; }
    .hero p { font-size: 15px; }
    .steps { flex-wrap: wrap; gap: 10px; }
    .step { flex: none; width: 50%; }
    .step::after { display: none; }
    .header-nav { display: none; }
    .container { padding: 0 20px; }
    .section-title { font-size: 22px; }
}

/* ============================================
   申诉门户页面 — 域名注册人专用（独立品牌UI）
   ============================================ */
.appeal-wizard {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
}
.wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
}
.wizard-step .step-num {
    width: 28px;
    height: 28px;
    border-radius: 0;
    background: var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}
.wizard-step.active .step-num {
    background: var(--primary);
    color: #fff;
}
.wizard-step.done .step-num {
    background: var(--success);
    color: #fff;
}
.wizard-step.active {
    color: var(--primary);
    font-weight: 600;
}
.wizard-step.done {
    color: var(--success);
}
.wizard-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0 4px;
}
.appeal-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 30px;
}
.appeal-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}
.appeal-notice {
    background: #fefce8;
    border: 1px solid var(--warning);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 0.9rem;
    color: #a16207;
    margin-bottom: 20px;
}
.domain-option-card {
    display: block;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.domain-option-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.domain-option-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}
.domain-option-card input[type="radio"] {
    display: none;
}
.domain-option-card .domain-name {
    font-weight: 600;
    font-size: 1rem;
}
.code-input-group {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
.code-input-group .form-group {
    flex: 1;
    margin-bottom: 0;
}
.code-input-group input {
    text-align: center;
    font-size: 1.3rem;
    letter-spacing: 6px;
}
.btn-resend {
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}
.btn-resend:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    text-decoration: none;
}
.verification-email-display {
    background: var(--primary-light);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}
