/* Help Page Styles - extends dashboard.css */

/* Help Screen Layout */
#help-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#help-screen header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-home-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sitethreesixty-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.btn-back {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: background 0.2s ease;
}

.btn-back:hover {
    background: var(--primary-hover);
}

/* Help Content */
.help-content {
    flex: 1;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.help-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Help Section Cards */
.help-section {
    padding: 1.5rem 2rem;
}

.help-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.help-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

/* Quick Navigation */
.quick-nav-card {
    padding: 1.5rem 2rem;
}

.quick-nav-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-nav-list li a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.quick-nav-list li a:hover {
    background: rgba(4, 122, 122, 0.1);
}

/* Help Lists and Steps */
.help-steps {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.help-steps li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.help-steps li ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.help-list {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.help-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.status-list {
    list-style: none;
    padding-left: 0;
}

.status-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.status-list li:last-child {
    border-bottom: none;
}

/* Help Callout */
.help-callout {
    background: rgba(4, 122, 122, 0.08);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 0 6px 6px 0;
}

.help-tip {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Screenshot Placeholders */
.screenshot-placeholder {
    background: var(--bg-color);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    margin: 1rem 0;
    font-style: italic;
}

/* Help Screenshots */
.help-screenshot {
    display: block;
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

/* Code styling */
.help-section code {
    background: var(--bg-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.coming-soon {
  color: #ef4444; /* red */
  font-weight: 600;
}

/* Contact Section */
.contact-section .contact-list {
    list-style: none;
    padding: 0;
}

.contact-section .contact-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-section .contact-list li:last-child {
    border-bottom: none;
}

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

.contact-section a:hover {
    text-decoration: underline;
}

.response-times {
    background: rgba(4, 122, 122, 0.08);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

/* Welcome and Closing Cards */
.welcome-card h1 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.closing-card {
    text-align: center;
    padding: 2rem;
}

.closing-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    #help-screen header {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .header-center {
        order: 3;
        flex-basis: 100%;
    }

    .sitethreesixty-logo {
        height: 32px;
    }

    .help-content {
        padding: 1rem;
    }

    .help-section {
        padding: 1rem 1.25rem;
    }

    .quick-nav-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-left .header-cube,
    .header-left .header-logo {
        height: 28px;
    }

    .btn-back {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}
