/* =============================================================================
   JobIntaker Core — Frontend Styles
   Version: 1.0.1
   Covers: AI Assist, Custom Skills, Dashboard, Job List, Match Analysis,
           Resume Output, Pricing Page, ACF Form Tweaks
   ============================================================================= */


/* ─── ACF Form Tweaks ─────────────────────────────────────────────────────── */

.elementor-field-group .elementor-field-textual:focus {
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0%) !important;
}
.acf-table {
    border-radius: 5px !important;
    overflow: hidden !important;
}
ul.acf-checkbox-list:focus-within {
    border: none !important;
}
body input[type=text]:focus {
    border: 1px solid gray !important;
}
.select2-container.-acf .select2-selection {
    border-color: #ccc !important;
    background-color: #fbfbfb !important;
}
.select2-results__options {
    font-size: 12px;
}
.select2-search__field {
    padding: 2px 5px !important;
    border-radius: 4px !important;
    color: #000 !important;
    min-width: 50px;
    vertical-align: top;
}
.acf-field textarea {
    font-size: 12px !important;
}
.acf-fields.-left > .acf-field:before {
    border: none !important;
    background: transparent !important;
}
.acf-tooltip {
    font-size: 12px !important;
}
.-plus {
    display: none !important;
}
.acf-fields.-left > .acf-field > .acf-label {
    padding: 5px !important;
    padding-left: 10px !important;
}
.acf-repeater-add-row {
    font-size: 12px;
    border: 1px solid;
    padding: 2px 5px !important;
    border-radius: 3px;
}
.acfe-repeater-stylised-button {
    padding: 1px !important;
    border-radius: 5px !important;
    border: 2px dotted #ccc !important;
}
.acfe-repeater-stylised-button:hover {
    background-color: #f4f4f4 !important;
}
.acf-button.acf-repeater-add-row.button {
    background: none !important;
    color: inherit;
    border: none;
    box-shadow: none !important;
}
.acf-button.acf-repeater-add-row.button:hover {
    color: #FC5E1F;
    background: none;
    box-shadow: none;
}
.acf-row-number {
    font-size: 12px;
}
.acf-box .title {
    border-bottom: none !important;
    padding: 0 !important;
}
.acf-icon.grey {
    border: none !important;
    background: none !important;
    color: gray !important;
    font-size: 14px !important;
}
.acf-icon.grey:hover {
    background: none !important;
}
#acf-popup .acf-popup-box .title {
    display: none !important;
}
#acf-popup .acf-popup-box {
    border-radius: 4px !important;
}
.acf-table > thead > tr > th {
    border: none !important;
}
.acf-field select {
    padding: 4px !important;
    font-size: 12px !important;
    line-height: inherit !important;
    border-radius: 5px;
}
.acf-repeater .acf-row-handle {
    width: auto !important;
    background-color: #f4f4f4 !important;
}
.acf-table > tbody > tr > td {
    border: none !important;
    vertical-align: middle !important;
}
.acf-field .acf-label label {
    font-weight: 400 !important;
}
.acfe-field-tooltip {
    float: left !important;
    line-height: 1.2 !important;
    margin-right: 5px;
}
.select2-selection__choice {
    font-size: 12px;
}
.acf-repeater .acf-row-handle.order {
    border-radius: 5px 0 0 5px;
}
.acf-repeater.-row > table > tbody > tr > td {
    padding: 5px !important;
}
.acf-repeater .acf-row-handle.remove {
    padding: 10px !important;
    border-radius: 0 4px 4px 0;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #FC5E1F !important;
}
.first-col label,
.sec-col label {
    white-space: nowrap;
    font-size: 12px;
}
.first-col .acf-input,
.sec-col .acf-input {
    float: right !important;
    width: 70% !important;
    margin-left: 10px !important;
}

/* jQuery UI Datepicker — keep month + year on one line */
.ui-datepicker .ui-datepicker-title {
    white-space: nowrap;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    display: inline-block !important;
    width: auto !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
}

/* Welcome heading */
.welcome-heading h4 {
    font-size: 24px !important;
}


/* ─── Skills Display (Master Resume + Dashboard) ──────────────────────────── */

.resume-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.skill-tag {
    background: #50447E;
    color: #fff;
    padding: 5px 14px;
    border-radius: 0;
    font-size: 11px;
}
.aa-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.aa-skill-tag {
    background: #50447E;
    color: #fff;
    padding: 5px 14px;
    border-radius: 0;
    font-size: 11px;
}
.aa-no-data {
    font-size: 13px;
    color: #aaa;
}


/* ─── Custom Skills Inline UI ─────────────────────────────────────────────── */

.aa-custom-skills-ui {
    padding-top: 12px;
}
.aa-custom-skills-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}
.aa-custom-skill-input-row {
    display: flex;
    gap: 8px;
}
.aa-custom-skill-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc !important;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
    background: #fff;
}
.aa-custom-skill-input:focus {
    border-color: #534AB7;
    outline: none;
}
.aa-custom-skill-btn {
    padding: 5px 25px !important;
    background: #534AB7;
    color: #fff;
    border: none;
    border-radius: 4px !important;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}
.aa-custom-skill-btn:hover {
    background: #FC5E1F !important;
}
.aa-custom-skills-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}
.aa-skill-tag-custom {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: #f4f4f4;
    color: #000;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    margin-right: 5px;
}
.aa-custom-skill-remove {
    background: none !important;
    border: none;
    color: #000 !important;
    font-size: 15px !important;
    cursor: pointer;
    padding: 3px 0 3px 5px !important;
    line-height: 1;
}
.aa-custom-skill-remove:hover {
    color: #FC5E1F !important;
}


/* ─── AI Assist Buttons ───────────────────────────────────────────────────── */

.cvrai-wrapper {
    position: relative;
    display: block;
    width: 100%;
}
.cvrai-assist-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 12px;
    background: #534AB7;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.cvrai-assist-btn:hover {
    background: #3C3489;
}
.cvrai-assist-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}
.cvrai-preview {
    margin-top: 10px;
    padding: 12px 14px;
    background: #f0edff;
    border-left: 4px solid #534AB7;
    border-radius: 4px;
}
.cvrai-preview-label {
    font-size: 12px;
    font-weight: 600;
    color: #534AB7;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cvrai-preview-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 10px;
}
.cvrai-preview-actions {
    display: flex;
    gap: 8px;
}
.cvrai-accept-btn,
.cvrai-discard-btn {
    padding: 5px 12px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.cvrai-accept-btn {
    background: #22c55e;
    color: #fff;
}
.cvrai-accept-btn:hover {
    background: #16a34a;
}
.cvrai-discard-btn {
    background: #e5e7eb;
    color: #555;
}
.cvrai-discard-btn:hover {
    background: #d1d5db;
}


/* ─── Dashboard — Job Intakes List ───────────────────────────────────────── */

.aa-job-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.aa-job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #fff;
    border: 0.5px solid #e5e5e5;
    border-radius: 10px;
    gap: 12px;
}
.aa-job-item-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.aa-job-title {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aa-job-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.aa-job-company {
    font-size: 12px;
    color: #888;
}
.aa-job-sep {
    font-size: 12px;
    color: #ccc;
}
.aa-job-item-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.aa-job-date {
    font-size: 12px;
    color: #aaa;
}
.aa-btn-view {
    padding: 5px 14px;
    background: #534AB7;
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}
.aa-btn-view:hover {
    background: #3C3489;
    color: #fff;
}
.aa-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
}
.aa-badge-ready {
    background: #EAF3DE;
    color: #3B6D11;
}
.aa-badge-progress {
    background: #f5f5f5;
    color: #aaa;
}
.aa-no-jobs {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #888;
}
.aa-no-jobs a {
    color: #534AB7;
    text-decoration: none;
}
.aa-no-jobs a:hover {
    text-decoration: underline;
}


/* ─── Resume Match Analysis ───────────────────────────────────────────────── */

.aa-analysis-box {
    background: #fff;
    border: 0.5px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
}
.aa-analysis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.aa-analysis-title {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}
.aa-match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}
.aa-score-number {
    font-size: 28px;
    font-weight: 500;
}
.aa-score-label {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}
.aa-analysis-bar-wrap {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}
.aa-analysis-bar {
    height: 6px;
    border-radius: 3px;
    transition: width 0.5s ease;
}
.aa-analysis-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 0.5px solid #f0f0f0;
}
.aa-analysis-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.aa-section-heading {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.aa-section-strong .aa-section-heading  { color: #3B6D11; }
.aa-section-missing .aa-section-heading { color: #854F0B; }
.aa-section-gaps .aa-section-heading    { color: #534AB7; }
.aa-section-content {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}
.aa-missing-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #FAEEDA;
    color: #854F0B;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin: 3px 4px 3px 0;
}


/* ─── Re-analyze & Upgrade Prompts ───────────────────────────────────────── */

.aa-reanalyze-wrap {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 0.5px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.aa-reanalyze-btn {
    padding: 8px 16px;
    background: #534AB7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.aa-reanalyze-btn:hover {
    background: #3C3489;
}
.aa-reanalyze-count {
    font-size: 12px;
    color: #999;
}
.aa-reanalyze-limit {
    font-size: 13px;
    color: #999;
    margin: 0;
}
.aa-upgrade-prompt-analysis {
    margin-top: 16px;
    padding: 12px 16px;
    background: #f8f7ff;
    border-radius: 8px;
    border: 0.5px solid #e0deff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.aa-upgrade-prompt-analysis p {
    font-size: 13px;
    color: #555;
    margin: 0;
}
.cvr-upgrade-btn {
    padding: 7px 16px;
    background: #534AB7;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.cvr-upgrade-btn:hover {
    background: #3C3489;
    color: #fff;
}
.cvr-upgrade-prompt {
    padding: 12px 16px;
    background: #f8f7ff;
    border-radius: 8px;
    border: 0.5px solid #e0deff;
    font-size: 13px;
    color: #555;
}
.cvr-upgrade-prompt p {
    margin: 0 0 8px;
}


/* ─── Tailor Resume Button ────────────────────────────────────────────────── */

.tailor-resume-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #534AB7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}
.tailor-resume-btn:hover {
    background: #3C3489;
    color: #fff;
}
.tailor-resume-btn-secondary {
    background: #f5f5f5;
    color: #534AB7;
    border: 1px solid #534AB7;
}
.tailor-resume-btn-secondary:hover {
    background: #EEEDFE;
    color: #3C3489;
}


/* ─── Tailored Resume Output ──────────────────────────────────────────────── */

.tailored-resume-output pre {
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
    background: #fafafa;
    border: 0.5px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px 24px;
}
.aa-resume-heading {
    font-size: 13px;
    font-weight: 600;
    color: #534AB7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 18px 0 6px;
    padding-bottom: 4px;
    border-bottom: 0.5px solid #e5e5e5;
}
.aa-resume-bullet {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    margin-left: 16px;
    list-style: disc;
}
.aa-resume-line {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    margin: 2px 0;
}


/* ─── Application Studio ──────────────────────────────────────────────────── */

.aa-studio-empty,
.aa-studio-error {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #888;
}
.aa-studio-result-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.aa-studio-job-title {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 4px;
}
.aa-studio-company {
    font-size: 13px;
    color: #888;
}
.aa-studio-result-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.aa-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}
.aa-btn-primary {
    background: #534AB7;
    color: #fff;
}
.aa-btn-primary:hover {
    background: #3C3489;
    color: #fff;
}
.aa-btn-secondary {
    background: #f5f5f5;
    color: #555;
}
.aa-btn-secondary:hover {
    background: #ebebeb;
    color: #333;
}


/* ─── Pricing Page ────────────────────────────────────────────────────────── */

.cvr-pricing-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px;
}
.cvr-pricing-header {
    text-align: center;
    margin-bottom: 40px;
}
.cvr-pricing-title {
    font-size: 28px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.cvr-pricing-sub {
    font-size: 15px;
    color: #888;
    margin: 0;
}
.cvr-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.cvr-plan-card {
    background: #fff;
    border: 0.5px solid #e5e5e5;
    border-radius: 14px;
    padding: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.cvr-plan-featured {
    border: 2px solid #534AB7;
}
.cvr-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #534AB7;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}
.cvr-plan-header {
    margin-bottom: 20px;
}
.cvr-plan-name {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.cvr-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 10px;
}
.cvr-plan-amount {
    font-size: 36px;
    font-weight: 500;
    color: #1a1a1a;
}
.cvr-plan-period {
    font-size: 14px;
    color: #999;
}
.cvr-plan-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
.cvr-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.cvr-plan-features li {
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 0.5px solid #f5f5f5;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cvr-plan-features li:last-child {
    border-bottom: none;
}
.cvr-feature-yes::before {
    content: '✓';
    color: #3B6D11;
    font-weight: 500;
    flex-shrink: 0;
}
.cvr-feature-no {
    color: #bbb;
}
.cvr-feature-no::before {
    content: '✕';
    color: #ddd;
    font-weight: 500;
    flex-shrink: 0;
}
.cvr-coming-soon {
    font-size: 10px;
    background: #EEEDFE;
    color: #534AB7;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 4px;
    font-weight: 500;
}
.cvr-plan-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}
.cvr-plan-btn-free {
    background: #f5f5f5;
    color: #555;
}
.cvr-plan-btn-free:hover {
    background: #ebebeb;
    color: #333;
}
.cvr-plan-btn-premium {
    background: #534AB7;
    color: #fff;
}
.cvr-plan-btn-premium:hover {
    background: #3C3489;
    color: #fff;
}
.cvr-plan-btn-active {
    background: #EAF3DE;
    color: #3B6D11;
    border-radius: 8px;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
}
.cvr-plan-trial-note {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin: 8px 0 0;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .cvr-pricing-grid {
        grid-template-columns: 1fr;
    }
    .aa-job-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .aa-job-item-right {
        width: 100%;
        justify-content: space-between;
    }
    .aa-studio-result-header {
        flex-direction: column;
    }
    .aa-upgrade-prompt-analysis {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================================================================
   JobIntaker Auth — [ji_auth] & [ji_reset_password]
   ============================================================================= */

/* ── Wrap ───────────────────────────────────────────────────────────────────── */

.ji-auth-wrap {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

.ji-auth-already-in {
    text-align: center;
    color: #444444;
    font-size: 15px;
}

.ji-auth-already-in a {
    color: #0D9B8A;
    text-decoration: none;
    font-weight: 600;
}

/* ── Tabs ───────────────────────────────────────────────────────────────────── */

.ji-auth-tabs {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 0;
}

.ji-auth-tab {
    background: none;
    border: none;
    padding: 0 0 12px;
    font-size: 15px;
    font-weight: 500;
    color: #999999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    transition: color 0.2s, border-color 0.2s;
}

.ji-auth-tab.ji-tab-active {
    color: #000027;
    font-weight: 700;
    border-bottom-color: #000027;
}

.ji-auth-tab:hover:not(.ji-tab-active) {
    color: #444444;
}

/* ── Panels ─────────────────────────────────────────────────────────────────── */

.ji-auth-panel {
    display: none;
}

.ji-auth-panel.ji-panel-active {
    display: block;
}

/* ── Headings ───────────────────────────────────────────────────────────────── */

.ji-auth-heading {
    font-size: 28px;
    font-weight: 800;
    color: #000027;
    margin: 0 0 24px;
    letter-spacing: -0.5px;
}

.ji-auth-subtext {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin: -12px 0 24px;
}

/* ── Fields ─────────────────────────────────────────────────────────────────── */

.ji-auth-field {
    margin-bottom: 14px;
    position: relative;
}

.ji-auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0;
}

.ji-auth-input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    color: #000027;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.ji-auth-input:focus {
    border-color: #0D9B8A;
    box-shadow: 0 0 0 3px rgba(13, 155, 138, 0.1);
}

.ji-auth-input::placeholder {
    color: #aaaaaa;
}

.ji-field-password .ji-auth-input {
    padding-right: 44px;
}

.ji-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #aaaaaa;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.ji-toggle-password:hover {
    color: #000027;
}

/* ── Remember me ────────────────────────────────────────────────────────────── */

.ji-auth-remember {
    margin-bottom: 20px;
}

.ji-remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444444;
    cursor: pointer;
}

.ji-remember-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #0D9B8A;
    cursor: pointer;
    margin: 0;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */

.ji-auth-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.1s;
    margin-bottom: 20px;
}

.ji-btn-login,
.ji-btn-forgot {
    background-color: #000027;
    color: #ffffff;
}

.ji-btn-login:hover,
.ji-btn-forgot:hover {
    background-color: #0D9B8A;
}

.ji-btn-register {
    background-color: #E8441A;
    color: #ffffff;
}

.ji-btn-register:hover {
    background-color: #c93a15;
}

.ji-auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ── Spinner ────────────────────────────────────────────────────────────────── */

.ji-spinner {
    animation: ji-spin 0.8s linear infinite;
}

@keyframes ji-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Links ──────────────────────────────────────────────────────────────────── */

.ji-auth-links {
    font-size: 13px;
    color: #444444;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ji-auth-links a,
.ji-forgot-link {
    color: #0D9B8A;
    text-decoration: none;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

.ji-auth-links a:hover,
.ji-forgot-link:hover {
    text-decoration: underline;
}

/* ── Terms ──────────────────────────────────────────────────────────────────── */

.ji-auth-terms {
    font-size: 12px;
    color: #999999;
    margin: 4px 0 16px;
    line-height: 1.6;
}

.ji-auth-terms a {
    color: #0D9B8A;
    text-decoration: none;
}

/* ── Messages ───────────────────────────────────────────────────────────────── */

.ji-auth-message {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

.ji-msg-error {
    background-color: #fff0ee;
    color: #c93a15;
    border-left: 3px solid #E8441A;
}

.ji-msg-success {
    background-color: #edfaf8;
    color: #0a7a6c;
    border-left: 3px solid #0D9B8A;
}

/* ── Success / Error icons ──────────────────────────────────────────────────── */

.ji-auth-success-icon,
.ji-auth-error-icon {
    text-align: center;
    margin-bottom: 20px;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .ji-auth-field-row {
        grid-template-columns: 1fr;
    }

    .ji-auth-heading {
        font-size: 22px;
    }

    .ji-auth-tabs {
        gap: 20px;
    }
}

/* ── Google OAuth Button ─────────────────────────────────────────────────────── */

.ji-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 16px;
    color: #cccccc;
    font-size: 12px;
}

.ji-auth-divider::before,
.ji-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}

.ji-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #ffffff;
    color: #444444;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.ji-google-btn:hover {
    background: #f8f8f8;
    border-color: #cccccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    color: #000027;
}

/* =============================================================================
   JobIntaker — Email Verification Page [ji_verify_email]
   ============================================================================= */

.ji-verify-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 16px;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

.ji-verify-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,40,0.08);
}

.ji-verify-card h2 {
    font-size: 24px;
    font-weight: 800;
    color: #000027;
    margin: 16px 0 12px;
    letter-spacing: -0.3px;
}

.ji-verify-card p {
    color: #444444;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 16px;
}

.ji-verify-note {
    color: #999999 !important;
    font-size: 13px !important;
}

.ji-verify-icon {
    margin-bottom: 8px;
}

.ji-verify-btn {
    display: inline-block;
    background: #0D9B8A;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 6px;
    margin-top: 8px;
    transition: background 0.2s;
}

.ji-verify-btn:hover {
    background: #0a7a6c;
    color: #ffffff;
}

.ji-verify-login-link {
    margin-top: 20px;
}

.ji-verify-login-link a {
    color: #0D9B8A;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

/* ── Resend form ──────────────────────────────────────────────────────────── */

.ji-resend-wrap {
    margin-top: 24px;
    border-top: 1px solid #f0f0f0;
    padding-top: 24px;
}

.ji-resend-btn {
    background: none;
    border: 1px solid #0D9B8A;
    color: #0D9B8A;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}

.ji-resend-btn:hover {
    background: #0D9B8A;
    color: #ffffff;
}

.ji-resend-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ji-resend-message {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
    text-align: left;
}

/* =============================================================================
   JobIntaker — Dashboard [ji_dashboard]
   ============================================================================= */

/* ── Wrap ─────────────────────────────────────────────────────────────────── */

.ji-dash-wrap {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    color: #444444;
    width: 100%;
}

/* ── Topbar ───────────────────────────────────────────────────────────────── */

.ji-dash-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.ji-dash-topbar-left {
    flex: 0 0 auto;
}

.ji-dash-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.ji-dash-logo-text {
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.ji-logo-job {
    color: #E8441A;
}

.ji-logo-intaker {
    color: #000027;
}

.ji-dash-topbar-center {
    flex: 1;
    text-align: center;
}

.ji-dash-greeting {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #000027;
}

.ji-dash-subtext {
    display: block;
    font-size: 12px;
    color: #999999;
    margin-top: 2px;
}

.ji-dash-topbar-right {
    flex: 0 0 auto;
}

.ji-dash-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #000027;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 5px;
    transition: background 0.2s;
    white-space: nowrap;
}

.ji-dash-new-btn:hover {
    background: #0D9B8A;
    color: #ffffff;
}

/* ── Body layout ──────────────────────────────────────────────────────────── */

.ji-dash-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 24px 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */

.ji-dash-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Profile card ─────────────────────────────────────────────────────────── */

.ji-dash-profile-card {
    background: #ffffff;
    border-radius: 5px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,40,0.06);
}

.ji-dash-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #000027;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    letter-spacing: 1px;
}

.ji-dash-profile-name {
    font-size: 15px;
    font-weight: 700;
    color: #000027;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.ji-dash-edit-link {
    color: #aaaaaa;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.ji-dash-edit-link:hover {
    color: #0D9B8A;
}

.ji-dash-profile-role {
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 20px;
}

/* ── 4-stat grid ──────────────────────────────────────────────────────────── */

.ji-dash-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #f0f0f0;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.ji-dash-stat-cell {
    background: #ffffff;
    padding: 14px 12px;
    text-align: center;
}

.ji-dash-stat-label {
    display: block;
    font-size: 11px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ji-dash-stat-val {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #000027;
    line-height: 1;
}

.ji-dash-stat-sub {
    display: block;
    font-size: 11px;
    color: #aaaaaa;
    margin-top: 2px;
}

/* ── Activity stats ───────────────────────────────────────────────────────── */

.ji-dash-activity {
    background: #F8FAFB;
    border: 1px solid #eef0f2;
    border-radius: 5px;
    padding: 16px 20px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ji-dash-activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.ji-dash-activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ji-dash-activity-item:first-child {
    padding-top: 0;
}

.ji-dash-activity-icon {
    color: #0D9B8A;
    flex-shrink: 0;
}

.ji-dash-activity-label {
    flex: 1;
    font-size: 13px;
    color: #444444;
}

.ji-dash-activity-val {
    font-size: 14px;
    font-weight: 700;
    color: #000027;
}

.ji-strength-val {
    color: #0D9B8A;
}

/* ── Quick actions ────────────────────────────────────────────────────────── */

.ji-dash-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #F8FAFB;
    border: 1px solid #eef0f2;
    border-radius: 5px;
    padding: 16px;
}

.ji-dash-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

.ji-action-primary {
    background: #E8441A;
    color: #ffffff;
}

.ji-action-primary:hover {
    background: #c93a15;
    color: #ffffff;
}

.ji-action-secondary {
    background: #ffffff;
    color: #000027;
    border: 1px solid #e0e0e0;
}

.ji-action-secondary:hover {
    background: #F0F4F8;
    color: #000027;
}

/* ── Main content ─────────────────────────────────────────────────────────── */

.ji-dash-main {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,40,0.06);
    overflow: hidden;
}

.ji-dash-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.ji-dash-main-title {
    font-size: 16px;
    font-weight: 700;
    color: #000027;
    margin: 0;
}

.ji-dash-main-count {
    font-size: 12px;
    color: #999999;
    background: #F0F4F8;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Job list ─────────────────────────────────────────────────────────────── */

.ji-dash-job-list {
    padding: 0 24px;
}

.ji-dash-job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
}

.ji-dash-job-item:last-child {
    border-bottom: none;
}

.ji-dash-job-left {
    flex: 1;
    min-width: 0;
}

.ji-dash-job-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #000027;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ji-dash-job-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ji-dash-job-company {
    font-size: 12px;
    color: #666666;
}

.ji-dash-job-sep {
    color: #cccccc;
    font-size: 12px;
}

.ji-dash-job-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ji-dash-job-date {
    font-size: 12px;
    color: #aaaaaa;
    white-space: nowrap;
}

.ji-dash-view-btn {
    background: #000027;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.ji-dash-view-btn:hover {
    background: #0D9B8A;
    color: #ffffff;
}

/* ── Badges ───────────────────────────────────────────────────────────────── */

.ji-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
}

.ji-badge-tailored {
    background: #edfaf8;
    color: #0a7a6c;
}

.ji-badge-pending {
    background: #fff3f0;
    color: #c93a15;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */

.ji-dash-empty {
    text-align: center;
    padding: 60px 24px;
    color: #aaaaaa;
}

.ji-dash-empty-icon {
    margin-bottom: 16px;
}

.ji-dash-empty p {
    font-size: 14px;
    color: #aaaaaa;
    margin-bottom: 20px;
}

.ji-dash-empty .ji-dash-new-btn {
    background: #E8441A;
    color: #ffffff;
}

.ji-dash-empty .ji-dash-new-btn:hover {
    background: #c93a15;
    color: #ffffff;
}

/* ── Responsive: Tablet ───────────────────────────────────────────────────── */

@media (max-width: 1023px) {
    .ji-dash-body {
        grid-template-columns: 1fr;
        padding: 20px 24px;
    }

    .ji-dash-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .ji-dash-profile-card {
        grid-column: 1 / -1;
    }

    .ji-dash-quick-actions {
        flex-direction: row;
    }

    .ji-dash-action-btn {
        flex: 1;
    }
}

/* ── Responsive: Mobile ───────────────────────────────────────────────────── */

@media (max-width: 767px) {
    .ji-dash-topbar {
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    .ji-dash-topbar-center {
        order: 3;
        flex: 0 0 100%;
        text-align: left;
    }

    .ji-dash-greeting {
        font-size: 15px;
    }

    .ji-dash-body {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    .ji-dash-sidebar {
        grid-template-columns: 1fr;
    }

    .ji-dash-quick-actions {
        flex-direction: column;
    }

    .ji-dash-job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ji-dash-job-right {
        width: 100%;
        justify-content: space-between;
    }

    .ji-dash-new-btn {
        font-size: 12px;
        padding: 8px 14px;
    }
}
