/* =========================================================
   JSJH AUTHENTICATION
   ========================================================= */

.jsjh-auth-wrapper {
    width: 100%;
    padding: 80px 20px;
    background: #f8fafc;
}

.jsjh-auth-card {
    width: min(100%, 620px);
    margin: 0 auto;
    padding: 48px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(11, 31, 51, 0.07);
}

.jsjh-auth-header {
    margin-bottom: 36px;
}

.jsjh-auth-eyebrow,
.jsjh-dashboard-card-label {
    display: block;
    margin-bottom: 10px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.jsjh-auth-header h1 {
    margin: 0 0 12px;
    color: #0b1f33;
    font-size: 36px;
    line-height: 1.15;
}

.jsjh-auth-header p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.jsjh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.jsjh-form-group {
    margin-bottom: 20px;
}

.jsjh-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0b1f33;
    font-size: 14px;
    font-weight: 600;
}

.jsjh-form-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0b1f33;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.jsjh-form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.jsjh-form-group small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
}

.jsjh-form-checkbox {
    margin: 20px 0;
}

.jsjh-form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.jsjh-form-checkbox input {
    margin-top: 4px;
}

.jsjh-form-checkbox a,
.jsjh-auth-footer a,
.jsjh-auth-options a {
    color: #2563eb;
    text-decoration: none;
}

.jsjh-form-checkbox a:hover,
.jsjh-auth-footer a:hover,
.jsjh-auth-options a:hover {
    text-decoration: underline;
}

.jsjh-auth-submit {
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-radius: 10px;
    background: #0b1f33;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.jsjh-auth-submit:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.jsjh-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 24px;
    color: #64748b;
    font-size: 13px;
}

.jsjh-auth-footer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.jsjh-auth-message {
    max-width: 700px;
    margin: 60px auto;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.jsjh-auth-message a {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 9px;
    background: #0b1f33;
    color: #ffffff;
    text-decoration: none;
}


/* =========================================================
   JSJH DASHBOARD
   ========================================================= */

.jsjh-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}

.jsjh-dashboard-header {
    margin-bottom: 40px;
}

.jsjh-dashboard-header h1 {
    margin: 0 0 10px;
    color: #0b1f33;
    font-size: 42px;
}

.jsjh-dashboard-header p {
    margin: 0;
    color: #64748b;
}

.jsjh-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.jsjh-dashboard-card {
    display: block;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.jsjh-dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(11, 31, 51, .08);
}

.jsjh-dashboard-card h2 {
    margin: 0 0 10px;
    color: #0b1f33;
    font-size: 24px;
}

.jsjh-dashboard-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.jsjh-dashboard-account {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    padding: 30px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.jsjh-dashboard-account h2 {
    margin: 0 0 5px;
    color: #0b1f33;
}

.jsjh-dashboard-account p {
    margin: 0;
    color: #64748b;
}

.jsjh-dashboard-actions {
    display: flex;
    gap: 10px;
}

.jsjh-dashboard-actions a {
    padding: 11px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #0b1f33;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .jsjh-auth-card {
        padding: 30px 22px;
    }

    .jsjh-auth-header h1 {
        font-size: 30px;
    }

    .jsjh-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .jsjh-dashboard {
        padding: 50px 20px;
    }

    .jsjh-dashboard-header h1 {
        font-size: 32px;
    }

    .jsjh-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .jsjh-dashboard-account {
        flex-direction: column;
        align-items: flex-start;
    }

    .jsjh-dashboard-actions {
        flex-wrap: wrap;
    }
}


.jsjh-auth-error {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   AUTH SUCCESS / ERROR
   ========================================================= */

.jsjh-auth-success {
    margin-bottom: 24px;
    padding: 15px 17px;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #f0fdf4;
    color: #166534;
    font-size: 14px;
    line-height: 1.6;
}

.jsjh-auth-error {
    margin-bottom: 24px;
    padding: 15px 17px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   EMAIL VERIFICATION
   ========================================================= */

.jsjh-verification-card {
    text-align: center;
}

.jsjh-verification-card h1 {
    margin: 15px 0 12px;
    color: #0b1f33;
}

.jsjh-verification-card p {
    margin: 0 0 28px;
    color: #64748b;
    line-height: 1.7;
}

.jsjh-verification-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 28px;
    font-weight: 700;
}

.jsjh-verification-icon-error {
    background: #fee2e2;
    color: #b91c1c;
}

.jsjh-auth-submit-link {
    display: block;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}

/* =========================================================
   JSJH — PROFILE & SECURITY
   ========================================================= */


/* ---------------------------------------------------------
   PROFILE / SECURITY WRAPPER
   --------------------------------------------------------- */

.jsjh-profile,
.jsjh-security {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 0 70px;
}


/* ---------------------------------------------------------
   PAGE HEADER
   --------------------------------------------------------- */

.jsjh-profile-header {
    margin-bottom: 34px;
}

.jsjh-profile-header .jsjh-auth-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
}

.jsjh-profile-header h1 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0B1F33;
}

.jsjh-profile-header p {
    margin: 0;
    max-width: 680px;
    font-size: 16px;
    line-height: 1.7;
    color: #64748B;
}


/* ---------------------------------------------------------
   PROFILE / SECURITY SECTIONS
   --------------------------------------------------------- */

.jsjh-profile-section,
.jsjh-security-card,
.jsjh-security-info {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 22px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}


/* ---------------------------------------------------------
   SECTION HEADER
   --------------------------------------------------------- */

.jsjh-profile-section-header {
    margin-bottom: 26px;
}

.jsjh-profile-section-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563EB;
}

.jsjh-profile-section-header h2,
.jsjh-security-info h2 {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
    color: #0B1F33;
}

.jsjh-profile-section-header p,
.jsjh-security-info p {
    margin: 0;
    max-width: 700px;
    font-size: 14px;
    line-height: 1.7;
    color: #64748B;
}


/* ---------------------------------------------------------
   FORM ROW
   --------------------------------------------------------- */

.jsjh-profile-form .jsjh-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.jsjh-profile-form .jsjh-form-group {
    margin-bottom: 20px;
}


/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

.jsjh-profile-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: #0B1F33;
}


/* ---------------------------------------------------------
   INPUTS
   --------------------------------------------------------- */

.jsjh-profile-form input[type="text"],
.jsjh-profile-form input[type="email"],
.jsjh-profile-form input[type="url"],
.jsjh-profile-form input[type="password"],
.jsjh-profile-form select,
.jsjh-profile-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    background: #ffffff;
    color: #0B1F33;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


/* ---------------------------------------------------------
   TEXTAREA
   --------------------------------------------------------- */

.jsjh-profile-form textarea {
    min-height: 120px;
    resize: vertical;
}


/* ---------------------------------------------------------
   READONLY EMAIL
   --------------------------------------------------------- */

.jsjh-profile-form input[readonly] {
    background: #F8FAFC;
    color: #64748B;
    cursor: not-allowed;
}


/* ---------------------------------------------------------
   FOCUS
   --------------------------------------------------------- */

.jsjh-profile-form input:focus,
.jsjh-profile-form select:focus,
.jsjh-profile-form textarea:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}


/* ---------------------------------------------------------
   PLACEHOLDER
   --------------------------------------------------------- */

.jsjh-profile-form input::placeholder,
.jsjh-profile-form textarea::placeholder {
    color: #94A3B8;
}


/* ---------------------------------------------------------
   SMALL FIELD HELP TEXT
   --------------------------------------------------------- */

.jsjh-profile-form small {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.5;
    color: #64748B;
}


/* ---------------------------------------------------------
   PROFILE ACTIONS
   --------------------------------------------------------- */

.jsjh-profile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}


/* ---------------------------------------------------------
   SAVE / CHANGE PASSWORD BUTTON
   --------------------------------------------------------- */

.jsjh-profile-actions .jsjh-auth-submit {
    width: auto;
    min-width: 170px;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: #2563EB;
    color: #ffffff;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.jsjh-profile-actions .jsjh-auth-submit:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}


/* ---------------------------------------------------------
   BACK TO DASHBOARD
   --------------------------------------------------------- */

.jsjh-profile-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.jsjh-profile-cancel:hover {
    border-color: #94A3B8;
    background: #F8FAFC;
    color: #0B1F33;
}


/* ---------------------------------------------------------
   SECURITY INFORMATION
   --------------------------------------------------------- */

.jsjh-security-info {
    background: #F8FAFC;
}

.jsjh-security-info p {
    max-width: 720px;
}


/* ---------------------------------------------------------
   SUCCESS / ERROR
   --------------------------------------------------------- */

.jsjh-profile .jsjh-auth-success,
.jsjh-security .jsjh-auth-success {
    margin-bottom: 24px;
}

.jsjh-profile .jsjh-auth-error,
.jsjh-security .jsjh-auth-error {
    margin-bottom: 24px;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .jsjh-profile,
    .jsjh-security {
        padding: 10px 0 50px;
    }

    .jsjh-profile-header h1 {
        font-size: 34px;
    }

    .jsjh-profile-section,
    .jsjh-security-card,
    .jsjh-security-info {
        padding: 22px;
        border-radius: 15px;
    }

    .jsjh-profile-form .jsjh-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .jsjh-profile-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .jsjh-profile-actions .jsjh-auth-submit,
    .jsjh-profile-cancel {
        width: 100%;
        box-sizing: border-box;
    }
}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .jsjh-profile-header h1 {
        font-size: 30px;
    }

    .jsjh-profile-section,
    .jsjh-security-card,
    .jsjh-security-info {
        padding: 18px;
    }

    .jsjh-profile-header p {
        font-size: 14px;
    }
}

/* =========================================================
   JSJH — PROJECTS
========================================================= */

.jsjh-projects {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 24px;
}


.jsjh-projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}


.jsjh-projects-header h1 {
    margin: 8px 0 12px;
    color: #0b1f33;
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}


.jsjh-projects-header p {
    margin: 0;
    max-width: 620px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}


.jsjh-projects-count {
    min-width: 110px;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 12px;
    text-align: center;
}


.jsjh-projects-count span {
    display: block;
    color: #0b1f33;
    font-size: 28px;
    font-weight: 700;
}


.jsjh-projects-count small {
    color: #64748b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.jsjh-project-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.jsjh-project-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.jsjh-project-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 35px rgba(11, 31, 51, 0.07);
    transform: translateY(-1px);
}


.jsjh-project-item-main {
    flex: 1;
}


.jsjh-project-item-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}


.jsjh-project-code {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}


.jsjh-project-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


.jsjh-project-status-in_progress {
    background: #eff6ff;
    color: #2563eb;
}


.jsjh-project-status-under_review {
    background: #f0fdfa;
    color: #0f766e;
}


.jsjh-project-status-revision {
    background: #fff7ed;
    color: #c2410c;
}


.jsjh-project-status-completed {
    background: #f0fdf4;
    color: #15803d;
}


.jsjh-project-status-cancelled {
    background: #fef2f2;
    color: #b91c1c;
}


.jsjh-project-item h2 {
    margin: 0 0 8px;
    color: #0b1f33;
    font-size: 22px;
    line-height: 1.3;
}


.jsjh-project-service {
    margin: 0 0 4px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}


.jsjh-project-area {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}


.jsjh-project-item-meta {
    min-width: 120px;
    padding-left: 25px;
    border-left: 1px solid #e2e8f0;
}


.jsjh-project-item-meta span {
    display: block;
    margin-bottom: 5px;
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.jsjh-project-item-meta strong {
    color: #334155;
    font-size: 14px;
}


.jsjh-projects-empty {
    max-width: 700px;
    margin: 20px auto 0;
    padding: 70px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
}


.jsjh-projects-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    border: 1px solid #dbe3ec;
    border-radius: 14px;
    color: #2563eb;
    font-size: 24px;
}


.jsjh-projects-empty h2 {
    margin: 10px 0 12px;
    color: #0b1f33;
    font-size: 28px;
}


.jsjh-projects-empty p {
    max-width: 540px;
    margin: 0 auto 28px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}


.jsjh-projects-empty-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 8px;
    background: #0b1f33;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}


.jsjh-projects-empty-button:hover {
    color: #ffffff;
    opacity: 0.92;
}


@media (max-width: 768px) {

    .jsjh-projects {
        padding: 50px 20px;
    }


    .jsjh-projects-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .jsjh-projects-header h1 {
        font-size: 34px;
    }


    .jsjh-project-item {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }


    .jsjh-project-item-meta {
        width: 100%;
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid #e2e8f0;
    }

}


@media (max-width: 480px) {

    .jsjh-projects-header h1 {
        font-size: 30px;
    }


    .jsjh-projects-empty {
        padding: 50px 24px;
    }


    .jsjh-project-item-top {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* =========================================================
   JSJH — PROJECT DETAIL
========================================================= */

.jsjh-project-detail {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 24px;
}


.jsjh-project-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 35px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


.jsjh-project-back:hover {
    color: #0b1f33;
}


.jsjh-project-detail-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e2e8f0;
}


.jsjh-project-detail-header h1 {
    margin: 8px 0 8px;
    color: #0b1f33;
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}


.jsjh-project-detail-header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}


.jsjh-project-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 30px 0 50px;
}


.jsjh-project-detail-card {
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}


.jsjh-project-detail-label {
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.jsjh-project-detail-card strong {
    color: #0b1f33;
    font-size: 15px;
    line-height: 1.5;
}


.jsjh-project-detail-section {
    margin-top: 50px;
}


.jsjh-project-detail-section-header {
    margin-bottom: 22px;
}


.jsjh-project-detail-section-header h2 {
    margin: 8px 0 0;
    color: #0b1f33;
    font-size: 28px;
    letter-spacing: -0.02em;
}


.jsjh-project-summary {
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}


.jsjh-project-summary-empty {
    color: #94a3b8;
}


.jsjh-project-summary-empty p {
    margin: 0;
}


.jsjh-project-journey {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e2e8f0;
}


.jsjh-project-journey-step {
    display: flex;
    gap: 22px;
    padding: 25px 10px;
    border-bottom: 1px solid #e2e8f0;
}


.jsjh-project-journey-number {
    flex: 0 0 42px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}


.jsjh-project-journey-step strong {
    display: block;
    margin-bottom: 5px;
    color: #334155;
    font-size: 16px;
}


.jsjh-project-journey-step p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


.jsjh-project-journey-step.active .jsjh-project-journey-number {
    color: #2563eb;
}


.jsjh-project-journey-step.active strong {
    color: #0b1f33;
}


@media (max-width: 900px) {

    .jsjh-project-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .jsjh-project-detail {
        padding: 50px 20px;
    }


    .jsjh-project-detail-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .jsjh-project-detail-header h1 {
        font-size: 34px;
    }

}


@media (max-width: 520px) {

    .jsjh-project-detail-grid {
        grid-template-columns: 1fr;
    }


    .jsjh-project-detail-header h1 {
        font-size: 30px;
    }

}


.jsjh-project-view-link {
    display: inline-block;
    margin-top: 14px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}


.jsjh-project-view-link:hover {
    color: #0b1f33;
}

/* =========================================================
   JSJH — RESEARCH INTAKE
========================================================= */

.jsjh-intake {
    margin-top: 10px;
}


.jsjh-intake-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}


.jsjh-intake-header h2 {
    margin: 8px 0 10px;
    color: #0b1f33;
    font-size: 28px;
    letter-spacing: -0.02em;
}


.jsjh-intake-header p {
    max-width: 680px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}


.jsjh-intake-submitted {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.jsjh-intake-form {
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
}


.jsjh-intake-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


.jsjh-intake-field {
    margin-bottom: 22px;
}


.jsjh-intake-field-full {
    width: 100%;
}


.jsjh-intake-field label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}


.jsjh-intake-field input,
.jsjh-intake-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #ffffff;
    color: #0b1f33;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.jsjh-intake-field textarea {
    resize: vertical;
    min-height: 120px;
}


.jsjh-intake-field input:focus,
.jsjh-intake-field textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}


.jsjh-intake-field input::placeholder,
.jsjh-intake-field textarea::placeholder {
    color: #94a3b8;
}


.jsjh-intake-notice {
    margin: 8px 0 25px;
    padding: 18px 20px;
    border-left: 3px solid #2563eb;
    background: #f8fafc;
}


.jsjh-intake-notice strong {
    display: block;
    margin-bottom: 5px;
    color: #0b1f33;
    font-size: 13px;
}


.jsjh-intake-notice p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}


.jsjh-intake-actions {
    display: flex;
    justify-content: flex-end;
}


.jsjh-intake-actions .jsjh-auth-submit {
    width: auto;
    min-width: 190px;
}


@media (max-width: 700px) {

    .jsjh-intake-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .jsjh-intake-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .jsjh-intake-form {
        padding: 22px;
    }


    .jsjh-intake-actions {
        justify-content: stretch;
    }


    .jsjh-intake-actions .jsjh-auth-submit {
        width: 100%;
    }

}

/* =========================================================
   JSJH — ORDERS MODULE
   ========================================================= */

.jsjh-orders {
    width: 100%;
}

.jsjh-orders-header {
    margin-bottom: 32px;
}

.jsjh-orders-header h1,
.jsjh-orders-header h2 {
    margin: 0 0 8px;
}

.jsjh-orders-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   ORDER LIST
   ========================================================= */

.jsjh-orders-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.jsjh-order-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.jsjh-order-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}


/* =========================================================
   ORDER HEADER
   ========================================================= */

.jsjh-order-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.jsjh-order-code {
    margin: 0 0 6px;
    color: #0b1f33;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.jsjh-order-service {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}


/* =========================================================
   ORDER STATUS
   ========================================================= */

.jsjh-order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   ORDER FINANCIAL GRID
   ========================================================= */

.jsjh-order-financials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.jsjh-order-financial-item {
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.jsjh-order-financial-label {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.jsjh-order-financial-value {
    display: block;
    color: #0b1f33;
    font-size: 16px;
    font-weight: 700;
}


/* =========================================================
   PAYMENT STATUS
   ========================================================= */

.jsjh-order-payment-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #475569;
    font-size: 14px;
}

.jsjh-order-payment-status strong {
    color: #0b1f33;
}


/* =========================================================
   ORDER ACTIONS
   ========================================================= */

.jsjh-order-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.jsjh-order-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #0b1f33;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.jsjh-order-action:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #2563eb;
}

.jsjh-order-action-primary {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.jsjh-order-action-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.jsjh-orders-empty {
    padding: 56px 28px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
    text-align: center;
}

.jsjh-orders-empty-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 20px;
}

.jsjh-orders-empty h3 {
    margin: 0 0 8px;
    color: #0b1f33;
    font-size: 18px;
}

.jsjh-orders-empty p {
    max-width: 520px;
    margin: 0 auto;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   ORDER DETAIL
   ========================================================= */

.jsjh-order-detail {
    width: 100%;
}

.jsjh-order-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.jsjh-order-detail-title {
    margin: 0 0 7px;
    color: #0b1f33;
    font-size: 28px;
    line-height: 1.2;
}

.jsjh-order-detail-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}


/* =========================================================
   ORDER DETAIL SECTIONS
   ========================================================= */

.jsjh-order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 20px;
}

.jsjh-order-detail-card {
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
}

.jsjh-order-detail-card h3 {
    margin: 0 0 18px;
    color: #0b1f33;
    font-size: 16px;
}

.jsjh-order-detail-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid #f1f5f9;
}

.jsjh-order-detail-row:last-child {
    border-bottom: 0;
}

.jsjh-order-detail-label {
    color: #64748b;
    font-size: 13px;
}

.jsjh-order-detail-value {
    color: #0b1f33;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}


/* =========================================================
   PAYMENT SUMMARY
   ========================================================= */

.jsjh-order-payment-summary {
    padding: 22px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.jsjh-order-payment-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    color: #475569;
    font-size: 14px;
}

.jsjh-order-payment-summary-row strong {
    color: #0b1f33;
}

.jsjh-order-payment-total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #cbd5e1;
}

.jsjh-order-payment-total strong {
    color: #2563eb;
    font-size: 18px;
}


/* =========================================================
   PAYMENT NOTICE
   ========================================================= */

.jsjh-order-payment-notice {
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   INVOICE LOCK
   ========================================================= */

.jsjh-order-invoice-locked {
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.jsjh-order-invoice-locked strong {
    display: block;
    margin-bottom: 5px;
    color: #0b1f33;
}

.jsjh-order-invoice-locked span {
    color: #64748b;
    font-size: 13px;
}


/* =========================================================
   CONFIRMATION SLIP
   ========================================================= */

.jsjh-confirmation-slip {
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
}

.jsjh-confirmation-slip-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.jsjh-confirmation-slip-title {
    margin: 0;
    color: #0b1f33;
    font-size: 18px;
}

.jsjh-confirmation-slip-meta {
    color: #64748b;
    font-size: 12px;
}


/* =========================================================
   SUCCESS / ERROR
   ========================================================= */

.jsjh-order-success {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #f0fdf4;
    color: #166534;
    font-size: 14px;
}

.jsjh-order-error {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 14px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .jsjh-order-financials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jsjh-order-detail-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .jsjh-order-card {
        padding: 18px;
    }

    .jsjh-order-card-header {
        flex-direction: column;
        gap: 12px;
    }

    .jsjh-order-financials {
        grid-template-columns: 1fr;
    }

    .jsjh-order-actions {
        justify-content: stretch;
        flex-direction: column;
    }

    .jsjh-order-action {
        width: 100%;
    }

    .jsjh-order-detail-header {
        flex-direction: column;
    }

    .jsjh-order-detail-title {
        font-size: 24px;
    }

    .jsjh-order-detail-card {
        padding: 18px;
    }

    .jsjh-order-detail-row {
        flex-direction: column;
        gap: 5px;
    }

    .jsjh-order-detail-value {
        text-align: left;
    }

}

/* =========================================================
   JSJH — PROJECTS MODULE
   ========================================================= */

.jsjh-projects {
    width: 100%;
}

.jsjh-projects-header {
    margin-bottom: 36px;
}

.jsjh-projects-header h1 {
    margin: 0 0 10px;
    color: #0b1f33;
    font-size: 32px;
    line-height: 1.2;
}

.jsjh-projects-header p {
    margin: 0;
    max-width: 680px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   PROJECT COUNT
   ========================================================= */

.jsjh-projects-count {
    margin-bottom: 18px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.jsjh-projects-count strong {
    color: #0b1f33;
}


/* =========================================================
   PROJECT LIST
   ========================================================= */

.jsjh-projects-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* =========================================================
   PROJECT CARD
   ========================================================= */

.jsjh-project-card {
    position: relative;
    padding: 26px 28px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.jsjh-project-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}


/* =========================================================
   PROJECT TOP
   ========================================================= */

.jsjh-project-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.jsjh-project-code {
    margin: 0 0 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jsjh-project-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   PROJECT TITLE
   ========================================================= */

.jsjh-project-card h2 {
    margin: 0 0 12px;
    color: #0b1f33;
    font-size: 21px;
    line-height: 1.35;
}

.jsjh-project-card h2 a {
    color: inherit;
    text-decoration: none;
}

.jsjh-project-card h2 a:hover {
    color: #2563eb;
}


/* =========================================================
   PROJECT META
   ========================================================= */

.jsjh-project-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.jsjh-project-meta-item {
    padding: 13px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #f8fafc;
}

.jsjh-project-meta-label {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jsjh-project-meta-value {
    display: block;
    color: #0b1f33;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   PROJECT FOOTER
   ========================================================= */

.jsjh-project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.jsjh-project-created {
    color: #64748b;
    font-size: 12px;
}

.jsjh-project-created strong {
    color: #0b1f33;
}

.jsjh-project-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.jsjh-project-view:hover {
    background: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-1px);
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.jsjh-projects-empty {
    padding: 56px 28px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
    text-align: center;
}

.jsjh-projects-empty h2 {
    margin: 0 0 8px;
    color: #0b1f33;
    font-size: 20px;
}

.jsjh-projects-empty p {
    max-width: 520px;
    margin: 0 auto;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   PROJECT DETAIL
   ========================================================= */

.jsjh-project-detail {
    width: 100%;
}

.jsjh-project-detail-header {
    margin-bottom: 32px;
}

.jsjh-project-detail-header h1 {
    margin: 0 0 10px;
    color: #0b1f33;
    font-size: 34px;
    line-height: 1.2;
}

.jsjh-project-detail-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.jsjh-project-detail-code {
    display: inline-block;
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* =========================================================
   PROJECT DETAIL GRID
   ========================================================= */

.jsjh-project-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    gap: 20px;
}

.jsjh-project-detail-card {
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
}

.jsjh-project-detail-card h2 {
    margin: 0 0 18px;
    color: #0b1f33;
    font-size: 18px;
}

.jsjh-project-detail-card p {
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   PROJECT SUMMARY
   ========================================================= */

.jsjh-project-summary {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   PROJECT INTAKE
   ========================================================= */

.jsjh-project-intake {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
}

.jsjh-project-intake-header {
    margin-bottom: 24px;
}

.jsjh-project-intake-header h2 {
    margin: 0 0 8px;
    color: #0b1f33;
    font-size: 22px;
}

.jsjh-project-intake-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .jsjh-project-detail-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 640px) {

    .jsjh-projects-header h1 {
        font-size: 28px;
    }

    .jsjh-project-card {
        padding: 20px;
    }

    .jsjh-project-card-top {
        flex-direction: column;
        gap: 10px;
    }

    .jsjh-project-meta {
        grid-template-columns: 1fr;
    }

    .jsjh-project-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .jsjh-project-view {
        width: 100%;
    }

    .jsjh-project-detail-header h1 {
        font-size: 28px;
    }

    .jsjh-project-detail-card {
        padding: 20px;
    }

}

/* =========================================================
   JSJH PROJECTS — ACTUAL PROJECT MODULE STYLES
   ========================================================= */

.jsjh-projects {
    width: 100%;
}


/* =========================================================
   PROJECT HEADER
   ========================================================= */

.jsjh-projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.jsjh-projects-header > div:first-child {
    flex: 1;
}

.jsjh-projects-header .jsjh-auth-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jsjh-projects-header h1 {
    margin: 0 0 10px;
    color: #0b1f33;
    font-size: 32px;
    line-height: 1.2;
}

.jsjh-projects-header p {
    margin: 0;
    max-width: 680px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   PROJECT COUNT
   ========================================================= */

.jsjh-projects-count {
    flex-shrink: 0;
    min-width: 100px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
}

.jsjh-projects-count span {
    display: block;
    color: #0b1f33;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.jsjh-projects-count small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* =========================================================
   PROJECT LIST
   ========================================================= */

.jsjh-project-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* =========================================================
   PROJECT ITEM / CARD
   ========================================================= */

.jsjh-project-item {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 28px;
    padding: 24px 26px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.jsjh-project-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.jsjh-project-item-main {
    flex: 1;
    min-width: 0;
}


/* =========================================================
   PROJECT TOP ROW
   ========================================================= */

.jsjh-project-item-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.jsjh-project-code {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* =========================================================
   STATUS
   ========================================================= */

.jsjh-project-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
}


/* Status variations */

.jsjh-project-status-created {
    background: #eff6ff;
    color: #2563eb;
}

.jsjh-project-status-in_progress {
    background: #ecfeff;
    color: #0f766e;
}

.jsjh-project-status-under_review {
    background: #fefce8;
    color: #a16207;
}

.jsjh-project-status-revision {
    background: #fff7ed;
    color: #c2410c;
}

.jsjh-project-status-completed {
    background: #f0fdf4;
    color: #15803d;
}

.jsjh-project-status-cancelled {
    background: #fef2f2;
    color: #b91c1c;
}


/* =========================================================
   PROJECT TITLE
   ========================================================= */

.jsjh-project-item h2 {
    margin: 0 0 12px;
    color: #0b1f33;
    font-size: 21px;
    line-height: 1.35;
}

.jsjh-project-item h2 a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   SERVICE / AREA
   ========================================================= */

.jsjh-project-service,
.jsjh-project-area {
    margin: 7px 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.jsjh-project-service {
    font-weight: 600;
}

.jsjh-project-area {
    color: #64748b;
}


/* =========================================================
   PROJECT FOOTER / META
   ========================================================= */

.jsjh-project-item-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-shrink: 0;
    align-self: center;
    min-width: 220px;
}

.jsjh-project-item-meta > span {
    color: #94a3b8;
    font-size: 12px;
}

.jsjh-project-item-meta > strong {
    color: #475569;
    font-size: 12px;
}


/* =========================================================
   VIEW PROJECT BUTTON
   ========================================================= */

.jsjh-project-view-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid #2563eb;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.jsjh-project-view-link:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-1px);
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.jsjh-projects-empty {
    padding: 56px 28px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
    text-align: center;
}

.jsjh-projects-empty-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    color: #2563eb;
    font-size: 20px;
}

.jsjh-projects-empty .jsjh-auth-eyebrow {
    display: block;
    margin-bottom: 10px;
}

.jsjh-projects-empty h2 {
    margin: 0 0 8px;
    color: #0b1f33;
    font-size: 21px;
}

.jsjh-projects-empty p {
    max-width: 520px;
    margin: 0 auto 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.jsjh-projects-empty-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
}

.jsjh-projects-empty-button:hover {
    background: #1d4ed8;
    color: #ffffff !important;
}


/* =========================================================
   PROJECT DETAIL
   ========================================================= */

.jsjh-project-detail {
    width: 100%;
}

.jsjh-project-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.jsjh-project-back:hover {
    color: #2563eb;
}

.jsjh-project-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.jsjh-project-detail-header .jsjh-auth-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.jsjh-project-detail-header h1 {
    margin: 0 0 8px;
    color: #0b1f33;
    font-size: 34px;
    line-height: 1.2;
}

.jsjh-project-detail-header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   DETAIL GRID
   ========================================================= */

.jsjh-project-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.jsjh-project-detail-card {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
}

.jsjh-project-detail-label {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.jsjh-project-detail-card strong {
    display: block;
    color: #0b1f33;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   DETAIL SECTIONS
   ========================================================= */

.jsjh-project-detail-section {
    margin-top: 20px;
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
}

.jsjh-project-detail-section-header {
    margin-bottom: 20px;
}

.jsjh-project-detail-section-header .jsjh-auth-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.jsjh-project-detail-section-header h2 {
    margin: 0;
    color: #0b1f33;
    font-size: 20px;
}


/* =========================================================
   PROJECT SUMMARY
   ========================================================= */

.jsjh-project-summary {
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
}

.jsjh-project-summary-empty {
    padding: 16px;
    border-radius: 10px;
    background: #f8fafc;
}

.jsjh-project-summary-empty p {
    margin: 0;
}


/* =========================================================
   PROJECT JOURNEY
   ========================================================= */

.jsjh-project-journey {
    display: flex;
    flex-direction: column;
}

.jsjh-project-journey-step {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
}

.jsjh-project-journey-step:last-child {
    border-bottom: 0;
}

.jsjh-project-journey-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.jsjh-project-journey-step.active .jsjh-project-journey-number {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.jsjh-project-journey-step strong {
    display: block;
    margin-bottom: 5px;
    color: #0b1f33;
    font-size: 14px;
}

.jsjh-project-journey-step p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .jsjh-project-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jsjh-project-item {
        flex-direction: column;
    }

    .jsjh-project-item-meta {
        justify-content: flex-start;
        min-width: 0;
    }

}


@media (max-width: 700px) {

    .jsjh-projects-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .jsjh-projects-count {
        min-width: 90px;
    }

    .jsjh-project-detail-header {
        flex-direction: column;
    }

    .jsjh-project-detail-grid {
        grid-template-columns: 1fr;
    }

    .jsjh-project-detail-header h1 {
        font-size: 28px;
    }

}


@media (max-width: 520px) {

    .jsjh-project-item {
        padding: 20px;
    }

    .jsjh-project-item-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .jsjh-project-view-link {
        width: 100%;
    }

    .jsjh-project-detail-section {
        padding: 20px;
    }

}

/* =========================================================
   JSJH RAZORPAY PAYMENT
   ========================================================= */

.jsjh-razorpay-payment {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #eff6ff;
}

.jsjh-payment-due {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.jsjh-payment-due span {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.jsjh-payment-due strong {
    color: #0b1f33;
    font-size: 22px;
}

.jsjh-pay-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.jsjh-pay-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.jsjh-pay-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.jsjh-payment-message {
    margin-top: 12px;
    color: #475569;
    font-size: 12px;
    line-height: 1.5;
}

.jsjh-payment-complete {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    background: #f0fdf4;
    color: #166534;
}

.jsjh-payment-complete strong {
    font-size: 14px;
}

.jsjh-payment-complete span {
    font-size: 12px;
}

.jsjh-payment-not-configured {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   PAYMENT CONFIRMATION
========================================================= */

.jsjh-payment-confirmation {
    max-width: 900px;
    margin: 40px auto;
    padding: 42px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(11, 31, 51, 0.06);
}

.jsjh-payment-confirmation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e2e8f0;
}

.jsjh-payment-confirmation-brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.jsjh-payment-confirmation-brand strong {
    font-size: 22px;
    color: #0b1f33;
    letter-spacing: -0.02em;
}

.jsjh-payment-confirmation-brand span {
    font-size: 13px;
    color: #64748b;
}

.jsjh-payment-confirmation-title {
    margin: 0;
    color: #0b1f33;
    font-size: 28px;
    line-height: 1.2;
}

.jsjh-payment-confirmation-subtitle {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 14px;
}

.jsjh-payment-confirmation-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.jsjh-payment-confirmation-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.jsjh-payment-confirmation-meta-item {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.jsjh-payment-confirmation-meta-item span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.jsjh-payment-confirmation-meta-item strong {
    display: block;
    color: #0b1f33;
    font-size: 15px;
}

.jsjh-payment-confirmation-section {
    margin-top: 32px;
}

.jsjh-payment-confirmation-section h3 {
    margin: 0 0 16px;
    color: #0b1f33;
    font-size: 18px;
}

.jsjh-payment-confirmation-table {
    width: 100%;
    border-collapse: collapse;
}

.jsjh-payment-confirmation-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.jsjh-payment-confirmation-table tr:last-child {
    border-bottom: 0;
}

.jsjh-payment-confirmation-table td {
    padding: 14px 0;
    font-size: 14px;
}

.jsjh-payment-confirmation-table td:first-child {
    color: #64748b;
}

.jsjh-payment-confirmation-table td:last-child {
    text-align: right;
    color: #0b1f33;
    font-weight: 600;
}

.jsjh-payment-confirmation-total td {
    padding-top: 20px;
    font-size: 17px;
    font-weight: 700 !important;
}

.jsjh-payment-confirmation-transaction {
    margin-top: 28px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.jsjh-payment-confirmation-transaction-label {
    display: block;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.jsjh-payment-confirmation-transaction-id {
    color: #0b1f33;
    font-family: monospace;
    font-size: 13px;
    word-break: break-all;
}

.jsjh-payment-confirmation-note {
    margin-top: 28px;
    padding: 18px 20px;
    border-left: 3px solid #2563eb;
    background: #eff6ff;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    line-height: 1.7;
}

.jsjh-payment-confirmation-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
}

.jsjh-payment-confirmation-print {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #0b1f33;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.jsjh-payment-confirmation-print:hover {
    border-color: #2563eb;
    color: #2563eb;
}


/* =========================================================
   PAYMENT CONFIRMATION — RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .jsjh-payment-confirmation {
        padding: 28px 22px;
        margin: 25px auto;
    }

    .jsjh-payment-confirmation-header {
        flex-direction: column;
    }

    .jsjh-payment-confirmation-meta {
        grid-template-columns: 1fr;
    }

    .jsjh-payment-confirmation-title {
        font-size: 24px;
    }

}


@media (max-width: 480px) {

    .jsjh-payment-confirmation {
        padding: 22px 16px;
        border-radius: 12px;
    }

    .jsjh-payment-confirmation-table td {
        padding: 11px 0;
        font-size: 13px;
    }

    .jsjh-payment-confirmation-actions {
        justify-content: stretch;
    }

    .jsjh-payment-confirmation-print {
        width: 100%;
    }

}


/* =========================================================
   PAYMENT CONFIRMATION — PRINT
========================================================= */

@media print {

    .jsjh-header,
    .jsjh-footer,
    .jsjh-payment-confirmation-actions,
    .jsjh-pay-button {
        display: none !important;
    }

    .jsjh-payment-confirmation {
        max-width: 100%;
        margin: 0;
        padding: 20px;
        border: 0;
        box-shadow: none;
    }

}

/* =========================================================
   PAYMENT CONFIRMATION
========================================================= */

.jsjh-payment-confirmation {
    width: 100%;
    box-sizing: border-box;
    margin: 32px 0;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(11, 31, 51, 0.06);
}


/* =========================================================
   HEADER
========================================================= */

.jsjh-payment-confirmation-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e2e8f0;
}

.jsjh-payment-confirmation-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jsjh-payment-confirmation-header h2 {
    margin: 0;
    color: #0b1f33;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.jsjh-payment-confirmation-header p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.jsjh-payment-confirmation-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   ORDER META
========================================================= */

.jsjh-payment-confirmation-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.jsjh-payment-confirmation-meta > div {
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.jsjh-payment-confirmation-meta span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.jsjh-payment-confirmation-meta strong {
    display: block;
    color: #0b1f33;
    font-size: 15px;
}


/* =========================================================
   SECTIONS
========================================================= */

.jsjh-payment-confirmation-section {
    margin-top: 30px;
}

.jsjh-payment-confirmation-section-title {
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #0b1f33;
    font-size: 17px;
    font-weight: 700;
}


/* =========================================================
   DETAIL ROWS
========================================================= */

.jsjh-payment-confirmation-row {
    display: grid;
    grid-template-columns: minmax(160px, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eef2f7;
}

.jsjh-payment-confirmation-row:last-child {
    border-bottom: 0;
}

.jsjh-payment-confirmation-row > span {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.jsjh-payment-confirmation-row > strong {
    color: #0b1f33;
    font-size: 14px;
    line-height: 1.5;
    text-align: right;
    word-break: break-word;
}


/* =========================================================
   TOTAL
========================================================= */

.jsjh-payment-confirmation-total {
    margin-top: 4px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.jsjh-payment-confirmation-total > span {
    color: #0b1f33;
    font-weight: 700;
}

.jsjh-payment-confirmation-total > strong {
    color: #2563eb;
    font-size: 18px;
}


/* =========================================================
   TRANSACTION ID
========================================================= */

.jsjh-payment-confirmation-transaction {
    font-family: monospace;
    font-size: 13px !important;
    font-weight: 600;
    word-break: break-all;
}


/* =========================================================
   PAYMENT NOTE
========================================================= */

.jsjh-payment-confirmation-note {
    margin-top: 28px;
    padding: 18px 20px;
    background: #eff6ff;
    border-left: 3px solid #2563eb;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    line-height: 1.7;
}

.jsjh-payment-confirmation-note strong {
    color: #0b1f33;
}


/* =========================================================
   ACTIONS
========================================================= */

.jsjh-payment-confirmation-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.jsjh-confirmation-print {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.jsjh-confirmation-print:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}


/* =========================================================
   FOOTER
========================================================= */

.jsjh-payment-confirmation-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.jsjh-payment-confirmation-footer p {
    margin: 4px 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

.jsjh-payment-confirmation-footer p:last-child {
    color: #0b1f33;
    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .jsjh-payment-confirmation {
        margin: 24px 0;
        padding: 28px 22px;
        border-radius: 14px;
    }

    .jsjh-payment-confirmation-header {
        flex-direction: column;
        gap: 18px;
    }

    .jsjh-payment-confirmation-meta {
        grid-template-columns: 1fr;
    }

    .jsjh-payment-confirmation-header h2 {
        font-size: 24px;
    }

    .jsjh-payment-confirmation-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .jsjh-payment-confirmation-row > strong {
        text-align: left;
    }

    .jsjh-payment-confirmation-actions {
        justify-content: stretch;
    }

    .jsjh-confirmation-print {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .jsjh-payment-confirmation {
        padding: 22px 16px;
    }

    .jsjh-payment-confirmation-header h2 {
        font-size: 22px;
    }

    .jsjh-payment-confirmation-row {
        padding: 13px 0;
    }

}


/* =========================================================
   PRINT
========================================================= */

@media print {

    .jsjh-header,
    .jsjh-footer,
    .jsjh-payment-confirmation-actions,
    .jsjh-pay-button {
        display: none !important;
    }

    .jsjh-payment-confirmation {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

}

/* =========================================================
   PAYMENT CONFIRMATION — PRINT ONLY
   ========================================================= */

@media print {

    body * {
        visibility: hidden !important;
    }

    .jsjh-payment-confirmation,
    .jsjh-payment-confirmation * {
        visibility: visible !important;
    }

    .jsjh-payment-confirmation {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 30px !important;
        background: #ffffff !important;
        box-shadow: none !important;
        border: none !important;
    }

    .jsjh-payment-confirmation-actions {
        display: none !important;
    }

    .jsjh-header,
    .jsjh-footer,
    .jsjh-mobile-menu-toggle {
        display: none !important;
    }

    @page {
        margin: 12mm;
    }
}

/* =========================================================
   PAYMENT CONFIRMATION — A4 PRINT LAYOUT
   ========================================================= */

@media print {

    @page {
        size: A4;
        margin: 10mm;
    }

    .jsjh-payment-confirmation {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 18px 22px !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        box-shadow: none !important;
        border: none !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .jsjh-payment-confirmation-header {
        margin-bottom: 14px !important;
    }

    .jsjh-payment-confirmation-header h2 {
        margin: 4px 0 6px !important;
        font-size: 24px !important;
    }

    .jsjh-payment-confirmation-header p {
        margin: 0 !important;
        font-size: 11px !important;
    }

    .jsjh-payment-confirmation-meta {
        margin-bottom: 12px !important;
    }

    .jsjh-payment-confirmation-meta > div {
        padding: 9px 12px !important;
    }

    .jsjh-payment-confirmation-section {
        margin-top: 12px !important;
    }

    .jsjh-payment-confirmation-section-title {
        margin-bottom: 4px !important;
        padding-bottom: 5px !important;
        font-size: 12px !important;
    }

    .jsjh-payment-confirmation-row {
        padding: 6px 0 !important;
        min-height: 0 !important;
    }

    .jsjh-payment-confirmation-row span,
    .jsjh-payment-confirmation-row strong {
        font-size: 11.5px !important;
    }

    .jsjh-payment-confirmation-note {
        margin-top: 12px !important;
        padding: 10px 12px !important;
        font-size: 10.5px !important;
    }

    .jsjh-payment-confirmation-footer {
        margin-top: 12px !important;
        padding-top: 8px !important;
        font-size: 9.5px !important;
    }

    .jsjh-payment-confirmation-actions {
        display: none !important;
    }

    .jsjh-payment-confirmation-transaction {
        word-break: break-all !important;
    }
}

/* =========================================================
   TAX INVOICE ACTIONS
   ========================================================= */

.jsjh-invoice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}


.jsjh-invoice-actions .jsjh-order-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    text-decoration: none;
    cursor: pointer;
}


.jsjh-invoice-actions .jsjh-order-action-primary {
    text-decoration: none;
}
/* =========================================================
   JSJH NOTIFICATION CENTER
   ========================================================= */

.jsjh-dashboard-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}


.jsjh-notification-wrapper {
    position: relative;
    flex-shrink: 0;
}


.jsjh-notification-button {
    position: relative;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #FFFFFF;
    color: #0B1F33;
    cursor: pointer;
    font-size: 20px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.jsjh-notification-button:hover {
    border-color: #CBD5E1;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}


.jsjh-notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #2563EB;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}


.jsjh-notification-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1000;
    width: min(410px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}


.jsjh-notification-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 20px;
    border-bottom: 1px solid #E2E8F0;
}


.jsjh-notification-panel-header > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.jsjh-notification-panel-header strong {
    color: #0B1F33;
    font-size: 15px;
}


.jsjh-notification-panel-header span {
    color: #64748B;
    font-size: 12px;
}


.jsjh-notification-mark-all {
    border: 0;
    background: transparent;
    color: #2563EB;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}


.jsjh-notification-list {
    max-height: 430px;
    overflow-y: auto;
}


.jsjh-notification-item {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 17px 20px;
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.2s ease;
}


.jsjh-notification-item:hover {
    background: #F8FAFC;
}


.jsjh-notification-item:last-child {
    border-bottom: 0;
}


.jsjh-notification-item-indicator {
    width: 7px;
    height: 7px;
    margin-top: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: transparent;
}


.jsjh-notification-item.is-unread
.jsjh-notification-item-indicator {
    background: #2563EB;
}


.jsjh-notification-item-content {
    min-width: 0;
    flex: 1;
}


.jsjh-notification-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}


.jsjh-notification-item-top strong {
    color: #0B1F33;
    font-size: 13px;
    line-height: 1.45;
}


.jsjh-notification-item-top time {
    flex-shrink: 0;
    color: #94A3B8;
    font-size: 10px;
}


.jsjh-notification-item-message {
    margin-top: 6px;
    color: #64748B;
    font-size: 12px;
    line-height: 1.6;
}


.jsjh-notification-item-link {
    display: inline-block;
    margin-top: 9px;
    color: #2563EB;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}


.jsjh-notification-item-link:hover {
    text-decoration: underline;
}


.jsjh-notification-read {
    display: block;
    margin-top: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748B;
    font-size: 11px;
    cursor: pointer;
}


.jsjh-notification-read:hover {
    color: #2563EB;
}


.jsjh-notification-empty {
    padding: 40px 24px;
    text-align: center;
}


.jsjh-notification-empty-icon {
    margin-bottom: 12px;
    color: #94A3B8;
    font-size: 24px;
}


.jsjh-notification-empty strong {
    display: block;
    color: #0B1F33;
    font-size: 14px;
}


.jsjh-notification-empty p {
    margin: 7px auto 0;
    max-width: 280px;
    color: #64748B;
    font-size: 12px;
    line-height: 1.6;
}


@media (max-width: 640px) {

    .jsjh-dashboard-header {
        align-items: flex-start;
    }


    .jsjh-notification-panel {
        position: fixed;
        top: 80px;
        right: 16px;
        left: 16px;
        width: auto;
    }

}

/* =========================================================
   JSJH DOCUMENTS PAGE
   ========================================================= */

.jsjh-documents-page {
    max-width: 1100px;
    margin: 0 auto;
}

.jsjh-documents-header {
    padding-bottom: 22px;
    border-bottom: 1px solid #e2e8f0;
}

.jsjh-documents-header span {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 8px;
}

.jsjh-documents-header h2 {
    margin: 0 0 8px;
    color: #0b1f33;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.jsjh-documents-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   DOCUMENT ITEM
   ========================================================= */

.jsjh-document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 22px 24px;
    margin-bottom: 14px;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.jsjh-document-item:hover {
    border-color: #cbd5e1;

    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.06);

    transform: translateY(-1px);
}


/* =========================================================
   DOCUMENT TITLE
   ========================================================= */

.jsjh-document-item h3 {
    margin: 0 0 7px;

    color: #0b1f33;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 650;
}


/* =========================================================
   DOCUMENT META
   ========================================================= */

.jsjh-document-item .jsjh-document-meta {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.jsjh-document-item .jsjh-document-file {
    margin-top: 6px;

    color: #94a3b8;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   DOWNLOAD BUTTON
   ========================================================= */

.jsjh-document-item .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    height: 40px;

    padding: 0 16px;

    border: 1px solid #2563eb;
    border-radius: 7px;

    background: #2563eb;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.jsjh-document-item .button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;

    box-shadow:
        0 4px 12px rgba(37, 99, 235, 0.18);
}


/* =========================================================
   EMPTY DOCUMENT STATE
   ========================================================= */

.jsjh-documents-empty {
    padding: 36px 30px;

    text-align: center;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.jsjh-documents-empty h3 {
    margin: 0 0 8px;

    color: #0b1f33;

    font-size: 18px;
    font-weight: 650;
}

.jsjh-documents-empty p {
    max-width: 560px;
    margin: 0 auto;

    color: #64748b;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .jsjh-documents-page {
        width: 100%;
    }

    .jsjh-documents-header h2 {
        font-size: 25px;
    }

    .jsjh-document-item {
        flex-direction: column;
        align-items: flex-start;

        padding: 18px;
    }

    .jsjh-document-item > div:last-child {
        width: 100%;
    }

    .jsjh-document-item .button {
        width: 100%;
    }

}