/* Headers now handled by headers.css */

/* Help Tab Specific Styling for AMD Construction Pro */

#help-tab .help-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
    background: #f8fafc;
    padding: 8px;
    position: relative;
    z-index: auto;
    width: 100%;
    min-height: 0;
    height: auto;
    box-sizing: border-box;
}

/* Sidebar Navigation */
#help-tab .help-nav, #help-tab .help-rightbar {
    width: 240px;
    background: white;
    border-radius: 8px;
    padding: 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: visible;
    height: auto;
    position: static;
    z-index: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

#help-tab .nav-section {
    border-bottom: 1px solid #e2e8f0;
    padding: 12px;
    position: relative;
    z-index: 1;
    background: transparent;
}

#help-tab .nav-section:last-child {
    border-bottom: none;
}

#help-tab .nav-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#help-tab .nav-section-title i {
    color: #3b82f6;
}

/* Search Section */
#help-tab .help-search-container {
    display: flex;
    gap: 8px;
}

#help-tab .search-input-wrapper {
    position: relative;
    flex: 1;
}

#help-tab .search-input-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
}

#help-tab .search-input-wrapper input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

#help-tab .search-input-wrapper input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#help-tab .search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

#help-tab .search-clear:hover {
    background: #f1f5f9;
    color: #1e293b;
}

#help-tab .search-btn {
    padding: 10px 12px;
    font-size: 14px;
}

/* Quick Actions */
#help-tab .quick-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 10px;
    margin-bottom: 8px;
    border: none;
    background: #f8fafc;
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: #374151;
}

#help-tab .quick-action-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

#help-tab .quick-action-btn i {
    color: #3b82f6;
    width: 16px;
}

/* Navigation Buttons */
#help-tab .nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 7px 10px;
    margin-bottom: 6px;
    border: none;
    background: transparent;
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: #374151;
}

#help-tab .nav-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}

#help-tab .nav-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-weight: 500;
}

#help-tab .nav-btn.active .nav-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

#help-tab .nav-btn i {
    margin-right: 10px;
    width: 16px;
    color: #3b82f6;
}

#help-tab .nav-btn.active i {
    color: white;
}

#help-tab .nav-badge {
    background: #e2e8f0;
    color: #64748b;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

#help-tab .nav-badge.new {
    background: #ef4444;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Support Card */
#help-tab .support-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

#help-tab .support-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

#help-tab .support-info h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
}

#help-tab .support-info p {
    margin: 0 0 16px 0;
    font-size: 12px;
    opacity: 0.9;
}

#help-tab .support-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    opacity: 0.9;
}

#help-tab .support-contact {
    display: flex;
    gap: 8px;
}

#help-tab .support-contact .btn {
    flex: 1;
    padding: 6px 8px;
    font-size: 11px;
}

/* Main Content Area */
#help-tab .help-content {
    flex: 1 1 0;
    min-width: 0;
    background: white;
    border-radius: 8px;
    padding: 18px 14px 18px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    margin-left: 0;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 0;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#help-tab .help-section {
    display: none;
    padding: 32px;
}

#help-tab .help-section.active {
    display: block;
}

/* Section Headers */
#help-tab .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

#help-tab .section-header h3 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

#help-tab .progress-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

#help-tab .progress-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

#help-tab .progress-bar {
    width: 120px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

#help-tab .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

#help-tab .progress-percentage {
    font-size: 14px;
    color: #10b981;
    font-weight: 600;
}

/* Welcome Banner */
#help-tab .welcome-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

#help-tab .welcome-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

#help-tab .welcome-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

#help-tab .welcome-text h2 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

#help-tab .welcome-text p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

#help-tab .welcome-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Setup Checklist */
#help-tab .setup-checklist {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 32px;
    overflow: hidden;
}

#help-tab .checklist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

#help-tab .checklist-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

#help-tab .checklist-header i {
    color: #10b981;
}

#help-tab .checklist-progress {
    font-size: 14px;
    color: #64748b;
    background: #e2e8f0;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

#help-tab .checklist-items {
    padding: 8px;
}

#help-tab .checklist-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
    font-size: 13px;
}

#help-tab .checklist-item:hover {
    background: #f8fafc;
}

#help-tab .checklist-item.completed {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

#help-tab .checklist-item.in-progress {
    background: linear-gradient(135deg, #fefbf3 0%, #fef3c7 100%);
}

#help-tab .item-status {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

#help-tab .checklist-item.completed .item-status {
    background: #10b981;
    color: white;
}

#help-tab .checklist-item.in-progress .item-status {
    background: #f59e0b;
    color: white;
}

#help-tab .checklist-item .item-status {
    background: #e2e8f0;
    color: #64748b;
}

#help-tab .item-content {
    flex: 1;
}

#help-tab .item-content h4 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

#help-tab .item-content p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

#help-tab .item-action {
    flex-shrink: 0;
}

#help-tab .status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#help-tab .status-badge.completed {
    background: #dcfce7;
    color: #166534;
}

/* Quick Guides */
#help-tab .quick-guides {
    margin-bottom: 32px;
}

#help-tab .guides-header {
    margin-bottom: 24px;
}

#help-tab .guides-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 8px 0;
}

#help-tab .guides-header i {
    color: #3b82f6;
}

#help-tab .guides-header p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

#help-tab .guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

#help-tab .guide-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 13px;
}

#help-tab .guide-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

#help-tab .guide-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 16px;
}

#help-tab .guide-content h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

#help-tab .guide-content p {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

#help-tab .guide-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

#help-tab .time-estimate {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
}

#help-tab .difficulty {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#help-tab .difficulty.beginner {
    background: #dcfce7;
    color: #166534;
}

#help-tab .difficulty.intermediate {
    background: #fef3c7;
    color: #92400e;
}

#help-tab .difficulty.advanced {
    background: #fecaca;
    color: #991b1b;
}

#help-tab .guide-action .btn {
    width: 100%;
    justify-content: center;
}

/* Tutorials Section */
#help-tab .tutorials-content {
    padding: 0;
}

#help-tab .tutorial-category {
    margin-bottom: 40px;
}

#help-tab .tutorial-category h4 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#help-tab .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

#help-tab .video-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

#help-tab .video-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

#help-tab .video-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

#help-tab .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#help-tab .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.2s ease;
}

#help-tab .video-card:hover .play-button {
    background: #3b82f6;
    transform: translate(-50%, -50%) scale(1.1);
}

#help-tab .video-card h5 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin: 16px 16px 8px 16px;
}

#help-tab .video-card p {
    color: #64748b;
    font-size: 14px;
    margin: 0 16px 16px 16px;
    line-height: 1.4;
}

#help-tab .tutorial-request {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

#help-tab .tutorial-request h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

#help-tab .tutorial-request p {
    color: #64748b;
    margin-bottom: 20px;
}

#help-tab .request-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

#help-tab .request-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

/* FAQ Section */
#help-tab .faq-content {
    padding: 0;
}

#help-tab .faq-search {
    margin-bottom: 32px;
}

#help-tab .faq-search input {
    width: 100%;
    max-width: 500px;
    padding: 16px 20px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s ease;
}

#help-tab .faq-search input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#help-tab .faq-category {
    margin-bottom: 40px;
}

#help-tab .faq-category h4 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#help-tab .faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

#help-tab .faq-item:hover {
    border-color: #cbd5e1;
}

#help-tab .faq-question {
    padding: 20px 24px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    user-select: none;
    position: relative;
}

#help-tab .faq-question:after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 20px;
    font-size: 20px;
    color: #64748b;
    transition: transform 0.2s ease;
}

#help-tab .faq-item.active .faq-question:after {
    transform: rotate(45deg);
    color: #3b82f6;
}

#help-tab .faq-answer {
    display: none;
    padding: 0 24px 24px 24px;
    border-top: 1px solid #f1f5f9;
}

#help-tab .faq-item.active .faq-answer {
    display: block;
}

#help-tab .faq-answer p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 12px;
}

#help-tab .faq-answer ol,
#help-tab .faq-answer ul {
    color: #374151;
    padding-left: 20px;
}

#help-tab .faq-answer li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Support Section */
#help-tab .support-content {
    padding: 0;
}

#help-tab .support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

#help-tab .support-option {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

#help-tab .support-option:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

#help-tab .support-option .support-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

#help-tab .support-option h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

#help-tab .support-option p {
    color: #64748b;
    line-height: 1.5;
}

#help-tab .contact-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    max-width: 600px;
}

#help-tab .contact-form h4 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

#help-tab .form-group {
    margin-bottom: 20px;
}

#help-tab .form-group label {
    display: block;
    color: #374151;
    font-weight: 500;
    margin-bottom: 6px;
}

#help-tab .form-group input,
#help-tab .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

#help-tab .form-group input:focus,
#help-tab .form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#help-tab .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* App Details */
#help-tab .app-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 40px;
    text-align: center;
}

#help-tab .app-details h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

#help-tab .version,
#help-tab .build {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 4px;
}

#help-tab .description {
    color: #374151;
    line-height: 1.6;
    margin-top: 16px;
}

/* Legacy styles for backward compatibility */
#help-tab .help-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

#help-tab .help-card h4 {
    color: #1e293b;
    margin-top: 0;
    font-weight: 600;
}

#help-tab .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

#help-tab .feature-item {
    background: white;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 13px;
}

#help-tab .feature-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#help-tab .feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

#help-tab .feature-item h5 {
    margin: 12px 0 8px 0;
    color: #1e293b;
    font-weight: 600;
}

#help-tab .checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#help-tab .checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    font-size: 13px;
}

#help-tab .checklist-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

#help-tab .checklist-item input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

/* Knowledge Base Section */
#help-tab .knowledge-base {
    margin-bottom: 32px;
}

#help-tab .kb-search {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

#help-tab .kb-search input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 16px;
}

#help-tab .kb-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

#help-tab .kb-category {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
    cursor: pointer;
}

#help-tab .kb-category:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

#help-tab .kb-category-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 16px;
}

#help-tab .kb-category h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

#help-tab .kb-category p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

#help-tab .kb-articles-count {
    color: #3b82f6;
    font-size: 14px;
    font-weight: 500;
}

/* Article List */
#help-tab .article-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#help-tab .article-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

#help-tab .article-item:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

#help-tab .article-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

#help-tab .article-icon {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

#help-tab .article-details h5 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

#help-tab .article-details p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

#help-tab .article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #64748b;
    font-size: 12px;
}

/* Troubleshooting Section */
#help-tab .troubleshooting-content {
    padding: 0;
}

#help-tab .issue-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

#help-tab .issue-category {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

#help-tab .issue-category:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

#help-tab .issue-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

#help-tab .issue-category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
}

#help-tab .issue-category h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

#help-tab .common-issues {
    list-style: none;
    padding: 0;
    margin: 0;
}

#help-tab .common-issues li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: color 0.2s ease;
}

#help-tab .common-issues li:hover {
    color: #3b82f6;
}

#help-tab .common-issues li:last-child {
    border-bottom: none;
}

/* Best Practices Section */
#help-tab .best-practices-content {
    padding: 0;
}

#help-tab .practice-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

#help-tab .practice-category {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

#help-tab .practice-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px 24px;
}

#help-tab .practice-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

#help-tab .practice-tips {
    padding: 24px;
}

#help-tab .tip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

#help-tab .tip-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

#help-tab .tip-icon {
    width: 24px;
    height: 24px;
    background: #dcfce7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #166534;
    font-size: 12px;
    margin-top: 2px;
}

#help-tab .tip-content h5 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

#help-tab .tip-content p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Updates Section */
#help-tab .updates-content {
    padding: 0;
}

#help-tab .version-timeline {
    position: relative;
    padding-left: 40px;
}

#help-tab .version-timeline:before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

#help-tab .version-item {
    position: relative;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    margin-left: 24px;
}

#help-tab .version-item:before {
    content: '';
    position: absolute;
    left: -40px;
    top: 24px;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 1px #e2e8f0;
}

#help-tab .version-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

#help-tab .version-number {
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
}

#help-tab .version-date {
    color: #64748b;
    font-size: 14px;
}

#help-tab .version-badge {
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

#help-tab .version-badge.new {
    background: #3b82f6;
    color: white;
}

#help-tab .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#help-tab .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

#help-tab .feature-list li:before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-top: 2px;
}

/* Additional styles for expanded help sections */

/* Integration Guides */
#help-tab .integration-guides {
    padding: 0;
}

#help-tab .integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

#help-tab .integration-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}

#help-tab .integration-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

#help-tab .integration-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

#help-tab .integration-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#help-tab .integration-card h5 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

#help-tab .integration-card p {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

#help-tab .integration-setup-tips {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
}

#help-tab .integration-setup-tips h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

#help-tab .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

#help-tab .tip-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

#help-tab .tip-card .tip-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    margin: 0 auto 12px auto;
}

#help-tab .tip-card h5 {
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

#help-tab .tip-card p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* Diagnostic Tools */
#help-tab .diagnostic-tools {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
}

#help-tab .diagnostic-tools h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

#help-tab .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

#help-tab .diagnostic-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#help-tab .diagnostic-btn:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

#help-tab .diagnostic-btn i {
    color: #3b82f6;
    font-size: 24px;
}

#help-tab .diagnostic-btn span {
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
}

#help-tab .diagnostic-btn small {
    color: #64748b;
    font-size: 12px;
}

/* Industry Insights */
#help-tab .industry-insights {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
}

#help-tab .industry-insights h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

#help-tab .insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

#help-tab .insight-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

#help-tab .insight-stat {
    color: #3b82f6;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

#help-tab .insight-label {
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}

/* Update Preferences */
#help-tab .update-preferences {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

#help-tab .update-preferences h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

#help-tab .preferences-form .form-group {
    margin-bottom: 16px;
}

#help-tab .checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: #374151;
    font-size: 14px;
}

#help-tab .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

#help-tab .checkmark {
    position: relative;
}

/* Roadmap Preview */
#help-tab .roadmap-preview {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

#help-tab .roadmap-preview h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

#help-tab .roadmap-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#help-tab .roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

#help-tab .roadmap-quarter {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

#help-tab .roadmap-features h5 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

#help-tab .roadmap-features p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* Enhanced responsive design for new sections */
@media (max-width: 768px) {
    #help-tab .integration-grid {
        grid-template-columns: 1fr;
    }
    
    #help-tab .tips-grid {
        grid-template-columns: 1fr;
    }
    
    #help-tab .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #help-tab .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #help-tab .roadmap-item {
        flex-direction: column;
        text-align: center;
    }
    
    #help-tab .roadmap-quarter {
        align-self: center;
    }
}

@media (max-width: 480px) {
    #help-tab .tools-grid {
        grid-template-columns: 1fr;
    }
    
    #help-tab .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    #help-tab .help-layout {
        flex-direction: column;
        gap: 16px;
    }
    
    #help-tab .help-nav {
        width: 100%;
        order: 2;
    }
    
    #help-tab .help-content {
        order: 1;
    }
    
    #help-tab .nav-section {
        padding: 16px;
    }
    
    #help-tab .guides-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    #help-tab .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    #help-tab .help-layout {
        padding: 12px;
        gap: 12px;
    }
    
    #help-tab .help-section {
        padding: 20px;
    }
    
    #help-tab .welcome-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    #help-tab .welcome-actions {
        flex-direction: column;
        width: 100%;
    }
    
    #help-tab .guides-grid {
        grid-template-columns: 1fr;
    }
    
    #help-tab .video-grid {
        grid-template-columns: 1fr;
    }
    
    #help-tab .support-options {
        grid-template-columns: 1fr;
    }
    
    #help-tab .kb-categories {
        grid-template-columns: 1fr;
    }
    
    #help-tab .issue-categories {
        grid-template-columns: 1fr;
    }
    
    #help-tab .practice-categories {
        grid-template-columns: 1fr;
    }
    
    #help-tab .checklist-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    #help-tab .progress-indicator {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    #help-tab .request-form {
        flex-direction: column;
    }
    
    #help-tab .help-search-container {
        flex-direction: column;
    }
    
    #help-tab .search-btn {
        width: 100%;
    }
}

@media (max-width: 1300px) {
    #help-tab .help-layout {
        flex-direction: column;
        gap: 16px;
        padding: 8px;
        width: 100%;
        height: auto;
    }
    #help-tab .help-nav, #help-tab .help-rightbar {
        width: 100%;
        min-width: 0;
        max-width: 100vw;
        margin-bottom: 16px;
        height: auto;
    }
    #help-tab .help-content {
        padding: 16px 4px;
        width: 100%;
        height: auto;
    }
}
