/* Help Instructions Styles */
.help-instructions-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.help-instructions-section h3 {
    color: #1f2937;
    margin-bottom: 24px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.help-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.help-navigation button {
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    min-width: 100px;
}

.help-navigation button:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.help-navigation button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#helpPageIndicator {
    font-weight: 600;
    color: #4b5563;
    min-width: 60px;
    text-align: center;
    padding: 8px 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.help-content {
    position: relative;
    min-height: 400px;
}

.help-page {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.help-page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.help-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 16px;
}

.help-page h4 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}

.help-page p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 1rem;
}

.help-page ul {
    color: #374151;
    margin: 16px 0;
    padding-left: 24px;
}

.help-page li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.help-page li strong {
    color: #1f2937;
    font-weight: 600;
}

.contact-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    text-align: center;
}

.contact-info p {
    margin-bottom: 8px;
    color: #0c4a6e;
}

.contact-info a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}

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

/* Dark mode styles */
.dark-mode .help-instructions-section {
    background: #1f2937;
    border-color: #374151;
}

.dark-mode .help-instructions-section h3 {
    color: #f9fafb;
}

.dark-mode .help-navigation {
    background: #374151;
}

.dark-mode .help-navigation button {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

.dark-mode .help-navigation button:hover:not(:disabled) {
    background: #6b7280;
    border-color: #9ca3af;
}

.dark-mode #helpPageIndicator {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

.dark-mode .help-page h4 {
    color: #f9fafb;
}

.dark-mode .help-page p {
    color: #d1d5db;
}

.dark-mode .help-page ul {
    color: #e5e7eb;
}

.dark-mode .help-page li strong {
    color: #f9fafb;
}

.dark-mode .contact-info {
    background: #1e3a8a;
    border-color: #3b82f6;
}

.dark-mode .contact-info p {
    color: #bfdbfe;
}

.dark-mode .contact-info a {
    color: #60a5fa;
}

/* Responsive design */
@media (max-width: 768px) {
    .help-instructions-section {
        padding: 16px;
        margin-top: 16px;
    }

    .help-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .help-navigation button {
        width: 100%;
        max-width: 200px;
    }

    .help-page h4 {
        font-size: 1.25rem;
    }

    .help-icon {
        font-size: 2.5rem;
    }

    .contact-info {
        padding: 16px;
    }
}
