/* ============================================
   WYROH — Help Center Styles
   Shared across all help pages
   ============================================ */

:root {
    --primary: #667EEA;
    --secondary: #764BA2;
    --bg: #FAFAFC;
    --white: #FFFFFF;
    --text-dark: #2D3748;
    --text-body: #4A5568;
    --text-muted: #718096;
    --text-light: #A0AEC0;
    --border: #E2E8F0;
    --border-light: #EDF2F7;
    --danger: #E53E3E;
    --danger-bg: #FFF5F5;
    --danger-border: #FED7D7;
    --info-bg: #EBF4FF;
    --info-border: #BEE3F8;
    --warning-bg: #FFFBEB;
    --warning-border: #FDE68A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    height: 30px;
    opacity: 0.95;
}

.header-logo:hover {
    opacity: 1;
}

.header-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 32px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--text-light);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.content {
    flex: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 28px 32px 56px;
    width: 100%;
}

/* ============================================
   ARTICLE HEADER
   ============================================ */
.article-header {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.article-header h1 {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.article-meta {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    margin-bottom: 36px;
}

.section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    margin-top: 24px;
}

.section p {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.8;
}

.section strong {
    color: var(--text-dark);
    font-weight: 600;
}

.section ul,
.section ol {
    padding-left: 28px;
    margin-bottom: 14px;
}

.section ul li,
.section ol li {
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.8;
}

/* ============================================
   NUMBERED STEPS
   ============================================ */
.steps {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.steps li {
    position: relative;
    padding: 0 0 20px 48px;
    font-size: 17px;
    line-height: 1.7;
}

.steps li:last-child {
    padding-bottom: 0;
}

.steps li::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ============================================
   CALLOUT BOXES
   ============================================ */
.callout {
    padding: 18px 22px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.7;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.callout i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.callout-info {
    background: var(--info-bg);
    border: 1px solid var(--info-border);
    color: #2B6CB0;
}

.callout-info i {
    color: #3182CE;
}

.callout-warning {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    color: #92400E;
}

.callout-warning i {
    color: #D97706;
}

.callout-danger {
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    color: #C53030;
}

.callout-danger i {
    color: var(--danger);
}

/* ============================================
   DATA TABLE
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
}

.data-table th {
    text-align: left;
    padding: 14px 18px;
    background: var(--border-light);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-body);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table .icon-cell {
    width: 40px;
    text-align: center;
    color: var(--primary);
    font-size: 18px;
}

.badge-deleted {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #FED7D7;
    color: #C53030;
}

.badge-retained {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #FEFCBF;
    color: #92400E;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 32px;
    margin: 24px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 7px;
    bottom: 7px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--white);
}

.timeline-item.active::before {
    background: var(--primary);
}

.timeline-item.danger::before {
    border-color: var(--danger);
}

.timeline-item.danger.active::before {
    background: var(--danger);
}

.timeline-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.timeline-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   LINKS
   ============================================ */
a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 36px 0;
}

/* ============================================
   CONTACT BOX
   ============================================ */
.contact-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    margin-top: 10px;
}

.contact-box p {
    margin-bottom: 18px;
    font-size: 16px;
    color: var(--text-muted);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.contact-link:hover {
    border-color: var(--primary);
    background: var(--info-bg);
    color: var(--primary);
    text-decoration: none;
}

.contact-link i {
    font-size: 18px;
    color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    padding: 28px 32px;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.footer-links {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-dot {
    color: var(--text-light);
    margin: 0 10px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   HELP INDEX — Hero
   ============================================ */
.help-hero {
    text-align: center;
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.help-hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.help-hero p {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 400;
}

/* ============================================
   HELP INDEX — Cards Grid
   ============================================ */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.help-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.help-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.help-card-icon i {
    font-size: 24px;
    color: white;
}

.help-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.help-card > p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
}

.help-card-links {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
}

.help-card-links li {
    margin-bottom: 4px;
}

.help-card-links li:last-child {
    margin-bottom: 0;
}

.help-card-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: all 0.15s ease;
}

.help-card-links a:hover {
    background: var(--border-light);
    color: var(--primary);
    text-decoration: none;
}

.help-card-links a i {
    font-size: 12px;
    color: var(--text-light);
    flex-shrink: 0;
}

.help-card-links a:hover i {
    color: var(--primary);
}

.help-card-links a small {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 400;
}

.help-card-links a strong {
    font-weight: 500;
    color: inherit;
}

.help-link-sub {
    display: block;
    width: 100%;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 18px;
}

.help-card-links li.coming-soon span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    flex-wrap: wrap;
}

.help-card-links li.coming-soon span i {
    font-size: 12px;
}

.badge-soon {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: var(--border-light);
    color: var(--text-light);
    margin-left: 6px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .header-inner {
        padding: 14px 20px;
    }

    .breadcrumb {
        padding: 16px 20px 0;
    }

    .content {
        padding: 24px 20px 48px;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .section h2 {
        font-size: 22px;
    }

    .footer {
        padding: 24px 20px;
    }

    .help-hero {
        padding: 36px 0 32px;
    }

    .help-hero h1 {
        font-size: 32px;
    }

    .help-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .article-header h1 {
        font-size: 26px;
    }

    .section h2 {
        font-size: 20px;
    }

    .section p,
    .steps li {
        font-size: 16px;
    }

    .data-table {
        font-size: 14px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
    }

    .data-table .icon-cell {
        width: 32px;
        font-size: 16px;
    }

    .callout {
        font-size: 15px;
        padding: 14px 16px;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-link {
        justify-content: center;
    }

    .timeline-label,
    .timeline-desc {
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .content {
        padding: 16px 16px 40px;
    }

    .header-inner {
        padding: 12px 16px;
    }

    .header-logo {
        height: 26px;
    }

    .breadcrumb {
        padding: 12px 16px 0;
        font-size: 13px;
    }

    .article-header h1 {
        font-size: 24px;
    }

    .steps li {
        padding-left: 42px;
    }
}
