/* Help Page Styles */

.help-page {
    width: 100%;
}

.help-heading {
    margin-bottom: 1.5rem;
}

.help-title {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.help-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
    margin: 0;
    max-width: 720px;
}

.help-divider {
    height: 1px;
    background: hsl(var(--border));
    margin: 0.75rem 0;
}

.help-section-divider {
    height: 1px;
    background: hsl(var(--border));
    margin: 1.25rem 0;
}

/* Sections */
.help-section {
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

/* Steps List */
.help-steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    counter-reset: step-counter;
}

.help-page .collapsible-section + .collapsible-section {
    margin-top: 1.5rem;
}

.help-steps li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: hsl(var(--muted-foreground));
    counter-increment: step-counter;
}

.help-steps li::before {
    content: counter(step-counter);
    width: 2rem;
    height: 2rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1;
    flex: 0 0 2rem;
}

/* Help Card */
.help-card {
    padding: 1.5rem;
}

/* Text content within collapsible sections */
.help-text-content {
    padding: 0.5rem 0;
}

.help-text-content p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
    margin: 0 0 1rem 0;
}

.help-text-content p:last-child {
    margin-bottom: 0;
}

.help-text-content .help-steps {
    margin: 1rem 0;
}

/* Help Items within collapsible sections */
.help-item {
    padding: 1rem 0;
    border-bottom: 1px solid hsl(var(--border));
}

.help-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.help-item:first-child {
    padding-top: 0;
}

.help-question {
    font-size: 0.9375rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.help-answer {
    font-size: 0.9375rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
    line-height: 1.7;
}

/* Links */
.workflow-link,
.email-link {
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.workflow-link:hover,
.email-link:hover {
    color: hsl(var(--primary-glow));
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .help-title {
        font-size: 1.75rem;
    }

    .help-question,
    .help-answer {
        font-size: 0.875rem;
    }
}