/* ====================================================================
   ALZAR MOBILE JOB HUB — Lite job detail page
   ==================================================================== */

.mjh-page {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--color-bg, #0f172a);
}

.mjh-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--color-border, rgba(255,255,255,0.08));
    flex-shrink: 0;
    background: var(--color-bg-surface, #1a1a2e);
}

.mjh-back {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: var(--color-bg-hover, rgba(255,255,255,0.06));
    color: var(--color-text-main, #e0e0e0);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.mjh-topbar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-main, #f1f5f9);
}

.mjh-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.mjh-hdr-card {
    margin: 12px 14px 0;
    padding: 16px;
    border-radius: 12px;
    background: var(--color-bg-surface, #1e293b);
    border: 1px solid var(--color-border, rgba(255,255,255,0.08));
}

.mjh-client {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main, #f1f5f9);
    line-height: 1.25;
}

.mjh-project {
    margin-top: 4px;
    font-size: 13px;
    color: var(--color-text-muted, #94a3b8);
}

.mjh-hdr-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.mjh-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.mjh-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-main, #f1f5f9);
}

.mjh-actions {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mjh-actions::-webkit-scrollbar { display: none; }

.mjh-act {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 64px;
    padding: 10px 8px;
    border-radius: 10px;
    border: 1px solid var(--color-border, rgba(255,255,255,0.08));
    background: var(--color-bg-surface, #1e293b);
    color: var(--color-text-main, #e0e0e0);
    font-size: 10px;
    font-family: var(--font-base, inherit);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mjh-act i { font-size: 20px; color: var(--color-primary, #0ea5e9); }
.mjh-act:active { background: var(--color-bg-hover, rgba(255,255,255,0.08)); }

.mjh-section {
    margin: 0 14px 12px;
    padding: 14px;
    border-radius: 12px;
    background: var(--color-bg-surface, #1e293b);
    border: 1px solid var(--color-border, rgba(255,255,255,0.06));
}

.mjh-section-hdr {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted, #94a3b8);
    margin-bottom: 10px;
}

.mjh-section-hdr i { font-size: 16px; color: var(--color-primary, #0ea5e9); }

.mjh-field-label {
    display: block;
    font-size: 11px;
    color: var(--color-text-muted, #888);
    margin-bottom: 6px;
}

.mjh-field-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid var(--color-border, rgba(255,255,255,0.1));
    background: var(--color-bg-card, rgba(255,255,255,0.04));
    color: var(--color-text-main, #e0e0e0);
    font-size: 15px;
    font-family: var(--font-base, inherit);
    margin-bottom: 10px;
}

.mjh-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: none;
    color: var(--color-primary, #0ea5e9);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-base, inherit);
    cursor: pointer;
}

.mjh-body-text {
    font-size: 14px;
    color: var(--color-text-main, #e0e0e0);
    line-height: 1.45;
}

.mjh-empty-block {
    font-size: 13px;
    color: var(--color-text-muted, #888);
    padding: 8px 0;
}

.mjh-empty-block i { margin-right: 6px; }

.mjh-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mjh-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--color-border, rgba(255,255,255,0.08));
}

.mjh-follow-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border, rgba(255,255,255,0.05));
}

.mjh-follow-row:last-child { border-bottom: none; }

.mjh-follow-type {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary, #0ea5e9);
    text-transform: uppercase;
}

.mjh-follow-note {
    font-size: 13px;
    color: var(--color-text-main, #e0e0e0);
}

.mjh-follow-date {
    font-size: 11px;
    color: var(--color-text-muted, #888);
}

.mjh-desktop-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 28px);
    margin: 4px 14px 20px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px dashed var(--color-border, rgba(255,255,255,0.15));
    background: transparent;
    color: var(--color-text-muted, #94a3b8);
    font-size: 13px;
    font-family: var(--font-base, inherit);
    cursor: pointer;
}

/* Status bottom sheet */
.mjh-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10060;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mjh-sheet {
    width: 100%;
    max-width: 480px;
    background: var(--color-bg-surface, #1a1a2e);
    border-radius: 16px 16px 0 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-border, rgba(255,255,255,0.08));
}

.mjh-sheet-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--color-text-main, #f1f5f9);
}

.mjh-sheet-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 10px;
    border: 1px solid var(--color-border, rgba(255,255,255,0.08));
    background: var(--overlay-hover, rgba(255,255,255,0.04));
    color: var(--color-text-main, #e0e0e0);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
}

.mjh-sheet-cancel {
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
    border: none;
    background: transparent;
    color: var(--color-text-muted, #888);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}
