/* Help System Styles */

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #212529;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
}

.help-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Page Header with Logo */
.help-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0d6efd;
}

.help-header img {
    height: 40px;
    margin-right: 15px;
}

.help-header h1 {
    margin: 0;
    padding: 0;
    border: none;
}

/* Navigation */
.help-nav {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.help-nav a {
    color: #0d6efd;
    text-decoration: none;
}

.help-nav a:hover {
    text-decoration: underline;
}

/* Headers */
h1 {
    color: #212529;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

h2 {
    color: #495057;
    margin-top: 30px;
}

h3 {
    color: #6c757d;
    margin-top: 25px;
}

/* Screenshot Disclaimer */
.screenshot-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.screenshot-disclaimer strong {
    color: #856404;
}

/* Code blocks */
pre, code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

code {
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Steps */
.steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.steps li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    font-size: 0.9em;
}

/* Screenshots */
.screenshot {
    max-width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.screenshot-caption {
    font-size: 0.9em;
    color: #6c757d;
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 15px;
}

/* Info boxes */
.info-box {
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.info-box.note {
    background-color: #e7f3ff;
    border-left: 4px solid #0d6efd;
}

.info-box.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.info-box.danger {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}

.info-box.success {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Definition lists (for troubleshooting) */
dt {
    font-weight: 600;
    color: #dc3545;
    margin-top: 15px;
}

dd {
    margin-left: 20px;
    margin-bottom: 10px;
}

/* Related topics */
.related-topics {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.related-topics h2 {
    font-size: 1.1rem;
    margin-top: 0;
}

.related-topics ul {
    list-style: none;
    padding: 0;
}

.related-topics li {
    margin-bottom: 8px;
}

.related-topics a {
    color: #0d6efd;
    text-decoration: none;
}

.related-topics a:hover {
    text-decoration: underline;
}

/* Footer */
.help-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

.help-footer p {
    margin: 5px 0;
}

/* Help index page */
.help-index-section {
    margin-bottom: 25px;
}

.help-index-section h2 {
    font-size: 1.2rem;
    color: #0d6efd;
    margin-bottom: 10px;
}

.help-index-section ul {
    list-style: none;
    padding: 0;
}

.help-index-section li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.help-index-section li::before {
    content: "📄";
    position: absolute;
    left: 0;
}

.help-index-section a {
    color: #212529;
    text-decoration: none;
}

.help-index-section a:hover {
    color: #0d6efd;
    text-decoration: underline;
}
