/* Help Container Styles */
.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Main Title */
.help-container h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    text-align: center;
}

/* Content Container */
.help-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* Typography */
.help-content h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid #3498db;
}

.help-content h3 {
    color: #34495e;
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 12px;
}

.help-content h4 {
    color: #555;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 10px;
}

.help-content p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.7;
}

/* Lists */
.help-content ul, .help-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.help-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Links */
.help-content a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.help-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Code blocks */
.help-content pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', Courier, monospace;
}

.help-content code {
    background: #e8f4f8;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #2c3e50;
}

/* Tables */
.help-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.help-content th {
    background: #3498db;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.help-content td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.help-content tr:hover {
    background: #f8f9fa;
}

/* Images */
.help-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Blockquotes */
.help-content blockquote {
    border-left: 4px solid #f39c12;
    margin: 20px 0;
    padding: 15px 20px;
    background: #fef9e7;
    border-radius: 0 5px 5px 0;
    font-style: italic;
}

/* Alert boxes */
.help-content .alert {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;
    border-left: 4px solid;
}

.help-content .alert-info {
    background: #d9edf7;
    border-color: #3498db;
    color: #2c3e50;
}

.help-content .alert-warning {
    background: #fcf8e3;
    border-color: #f39c12;
    color: #8a6d3b;
}

.help-content .alert-success {
    background: #d4edda;
    border-color: #27ae60;
    color: #155724;
}

.help-content .alert-danger {
    background: #f8d7da;
    border-color: #e74c3c;
    color: #721c24;
}

/* Video containers */
.help-content .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.help-content .video-container iframe,
.help-content .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Steps/Instructions */
.help-content .step {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin: 15px 0;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.help-content .step-number {
    background: #3498db;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 0.9rem;
}

/* Print styles */
@media print {
    .help-container {
        max-width: none;
        padding: 0;
    }

    .help-content {
        box-shadow: none;
        background: transparent;
    }

    .help-content a {
        color: #000;
        text-decoration: none;
    }

    .help-content pre {
        background: #f5f5f5;
        color: #000;
        border: 1px solid #ccc;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .help-container {
        padding: 15px;
    }

    .help-container h1 {
        font-size: 2rem;
    }

    .help-content {
        padding: 20px;
    }

    .help-content h2 {
        font-size: 1.5rem;
    }

    .help-content h3 {
        font-size: 1.3rem;
    }

    .help-content table {
        font-size: 0.9rem;
    }

    .help-content th,
    .help-content td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .help-container h1 {
        font-size: 1.8rem;
    }

    .help-content {
        padding: 15px;
    }

    .help-content h2 {
        font-size: 1.4rem;
    }

    .help-content h3 {
        font-size: 1.2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.help-content a:focus,
.help-content button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}
