/* Custom CSS specifically for the How to Use page */
.help-dashboard {
    height: 100dvh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(180deg, #fff -23.05%, #eef2f8 47.88%, #d6dfee 147.61%) !important;
}

.help-page-body {
    height: calc(100dvh - 60px) !important;
    overflow-y: auto !important; /* Enable scrolling */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.help-main-content {
    width: 100% !important;
    max-width: 1200px !important; /* Wide full width container like regular pages! */
    padding: 40px 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Premium Page Container Styling */
.help-page-container {
    background: #ffffff !important;
    color: #222 !important;
    padding: 45px 50px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    max-width: 100% !important; /* Take full available width of parent */
    text-align: left !important;
    box-sizing: border-box !important;
    margin-bottom: 40px !important;
}

.help-page-container h1 {
    color: #4c2a95 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.subtitle {
    color: #666 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 35px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding-bottom: 20px !important;
}

/* Step Card Styling */
.step-card {
    margin-bottom: 30px !important;
}

.step-card h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #4c2a95 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.step-number {
    background: rgba(76, 42, 149, 0.1) !important;
    width: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    color: #4c2a95 !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
}

.step-card p {
    color: #444 !important;
    line-height: 1.65 !important;
    margin: 0 0 10px 42px !important;
    font-size: 14.5px !important;
}

.step-card ul {
    color: #444 !important;
    line-height: 1.8 !important;
    margin: 0 0 15px 72px !important;
    font-size: 14.5px !important;
    list-style-type: disc !important;
}

.note {
    color: #777 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 0 0 0 42px !important;
    font-style: italic !important;
}

/* Warning Banner */
.warning-box {
    background: rgba(245, 158, 11, 0.08) !important;
    border-left: 4px solid #f59e0b !important;
    padding: 14px 18px !important;
    border-radius: 6px !important;
    margin-left: 42px !important;
    color: #b45309 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .help-main-content {
        padding: 20px 12px !important;
    }
    .help-page-container {
        padding: 25px 20px !important;
        border-radius: 12px !important;
    }
    .help-page-container h1 {
        font-size: 24px !important;
    }
    .subtitle {
        font-size: 13.5px !important;
        margin-bottom: 25px !important;
        padding-bottom: 15px !important;
    }
    .step-card h2 {
        font-size: 16px !important;
        gap: 8px !important;
    }
    .step-number {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }
    .step-card p {
        margin-left: 32px !important;
        font-size: 13px !important;
    }
    .step-card ul {
        margin-left: 52px !important;
        font-size: 13px !important;
    }
    .note {
        margin-left: 32px !important;
        font-size: 12px !important;
    }
    .warning-box {
        margin-left: 32px !important;
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
}

/* Navigation Button - Pill with dynamic animations */
.nav-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(76, 42, 149, 0.08) !important;
    border: 1.5px solid rgba(76, 42, 149, 0.35) !important; /* High contrast border */
    border-radius: 20px !important;
    padding: 6px 14px !important;
    color: #4c2a95 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-home-btn:hover {
    background: #4c2a95 !important;
    color: #ffffff !important;
    border-color: #4c2a95 !important;
    box-shadow: 0 4px 12px rgba(76, 42, 149, 0.2) !important;
    transform: translateY(-1px);
}

.nav-home-btn svg {
    stroke: currentColor !important;
}

/* Article Back button - Bordered pill button for clear visibility */
.article-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1.5px solid rgba(0, 0, 0, 0.12) !important; /* Clear outline border */
    border-radius: 20px !important;
    padding: 6px 16px !important;
    color: #555 !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    margin-bottom: 25px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.article-back-btn:hover {
    background: rgba(76, 42, 149, 0.05) !important;
    color: #4c2a95 !important;
    border-color: rgba(76, 42, 149, 0.35) !important;
    transform: translateX(-4px);
    box-shadow: 0 2px 8px rgba(76, 42, 149, 0.08) !important;
}

.article-back-btn svg {
    stroke: currentColor !important;
}

/* Mobile support for nav home button text hiding if compact */
@media (max-width: 576px) {
    .nav-home-btn span {
        display: none !important;
    }
    .nav-home-btn {
        padding: 8px !important;
        border-radius: 50% !important;
    }
}

/* Premium Guide Additions */
.guide-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding-bottom: 30px !important;
    margin-bottom: 35px !important;
}

.guide-section p {
    color: #444 !important;
    line-height: 1.65 !important;
    font-size: 14.5px !important;
    margin-bottom: 12px !important;
}

.section-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #4c2a95 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.icon-space {
    margin-right: 10px !important;
}

.section-desc {
    color: #555 !important;
    font-size: 14.5px !important;
    margin-bottom: 15px !important;
}

.guide-list {
    margin: 0 0 15px 24px !important;
    padding-left: 0 !important;
}

.guide-list li {
    color: #444 !important;
    line-height: 1.7 !important;
    font-size: 14.5px !important;
    margin-bottom: 12px !important;
    list-style-type: disc !important;
}

.product-subcard {
    background: rgba(76, 42, 149, 0.03) !important;
    border: 1px solid rgba(76, 42, 149, 0.08) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    transition: all 0.25s ease !important;
}

.product-subcard:hover {
    background: rgba(76, 42, 149, 0.05) !important;
    border-color: rgba(76, 42, 149, 0.15) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(76, 42, 149, 0.05) !important;
}

.product-subcard h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #4c2a95 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.product-subcard p {
    margin-bottom: 0 !important;
    font-size: 14px !important;
}

/* Beautiful Table Styling */
.table-responsive-wrapper {
    overflow-x: auto !important;
    margin: 20px 0 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.guide-table {
    width: 100% !important;
    border-collapse: collapse !important;
    text-align: left !important;
    font-size: 14px !important;
}

.guide-table th {
    background: rgba(76, 42, 149, 0.06) !important;
    color: #4c2a95 !important;
    font-weight: 700 !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid rgba(76, 42, 149, 0.15) !important;
}

.guide-table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #444 !important;
    line-height: 1.6 !important;
}

.guide-table tr:last-child td {
    border-bottom: none !important;
}

.guide-table tr:hover td {
    background: rgba(76, 42, 149, 0.01) !important;
}

.phrasing-label {
    display: inline-block !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.phrasing-label.bad {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 18px !important;
    }
    .guide-list li {
        font-size: 13px !important;
    }
    .product-subcard {
        padding: 15px !important;
    }
    .product-subcard h3 {
        font-size: 14.5px !important;
    }
    .guide-table th, .guide-table td {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    .guide-section {
        padding-bottom: 15px !important;
        margin-bottom: 20px !important;
    }
    .step-card {
        margin-bottom: 18px !important;
    }
}