/* A2Z Jobs Consultancy - A2z jobs ats Stylesheet */
:root {
    --a2z-primary: #4f46e5;
    --a2z-primary-hover: #4338ca;
    --a2z-slate: #0f172a;
    --a2z-muted: #64748b;
    --a2z-bg: #f8fafc;
    --a2z-card: #ffffff;
    --a2z-border: #e2e8f0;
    --a2z-emerald: #10b981;
    --a2z-amber: #f59e0b;
    --a2z-rose: #ef4444;
}

.a2z-pjh-app-shell,
.a2z-career-portal-wrap,
.a2z-pjh-card {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--a2z-slate);
    box-sizing: border-box;
}

.a2z-pjh-app-shell {
    background: var(--a2z-bg);
    border: 1px solid var(--a2z-border);
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.a2z-pjh-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--a2z-border);
}

.a2z-pjh-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.a2z-pjh-logo-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.a2z-pjh-brand-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.a2z-pjh-badge-pro {
    background: #eef2ff;
    color: var(--a2z-primary);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.a2z-pjh-brand-sub {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--a2z-muted);
}

.a2z-pjh-topbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.a2z-pjh-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
    border-bottom: 1px solid var(--a2z-border);
    padding-bottom: 12px;
}

.a2z-pjh-tab {
    background: #fff;
    border: 1px solid var(--a2z-border);
    color: var(--a2z-slate);
    padding: 9px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.a2z-pjh-tab:hover {
    border-color: var(--a2z-primary);
    color: var(--a2z-primary);
}

.a2z-pjh-tab.active {
    background: var(--a2z-primary);
    border-color: var(--a2z-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.a2z-pjh-panel {
    display: none;
}

.a2z-pjh-panel.active {
    display: block;
}

.a2z-pjh-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.a2z-kpi-card {
    background: var(--a2z-card);
    border: 1px solid var(--a2z-border);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.a2z-kpi-label {
    font-size: 13px;
    color: var(--a2z-muted);
    font-weight: 600;
}

.a2z-kpi-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--a2z-slate);
}

.a2z-kpi-meta {
    font-size: 12px;
    color: var(--a2z-emerald);
    font-weight: 600;
}

.a2z-pjh-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}

.a2z-pjh-card {
    background: var(--a2z-card);
    border: 1px solid var(--a2z-border);
    border-radius: 14px;
    padding: 22px;
}

.a2z-pjh-card h3 {
    margin-top: 0;
    font-size: 17px;
    font-weight: 700;
}

.a2z-funnel-row {
    margin-bottom: 12px;
}

.a2z-funnel-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 4px;
}

.a2z-funnel-track {
    height: 9px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.a2z-funnel-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    border-radius: 999px;
}

.a2z-activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 360px;
    overflow-y: auto;
}

.a2z-activity-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.a2z-act-actor {
    font-size: 12px;
    font-weight: 700;
    color: var(--a2z-primary);
}

.a2z-activity-list p {
    margin: 4px 0;
    font-size: 13px;
}

.a2z-activity-list small {
    color: var(--a2z-muted);
    font-size: 11px;
}

/* Kanban Board */
.a2z-kanban-board {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
}

.a2z-kanban-col {
    min-width: 265px;
    max-width: 265px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 12px;
    flex-shrink: 0;
}

.a2z-kanban-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 4px 6px;
}

.a2z-kanban-count {
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
}

.a2z-kanban-card {
    background: #fff;
    border: 1px solid var(--a2z-border);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
}

.a2z-kc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.a2z-uid-tag {
    font-size: 11px;
    color: var(--a2z-muted);
    font-family: monospace;
}

.a2z-ai-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
}

.a2z-ai-pill.med {
    background: #fffbeb;
    color: #b45309;
}

.a2z-kanban-card h5 {
    margin: 4px 0;
    font-size: 14px;
}

.a2z-kc-role {
    font-size: 12px;
    font-weight: 600;
    color: var(--a2z-primary);
    margin: 2px 0 6px;
}

.a2z-kc-meta {
    font-size: 11px;
    color: var(--a2z-muted);
    margin: 0 0 10px;
}

.a2z-kc-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.a2z-stage-mover {
    flex: 1;
    font-size: 11px;
    padding: 5px;
    border-radius: 6px;
    border: 1px solid var(--a2z-border);
}

.a2z-wa-mini {
    text-decoration: none;
    font-size: 11px;
    background: #dcfce7;
    color: #15803d;
    padding: 5px 8px;
    border-radius: 6px;
    font-weight: 700;
}

/* Jobs Stack, Subdrawers & Social Share Buttons */
.a2z-jobs-admin-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.a2z-job-manage-card,
.a2z-public-job-card {
    background: #fff;
    border: 1px solid var(--a2z-border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 14px;
}

.a2z-job-card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.a2z-job-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.a2z-job-subdrawer {
    margin-top: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
}

.a2z-boards-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 8px;
}

.a2z-board-check-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--a2z-border);
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px !important;
    font-weight: 600;
    cursor: pointer;
}

/* Social Share Bar */
.a2z-social-share-bar {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.a2z-share-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--a2z-muted);
    margin-right: 2px;
}

.a2z-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: opacity 0.2s;
}

.a2z-share-btn:hover {
    opacity: 0.9;
}

.a2z-share-wa {
    background: #dcfce7;
    color: #15803d;
}

.a2z-share-li {
    background: #dbeafe;
    color: #1d4ed8;
}

.a2z-share-fb {
    background: #e0e7ff;
    color: #3730a3;
}

.a2z-share-ig {
    background: #fce7f3;
    color: #be185d;
}

.a2z-public-job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.a2z-pjc-main {
    flex: 1;
    min-width: 280px;
}

.a2z-job-card-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.a2z-badge-code {
    background: #f1f5f9;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.a2z-badge-service {
    background: #eef2ff;
    color: var(--a2z-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.a2z-badge-status,
.a2z-badge-mode {
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.a2z-skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.a2z-skill-chip {
    background: #f8fafc;
    border: 1px solid var(--a2z-border);
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    color: #334155;
}

.a2z-career-hero {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #fff;
    padding: 36px 28px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.a2z-hero-pill {
    display: inline-block;
    background: rgba(79, 70, 229, 0.25);
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.a2z-career-hero h2 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 26px;
}

.a2z-career-hero p {
    color: #cbd5e1;
    margin: 0 0 20px;
    font-size: 14px;
}

.a2z-career-filter-bar {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
}

/* Forms & Inputs */
.a2z-form-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.a2z-form-stack label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
}

.a2z-form-row-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.a2z-form-row-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.a2z-form-row-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
}

.a2z-input {
    padding: 9px 12px;
    border: 1px solid var(--a2z-border);
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    color: var(--a2z-slate);
    width: 100%;
    box-sizing: border-box;
}

.a2z-btn {
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.a2z-btn-primary {
    background: var(--a2z-primary);
    color: #fff;
}

.a2z-btn-primary:hover {
    background: var(--a2z-primary-hover);
    color: #fff;
}

.a2z-btn-outline {
    background: #fff;
    border-color: var(--a2z-border);
    color: var(--a2z-slate);
}

.a2z-btn-wa {
    background: #16a34a;
    color: #fff;
}

.a2z-btn-sm {
    padding: 6px 10px;
    font-size: 12px;
}

/* Tables */
.a2z-table-responsive {
    overflow-x: auto;
}

.a2z-pjh-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.a2z-pjh-table th,
.a2z-pjh-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--a2z-border);
    text-align: left;
    vertical-align: top;
}

.a2z-pjh-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #475569;
}

/* Modal */
.a2z-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.a2z-modal-dialog {
    background: #fff;
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.a2z-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.a2z-modal-close {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--a2z-muted);
}

.a2z-pjh-toast {
    background: #0f172a;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
}

.a2z-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.a2z-filter-controls,
.a2z-lookup-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.a2z-lookup-bar .a2z-input {
    max-width: 420px;
}

@media (max-width: 768px) {
    .a2z-career-filter-bar {
        grid-template-columns: 1fr;
    }
}
