/* ============================================================
   Hustler's Library Business Journey — Public Styles
   Brand: #008000 green, #FABB17 yellow, #273043 dark
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

.hlbj-dashboard,
.hlbj-step-detail,
.hlbj-quiz-wrap,
.hlbj-gate-wrap {
    font-family: 'Montserrat', sans-serif;
    color: #273043;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ---- BUTTONS ---- */
.hlbj-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s, color 0.2s;
}
.hlbj-btn-primary { background: #008000; color: #fff !important; }
.hlbj-btn-primary:hover { background: #FABB17; color: #273043 !important; }
.hlbj-btn-secondary { background: #f4f4f4; color: #273043 !important; border: 1.5px solid #ddd; }
.hlbj-btn-secondary:hover { background: #e8e8e8; }
.hlbj-btn-full { width: 100%; text-align: center; display: block; }

/* ---- PROGRESS BAR ---- */
.hlbj-progress-track {
    background: #e8e8e8;
    border-radius: 99px;
    height: 10px;
    overflow: hidden;
}
.hlbj-progress-fill {
    height: 100%;
    background: #008000;
    border-radius: 99px;
    transition: width 0.4s ease;
}
.hlbj-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
}

/* ---- DASHBOARD HEADER ---- */
.hlbj-dashboard-header {
    background: #273043;
    color: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.hlbj-welcome h2 { color: #fff; font-size: 1.4rem; font-weight: 800; margin: 0 0 6px; }
.hlbj-welcome p { color: #aab; font-size: 0.95rem; margin: 0; }
.hlbj-overall-progress { flex: 1; min-width: 220px; }
.hlbj-overall-progress .hlbj-progress-track { height: 14px; }
.hlbj-overall-progress .hlbj-progress-fill { background: #FABB17; }
.hlbj-overall-progress .hlbj-progress-label { color: #ccd; }

/* ---- STEPS GRID ---- */
.hlbj-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .hlbj-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .hlbj-steps-grid { grid-template-columns: 1fr; } }

.hlbj-step-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 22px;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hlbj-step-card:hover { border-color: #008000; box-shadow: 0 4px 16px rgba(0,128,0,0.08); }
.hlbj-status-complete { border-color: #008000; background: #f4fff4; }

.hlbj-step-card-header { display: flex; justify-content: space-between; align-items: center; }
.hlbj-step-number { font-size: 0.75rem; font-weight: 800; color: #999; text-transform: uppercase; letter-spacing: 0.06em; }

.hlbj-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hlbj-badge-not-started { background: #f0f0f0; color: #888; }
.hlbj-badge-in-progress { background: #fff3cc; color: #b8860b; }
.hlbj-badge-complete { background: #e0f5e0; color: #008000; }

.hlbj-step-icon .dashicons { font-size: 2rem; width: 2rem; height: 2rem; color: #008000; }
.hlbj-step-title { font-size: 1rem; font-weight: 800; color: #273043; margin: 0; }
.hlbj-step-progress-wrap { display: flex; align-items: center; gap: 10px; }
.hlbj-step-track { flex: 1; }
.hlbj-step-progress-label { font-size: 0.75rem; font-weight: 700; color: #888; white-space: nowrap; }

/* ---- STEP DETAIL ---- */
.hlbj-back-link { color: #008000; font-weight: 700; text-decoration: none; font-size: 0.9rem; display: inline-block; margin-bottom: 24px; }
.hlbj-back-link:hover { text-decoration: underline; }

.hlbj-step-detail-inner { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
@media (max-width: 768px) { .hlbj-step-detail-inner { grid-template-columns: 1fr; } }

.hlbj-step-detail-header { margin-bottom: 28px; }
.hlbj-step-badge { display: inline-block; background: #e0f5e0; color: #008000; font-size: 0.75rem; font-weight: 800; padding: 4px 12px; border-radius: 99px; text-transform: uppercase; margin-bottom: 10px; }
.hlbj-step-detail-header h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 10px; }
.hlbj-step-desc { color: #555; font-size: 0.97rem; line-height: 1.65; margin: 0; }

.hlbj-step-progress-bar-wrap { margin-bottom: 28px; }

/* ---- CHECKLIST ---- */
.hlbj-checklist { display: flex; flex-direction: column; gap: 12px; }
.hlbj-checklist-item {
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px;
    transition: border-color 0.2s;
}
.hlbj-checklist-item.hlbj-checked { border-color: #008000; background: #f9fff9; }

.hlbj-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.hlbj-checkbox-wrap input[type="checkbox"] { display: none; }
.hlbj-checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: #fff;
}
.hlbj-checked .hlbj-checkmark { background: #008000; border-color: #008000; }
.hlbj-checked .hlbj-checkmark::after { content: '✓'; color: #fff; font-size: 13px; font-weight: 800; }
.hlbj-item-title { font-weight: 600; font-size: 0.97rem; }
.hlbj-checked .hlbj-item-title { text-decoration: line-through; color: #999; }
.hlbj-item-desc { color: #666; font-size: 0.85rem; margin: 8px 0 0 34px; line-height: 1.5; }

.hlbj-affiliate-hint {
    margin: 10px 0 0 34px;
    background: #fff8e0;
    border-left: 3px solid #FABB17;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hlbj-affiliate-hint a { color: #008000; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hlbj-affiliate-hint a:hover { text-decoration: underline; }

/* ---- SIDEBAR ---- */
.hlbj-sidebar-card {
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 20px;
}
.hlbj-sidebar-card h4 { font-size: 0.95rem; font-weight: 800; margin: 0 0 10px; }
.hlbj-sidebar-card p { font-size: 0.87rem; color: #555; line-height: 1.6; margin: 0 0 14px; }
.hlbj-affiliate-card { border-color: #008000; background: #f4fff4; }
.hlbj-consult-card { border-color: #FABB17; }

/* ---- QUIZ ---- */
.hlbj-quiz-header { text-align: center; margin-bottom: 36px; }
.hlbj-quiz-header h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 10px; }
.hlbj-quiz-header p { color: #555; max-width: 560px; margin: 0 auto; line-height: 1.65; }

.hlbj-quiz-question { display: none; }
.hlbj-quiz-question.hlbj-active { display: block; }
.hlbj-question-counter { font-size: 0.75rem; font-weight: 700; color: #008000; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.hlbj-quiz-question h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 22px; }

.hlbj-quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.hlbj-quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 14px 18px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.hlbj-quiz-option:hover { border-color: #008000; }
.hlbj-quiz-option input { display: none; }
.hlbj-quiz-option.hlbj-selected { border-color: #008000; background: #f4fff4; }
.hlbj-option-text { font-weight: 600; font-size: 0.97rem; }

.hlbj-quiz-nav { display: flex; gap: 12px; }
.hlbj-quiz-progress-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.hlbj-dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; transition: background 0.2s; }
.hlbj-dot-active { background: #008000; }

/* ---- GATE / REGISTER ---- */
.hlbj-gate-wrap { max-width: 960px; }
.hlbj-gate-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 40px 0;
}
@media (max-width: 700px) { .hlbj-gate-inner { grid-template-columns: 1fr; } }

.hlbj-gate-brand h2 { font-size: 1.4rem; font-weight: 800; margin: 0 0 12px; }
.hlbj-gate-brand p { color: #555; line-height: 1.65; margin: 0 0 20px; }
.hlbj-gate-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hlbj-gate-benefits li { font-size: 0.92rem; font-weight: 600; color: #273043; }

.hlbj-tabs { display: flex; border-bottom: 2px solid #e8e8e8; margin-bottom: 22px; }
.hlbj-tab {
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    color: #888;
    margin-bottom: -2px;
}
.hlbj-tab-active { color: #008000; border-bottom-color: #008000; }

.hlbj-field { margin-bottom: 16px; }
.hlbj-field label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 5px; color: #444; }
.hlbj-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ccc;
    border-radius: 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.hlbj-field input:focus { outline: none; border-color: #008000; }
.hlbj-form-footer { font-size: 0.78rem; color: #888; text-align: center; margin-top: 12px; }
.hlbj-form-footer a { color: #008000; }

.hlbj-form-msg { padding: 12px 16px; border-radius: 6px; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.hlbj-form-msg.hlbj-error { background: #fff0f0; border: 1px solid #f5c6c6; color: #c00; }
.hlbj-form-msg.hlbj-success { background: #f0fff0; border: 1px solid #b3e6b3; color: #008000; }

/* ---- ADMIN ---- */
.hlbj-wrap { max-width: 900px; }
.hlbj-stat-cards { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.hlbj-stat-card { background: #fff; border: 1.5px solid #e8e8e8; border-radius: 10px; padding: 24px 32px; text-align: center; min-width: 160px; }
.hlbj-stat-number { display: block; font-size: 2rem; font-weight: 800; color: #008000; }
.hlbj-stat-label { display: block; font-size: 0.82rem; color: #666; margin-top: 4px; }
