/* ==========================================================
   RootPlacement — Premium Web Design
   ========================================================== */

:root {
    --primary: #8B0033;
    --primary-dark: #6d0028;
    --primary-light: #fce4ec;
    --text: #0f172a;
    --text-soft: #475569;
    --text-muted: #94a3b8;
    --bg: #f1f5f9;
    --card: #ffffff;
    --border: #e2e8f0;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --green: #10b981;
    --red: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 16px rgba(15,23,42,0.06);
    --shadow-lg: 0 12px 40px rgba(15,23,42,0.10);
    --radius: 12px;
    --radius-lg: 16px;
    --navbar-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
hr { border: none; border-top: 1px solid var(--border); margin: 6px 0; }

/* ==========================================================
   NAVBAR
   ========================================================== */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--navbar-h);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    max-width: 1320px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(139,0,51,0.3);
}
.brand-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}
.brand-text em {
    color: var(--primary);
    font-style: normal;
}

/* Search */
.nav-search {
    flex: 1;
    max-width: 420px;
    position: relative;
}
.nav-search > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}
.nav-search input {
    width: 100%;
    padding: 11px 42px 11px 42px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #f8fafc;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: all 0.2s;
}
.nav-search input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,0,51,0.08);
}
.search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    transition: all 0.15s;
}
.nav-icon i { font-size: 19px; }
.nav-icon:hover { color: var(--text); background: #f8fafc; }
.nav-icon.active { color: var(--primary); }
.nav-icon.active i { font-weight: 900; }

.notif-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
}

/* User Menu */
.user-menu { position: relative; margin-left: 8px; }
.avatar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px 3px 3px;
    border-radius: 22px;
    background: transparent;
    transition: background 0.15s;
}
.avatar-btn:hover { background: #f8fafc; }
.avatar-btn > img,
.avatar-btn > :first-child:not(i) {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    overflow: hidden;
    object-fit: cover;
}
.avatar-btn i.fa-chevron-down {
    font-size: 10px;
    color: var(--text-muted);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    min-width: 270px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: none;
    border: 1px solid var(--border);
    z-index: 999;
    animation: fadeSlide 0.15s ease-out;
}
.dropdown-menu.show { display: block; }

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
}
.dropdown-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    overflow: hidden;
    flex-shrink: 0;
}
.dropdown-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dropdown-user-info { min-width: 0; }
.dropdown-user-info strong { display: block; font-size: 14px; }
.dropdown-user-info small {
    color: var(--text-muted);
    font-size: 12px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--text-soft);
    transition: all 0.15s;
}
.dropdown-menu a:hover { background: #f8fafc; color: var(--text); }
.dropdown-menu a i { width: 16px; color: var(--text-muted); font-size: 14px; }
.dropdown-menu a.text-red,
.dropdown-menu a.text-red i { color: var(--red); }

.btn-post-job {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    margin-left: 8px;
    transition: all 0.15s;
    box-shadow: 0 4px 12px rgba(139,0,51,0.25);
}
.btn-post-job:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(139,0,51,0.35);
}
.btn-post-job i { font-size: 12px; }

/* ==========================================================
   LAYOUT (3-column)
   ========================================================== */
.app-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px;
}

.layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: flex-start;
}

.sidebar-left,
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--navbar-h) + 24px);
}

.main-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* ==========================================================
   CARD
   ========================================================== */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}
.card-head h4 { font-size: 14.5px; font-weight: 700; }
.card-head i { color: var(--primary); font-size: 14px; }

/* ==========================================================
   LEFT SIDEBAR
   ========================================================== */
.profile-widget-cover {
    height: 64px;
    background: linear-gradient(135deg, var(--primary), #b3004a);
}

.profile-widget-body {
    padding: 0 18px 20px;
    text-align: center;
    margin-top: -34px;
}

.profile-widget-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 auto 10px;
    border: 3px solid #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.profile-widget-avatar img { width: 100%; height: 100%; object-fit: cover; }

.profile-widget-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}
.profile-widget-name:hover { color: var(--primary); }

.profile-widget-role {
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 3px;
}

.profile-widget-loc {
    font-size: 12.5px;
    color: var(--text-muted);
}
.profile-widget-loc i { font-size: 11px; margin-right: 3px; }

.profile-widget-strength {
    margin: 16px 0 14px;
    text-align: left;
}
.ps-head {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
}
.ps-head span { color: var(--text-soft); }
.ps-head strong { color: var(--green); }
.ps-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}
.ps-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green), #34d399);
    border-radius: 3px;
    transition: width 0.4s;
}

.profile-widget-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.profile-widget-stats > div { text-align: center; }
.profile-widget-stats strong {
    display: block;
    font-size: 15px;
    color: var(--primary);
    font-weight: 700;
}
.profile-widget-stats span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Quick Menu */
.quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    font-size: 13.5px;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
    transition: all 0.15s;
}
.quick-item:last-child { border-bottom: none; }
.quick-item:hover { background: #f8fafc; color: var(--text); }
.quick-item i:first-child { width: 18px; color: var(--primary); font-size: 14px; }
.quick-item span { flex: 1; }
.quick-item strong { color: var(--text-muted); font-size: 13px; font-weight: 600; }

/* ==========================================================
   RIGHT SIDEBAR
   ========================================================== */
.stats-widget {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
}
.stats-item {
    background: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.stats-item i {
    width: 38px;
    height: 38px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.stats-item strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}
.stats-item span {
    font-size: 11.5px;
    color: var(--text-muted);
}

.trend-list { padding: 6px 0; }
.trend-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    transition: background 0.15s;
}
.trend-row:hover { background: #f8fafc; }
.trend-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.trend-info { flex: 1; min-width: 0; }
.trend-info strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
}
.trend-info small { font-size: 11.5px; color: var(--text-muted); }
.trend-arrow { font-size: 11px; color: var(--text-muted); }

.suggest-list { padding: 6px 0; }
.suggest-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
}
.suggest-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.suggest-avatar img { width: 100%; height: 100%; object-fit: cover; }
.suggest-info { flex: 1; min-width: 0; }
.suggest-info strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.suggest-info strong:hover { color: var(--primary); }
.suggest-info small { font-size: 11.5px; color: var(--text-muted); }

.btn-follow-sm {
    padding: 6px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.15s;
}
.btn-follow-sm:hover { background: var(--primary-dark); }

/* ==========================================================
   WELCOME BANNER
   ========================================================== */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #b3004a 100%);
    border-radius: var(--radius);
    padding: 22px 26px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(139,0,51,0.2);
    position: relative;
    overflow: hidden;
}
.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 260px;
    height: 260px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.welcome-banner h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}
.welcome-banner p {
    font-size: 13.5px;
    opacity: 0.9;
}
.welcome-banner .btn-primary {
    background: #fff;
    color: var(--primary);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
.welcome-banner .btn-primary:hover { background: #f8fafc; }

/* ==========================================================
   CREATE POST
   ========================================================== */
.create-box {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.create-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    overflow: hidden;
}
.create-avatar img { width: 100%; height: 100%; object-fit: cover; }
.create-box input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #f8fafc;
    font-size: 14px;
    color: var(--text-soft);
    cursor: pointer;
    outline: none;
    transition: all 0.15s;
}
.create-box input:hover { background: #f1f5f9; border-color: #cbd5e1; }

/* ==========================================================
   FEED TABS
   ========================================================== */
.feed-tabs {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    gap: 4px;
    padding: 4px;
}
.tab {
    flex: 1;
    text-align: center;
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-soft);
    border-radius: 8px;
    transition: all 0.15s;
}
.tab:hover { background: #f8fafc; color: var(--text); }
.tab.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================================
   JOB CARD
   ========================================================== */
.job-card {
    transition: all 0.2s;
}
.job-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.job-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 12px;
}

.job-logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.15s;
}
.job-logo:hover { transform: scale(1.05); }
.job-logo img { width: 100%; height: 100%; object-fit: cover; }

.job-header-info { flex: 1; min-width: 0; }
.job-company {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    transition: color 0.15s;
}
.job-company:hover { color: var(--primary); }
.job-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.job-meta i { font-size: 10.5px; }

.btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
}
.btn-follow:hover { background: var(--primary-dark); }
.btn-follow i { font-size: 11px; }
.btn-follow.following {
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-follow.following:hover { background: var(--primary-light); }

.job-card-body {
    padding: 0 18px 14px;
    cursor: pointer;
}
.job-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.35;
}
.job-desc {
    font-size: 13.5px;
    color: var(--text-soft);
    margin-bottom: 12px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    background: #f1f5f9;
    padding: 5px 11px;
    border-radius: 14px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.tag i { font-size: 10px; color: var(--text-muted); }
.tag-primary {
    background: var(--primary-light);
    color: var(--primary);
}
.tag-primary i { color: var(--primary); }
.tag-red {
    background: #fee2e2;
    color: var(--red);
}

.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid var(--border);
    background: #fafbfc;
    gap: 12px;
}
.job-footer-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-soft);
    font-weight: 500;
    transition: all 0.15s;
}
.action-btn:hover { background: #fff; color: var(--primary); }
.action-btn i { font-size: 14px; }
.action-btn.saved { color: var(--primary); }

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
    box-shadow: 0 2px 8px rgba(139,0,51,0.2);
}
.btn-apply:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(139,0,51,0.3);
}
.btn-apply i { font-size: 11px; }

/* ==========================================================
   PAGE HEADER
   ========================================================== */
.page-header {
    padding: 22px;
}
.page-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.page-header h1 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.result-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.search-wrap {
    flex: 1;
    position: relative;
}
.search-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}
.search-wrap input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    background: #f8fafc;
    transition: all 0.15s;
}
.search-wrap input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,0,51,0.08);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    padding: 7px 15px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-soft);
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
}

/* ==========================================================
   EMPTY STATE
   ========================================================== */
.empty-state {
    padding: 70px 24px;
    text-align: center;
}
.empty-state i {
    font-size: 52px;
    color: var(--text-muted);
    opacity: 0.35;
    margin-bottom: 16px;
}
.empty-state h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.empty-state p {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.15s;
    box-shadow: 0 2px 8px rgba(139,0,51,0.2);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(139,0,51,0.3);
    transform: translateY(-1px);
}
.btn-primary i { font-size: 12px; }

/* ==========================================================
   MOBILE HEADER (hidden on desktop)
   ========================================================== */
.mobile-header {
    display: none;
    background: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}
.mobile-header-actions {
    display: flex;
    gap: 6px;
}
.mob-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 16px;
    position: relative;
}
.mob-icon-btn .notif-badge {
    top: 2px;
    right: 2px;
}

/* ==========================================================
   MOBILE BOTTOM NAV (hidden on desktop)
   ========================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    z-index: 1000;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.mob-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 500;
    color: var(--text-muted);
    flex: 1;
    padding: 4px 0;
    transition: color 0.15s;
}
.mob-nav i { font-size: 19px; }
.mob-nav.active { color: var(--primary); font-weight: 700; }

.mob-nav-plus .plus-fab {
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-top: -22px;
    box-shadow: 0 6px 16px rgba(139,0,51,0.4);
    transition: transform 0.15s;
}
.mob-nav-plus .plus-fab:active { transform: scale(0.95); }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    margin-top: 40px;
    padding: 40px 0 0;
}
.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px 32px;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 40px;
}
.footer-brand .brand-icon {
    display: inline-flex;
    margin-bottom: 10px;
}
.footer-brand .brand-text {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 10px;
    max-width: 280px;
}
.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.footer-links-group h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links-group a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.15s;
}
.footer-links-group a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ==========================================================
   RESPONSIVE — Large Tablet
   ========================================================== */
@media (max-width: 1180px) {
    .layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }
    .sidebar-right { display: none; }
    .navbar-container { gap: 16px; }
    .nav-search { max-width: 280px; }
}

/* ==========================================================
   RESPONSIVE — Tablet
   ========================================================== */
@media (max-width: 900px) {
    .app-container { padding: 16px; }
    .layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sidebar-left { display: none; }
    .footer-container { grid-template-columns: 1fr; gap: 24px; }
    .footer-links-group { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   RESPONSIVE — Mobile
   ========================================================== */
@media (max-width: 700px) {
    body {
        background: #f8fafc;
        padding-bottom: 76px;
    }

    /* Hide desktop navbar & footer */
    .navbar { display: none; }
    .site-footer { display: none; }

    /* Show mobile header & bottom nav */
    .mobile-header { display: flex; }
    .mobile-bottom-nav { display: flex; }

    /* Layout */
    .app-container {
        padding: 12px;
        max-width: 100%;
    }
    .layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .sidebar-left,
    .sidebar-right { display: none; }

    /* Cards: full-width, more compact */
    .card {
        border-radius: 10px;
    }

    /* Welcome Banner */
    .welcome-banner {
        padding: 18px;
        border-radius: 10px;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .welcome-banner h2 { font-size: 17px; }
    .welcome-banner p { font-size: 12.5px; }
    .welcome-banner .btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* Create Post */
    .create-box {
        padding: 12px;
        gap: 10px;
        border-radius: 10px;
    }
    .create-avatar { width: 40px; height: 40px; font-size: 13px; }
    .create-box input { padding: 10px 16px; font-size: 13px; }

    /* Tabs */
    .feed-tabs {
        border-radius: 10px;
        padding: 3px;
        gap: 2px;
    }
    .tab {
        padding: 9px 8px;
        font-size: 12.5px;
    }

    /* Job Card */
    .job-card-header { padding: 14px 14px 10px; gap: 10px; }
    .job-logo { width: 42px; height: 42px; font-size: 14px; border-radius: 9px; }
    .job-company { font-size: 14px; }
    .job-meta { font-size: 12px; }
    .btn-follow { padding: 6px 14px; font-size: 12px; }
    .btn-follow i { font-size: 10px; }

    .job-card-body { padding: 0 14px 12px; }
    .job-title { font-size: 16px; }
    .job-desc { font-size: 13px; }

    .job-card-footer {
        padding: 8px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: #fff;
    }
    .job-footer-left {
        justify-content: space-around;
        border-bottom: 1px solid var(--border);
        padding-bottom: 6px;
    }
    .action-btn { padding: 8px; font-size: 12.5px; flex: 1; justify-content: center; }
    .btn-apply { justify-content: center; padding: 11px; font-size: 13px; }

    /* Page Header */
    .page-header { padding: 16px; border-radius: 10px; }
    .page-header h1 { font-size: 19px; }
    .page-header-top { margin-bottom: 12px; }

    .search-form { flex-direction: column; gap: 8px; }
    .search-form .btn-primary { justify-content: center; }

    .filter-chips {
        gap: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .filter-chips::-webkit-scrollbar { display: none; }
    .chip { flex-shrink: 0; padding: 6px 12px; font-size: 12px; }

    /* Empty state */
    .empty-state { padding: 50px 16px; }
    .empty-state i { font-size: 42px; }
}

/* ==========================================================
   Small Mobile
   ========================================================== */
@media (max-width: 380px) {
    .brand-text { font-size: 17px; }
    .brand-icon { width: 32px; height: 32px; font-size: 16px; }
    .tab { font-size: 12px; padding: 8px 4px; }
}
/* ==========================================================
   COMPACT LIST (Hiring / Quick Jobs / Following)
   Image jaisa simple design
   ========================================================== */
.compact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.compact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.18s ease;
    text-decoration: none;
    color: inherit;
}

.compact-card:hover {
    border-color: #fbcfe8;
    box-shadow: 0 4px 14px rgba(139,0,51,0.08);
    transform: translateY(-1px);
}

/* Icon box */
.compact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid #fce4ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

/* Info */
.compact-info {
    flex: 1;
    min-width: 0;
}

.compact-info h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.compact-meta {
    display: flex;
    gap: 14px;
    font-size: 12.5px;
    color: var(--text-soft);
    flex-wrap: wrap;
}

.compact-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.compact-meta i {
    font-size: 11px;
    color: var(--primary);
    opacity: 0.85;
}

/* Apply button */
.compact-apply {
    background: #eef2ff;
    color: #4f46e5;
    padding: 9px 22px;
    border-radius: 22px;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: lowercase;
    flex-shrink: 0;
    transition: all 0.15s;
    letter-spacing: 0.2px;
}

.compact-card:hover .compact-apply {
    background: #4f46e5;
    color: #fff;
}

/* ==========================================================
   COMPACT LIST — MOBILE
   ========================================================== */
@media (max-width: 700px) {
    .compact-list {
        gap: 8px;
    }

    .compact-card {
        padding: 14px 16px;
        border-radius: 12px;
        gap: 12px;
    }

    .compact-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 10px;
    }

    .compact-info h4 {
        font-size: 14.5px;
        margin-bottom: 4px;
    }

    .compact-meta {
        font-size: 12px;
        gap: 10px;
    }

    .compact-meta span {
        max-width: 120px;
    }

    .compact-apply {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .compact-meta span {
        max-width: 90px;
    }
    .compact-apply {
        padding: 7px 14px;
        font-size: 12.5px;
    }
}



/* ==========================================================
   APPLY PAGE
   ========================================================== */

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.15s;
}
.back-link:hover {
    background: #fff;
    color: var(--primary);
}

/* Alert icons */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert i { font-size: 16px; }

/* ==========================================================
   JOB DETAIL
   ========================================================== */
.job-detail {
    padding: 26px 28px;
}

.job-detail-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.job-logo-lg {
    width: 64px;
    height: 64px;
    font-size: 20px;
    border-radius: 14px;
}

.job-detail-headinfo { flex: 1; min-width: 200px; }

.job-detail-headinfo h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.4px;
}

.job-detail-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--text-soft);
}
.job-detail-sub .job-company {
    font-weight: 700;
    color: var(--primary);
}
.job-detail-sub .dot { color: var(--text-muted); }
.job-detail-sub i { font-size: 11px; margin-right: 3px; }

/* Info Grid */
.job-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 24px;
}

.jd-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.jd-info > i {
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 10px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.jd-info small {
    display: block;
    font-size: 11.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}
.jd-info strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
}

/* Sections */
.job-detail-section {
    padding: 20px 0;
    border-top: 1px solid var(--border);
}
.job-detail-section:first-of-type { border-top: none; padding-top: 0; }

.job-detail-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.job-detail-text {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.75;
}

/* Recruiter Box */
.recruiter-box {
    display: flex;
    align-items: center;
    gap: 14px;
}
.recruiter-box-info { min-width: 0; }
.recruiter-box-info strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.recruiter-box-info small {
    display: block;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.recruiter-link {
    font-size: 12.5px;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.recruiter-link:hover { text-decoration: underline; }

/* ==========================================================
   APPLY BOX
   ========================================================== */
.apply-box {
    padding: 24px 28px;
}

.apply-box-head { margin-bottom: 20px; }
.apply-box-head h2 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text);
}
.apply-box-head p {
    font-size: 13.5px;
    color: var(--text-soft);
}

.apply-form .form-group {
    margin-bottom: 18px;
}
.apply-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
}
.apply-form label i {
    color: var(--primary);
    font-size: 12.5px;
    width: 14px;
}
.apply-form label .opt {
    font-weight: 400;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-left: auto;
}

.apply-form .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: #f9fafb;
    outline: none;
    transition: all 0.15s;
}
.apply-form .form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,0,51,0.08);
}
.apply-form .form-control:disabled {
    background: #f1f5f9;
    color: var(--text-soft);
    cursor: not-allowed;
}

.apply-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.apply-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fef3c7;
    color: #92400e;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.apply-note i {
    font-size: 14px;
    color: #d97706;
    margin-top: 1px;
    flex-shrink: 0;
}

.btn-block-lg {
    width: 100%;
    justify-content: center;
    padding: 15px 22px;
    font-size: 15px;
    border-radius: 12px;
}

/* ==========================================================
   ALREADY APPLIED STATE
   ========================================================== */
.applied-state {
    text-align: center;
    padding: 20px 10px;
}
.applied-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #d1fae5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 16px;
}
.applied-state h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}
.applied-state p {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 16px;
}
.applied-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 22px;
}
.applied-status strong { font-weight: 700; }
.status-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.applied-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: var(--text);
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    transition: all 0.15s;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================================
   SIMILAR JOBS
   ========================================================== */
.similar-box .compact-card-flat {
    border: none;
    border-radius: 0;
    padding: 12px 18px;
    background: transparent;
}
.similar-box .compact-card-flat:hover {
    background: #f8fafc;
    transform: none;
    box-shadow: none;
}
.similar-box .compact-card-flat .compact-icon {
    width: 42px;
    height: 42px;
    font-size: 17px;
}
.similar-box .compact-card-flat .compact-info h4 {
    font-size: 14.5px;
}
.similar-box .compact-card-flat .compact-apply {
    padding: 7px 16px;
    font-size: 12.5px;
}

/* ==========================================================
   APPLY PAGE — MOBILE
   ========================================================== */
@media (max-width: 900px) {
    .job-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .job-detail {
        padding: 18px 16px;
        border-radius: 12px;
    }
    .job-detail-head {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }
    .job-logo-lg {
        width: 54px;
        height: 54px;
        font-size: 18px;
    }
    .job-detail-headinfo h1 { font-size: 19px; }
    .job-detail-sub { font-size: 12.5px; gap: 6px; }

    .job-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 16px;
        margin-bottom: 18px;
    }
    .jd-info > i { width: 34px; height: 34px; font-size: 13px; }
    .jd-info strong { font-size: 12.5px; }
    .jd-info small { font-size: 10.5px; }

    .job-detail-section { padding: 16px 0; }
    .job-detail-section h3 { font-size: 14px; }
    .job-detail-text { font-size: 13.5px; line-height: 1.7; }

    .apply-box { padding: 20px 16px; border-radius: 12px; }
    .apply-box-head h2 { font-size: 17px; }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .apply-form .form-control {
        padding: 11px 14px;
        font-size: 13.5px;
    }

    .btn-block-lg {
        padding: 14px;
        font-size: 14px;
    }

    .applied-icon { width: 60px; height: 60px; font-size: 26px; }
    .applied-state h2 { font-size: 19px; }
    .applied-actions { flex-direction: column; width: 100%; }
    .applied-actions .btn-primary,
    .applied-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .back-link { font-size: 12.5px; padding: 5px 10px; }
}

@media (max-width: 400px) {
    .job-detail-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================
   RootPlacement — AUTH PAGES (Login / Register)
   Desktop-first, fully responsive
   ========================================================== */

:root {
    --primary: #8B0033;
    --primary-dark: #6d0028;
    --primary-light: #fce4ec;
    --text: #0f172a;
    --text-soft: #475569;
    --text-muted: #94a3b8;
    --bg: #f1f5f9;
    --card: #ffffff;
    --border: #e2e8f0;
    --red: #ef4444;
    --green: #10b981;
    --blue: #2563eb;
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
    --radius: 14px;
}

/* ==========================================================
   PAGE WRAPPER
   ========================================================== */
/* ==========================================================
   PAGE WRAPPER (FIXED SCROLL)
   ========================================================== */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #8B0033 0%, #b3004a 50%, #6d0028 100%);
    display: flex;
    align-items: flex-start;      /* center → flex-start */
    justify-content: center;
    padding: 40px 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow-x: hidden;           /* sirf X hidden */
    overflow-y: auto;             /* Y scroll allow */
    -webkit-overflow-scrolling: touch;
}

/* Decorative circles */
.auth-page::before,
.auth-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.auth-page::before {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -120px;
}
.auth-page::after {
    width: 400px;
    height: 400px;
    bottom: -180px;
    left: -100px;
}

/* ==========================================================
   AUTH CARD
   ========================================================== */
.auth-container {
    position: relative;
    z-index: 1;
    background: #fff;
    width: 100%;
    max-width: 460px;
      margin: auto;     
    padding: 42px 40px 36px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: cardIn 0.4s ease-out;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================
   LOGO
   ========================================================== */
.auth-logo {
    text-align: center;
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.auth-logo::before {
    content: 'R';
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(139, 0, 51, 0.3);
}
.auth-logo span { color: var(--text); }

/* ==========================================================
   HEADING
   ========================================================== */
.auth-container h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: -0.4px;
}

.auth-sub {
    font-size: 13.5px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 26px;
    line-height: 1.5;
}

/* ==========================================================
   FORM
   ========================================================== */
.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
    letter-spacing: -0.1px;
}

.auth-form .form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 11px;
    background: #f9fafb;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: all 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.auth-form .form-control::placeholder {
    color: #b8bfcc;
    font-weight: 400;
}

.auth-form .form-control:hover {
    background: #f3f4f8;
    border-color: #d5dae3;
}

.auth-form .form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 0, 51, 0.10);
}

/* Select Arrow */
.auth-form select.form-control {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
    cursor: pointer;
}

/* ==========================================================
   BUTTON
   ========================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 14px 24px;
    border-radius: 11px;
    border: none;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 6px 18px rgba(139, 0, 51, 0.28);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(139, 0, 51, 0.38);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(139, 0, 51, 0.30);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
    margin-top: 8px;
}

/* ==========================================================
   ALERTS
   ========================================================== */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 11px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 18px;
    animation: alertIn 0.25s ease-out;
}

@keyframes alertIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.alert::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.alert-error::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/></svg>");
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.alert-success::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316a34a'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/></svg>");
}

/* ==========================================================
   FOOTER LINK
   ========================================================== */
.auth-footer {
    text-align: center;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--text-soft);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s;
}
.auth-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ==========================================================
   RESPONSIVE — Tablet
   ========================================================== */
@media (max-width: 640px) {
    .auth-page {
        padding: 24px 16px;
        align-items: flex-start;
        padding-top: 40px;
    }

    .auth-page::before {
        width: 320px;
        height: 320px;
        top: -140px;
        right: -80px;
    }
    .auth-page::after {
        width: 260px;
        height: 260px;
        bottom: -120px;
        left: -80px;
    }

    .auth-container {
        max-width: 100%;
        padding: 32px 24px 28px;
        border-radius: 16px;
    }

    .auth-logo { font-size: 22px; margin-bottom: 18px; }
    .auth-logo::before { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }

    .auth-container h2 { font-size: 21px; }
    .auth-sub { font-size: 13px; margin-bottom: 22px; }

    .auth-form .form-group { margin-bottom: 14px; }
    .auth-form label { font-size: 12.5px; }
    .auth-form .form-control {
        padding: 12px 14px;
        font-size: 14px; /* iOS zoom prevent */
        border-radius: 10px;
    }

    .btn-primary { padding: 13px 20px; font-size: 14px; border-radius: 10px; }

    .alert { padding: 12px 14px; font-size: 13px; }

    .auth-footer { margin-top: 18px; padding-top: 16px; font-size: 13px; }
}

/* ==========================================================
   RESPONSIVE — Small Mobile
   ========================================================== */
@media (max-width: 380px) {
    .auth-container { padding: 26px 20px 24px; }
    .auth-logo { font-size: 20px; }
    .auth-container h2 { font-size: 19px; }
    .auth-form .form-control { padding: 11px 13px; }
}

/* ==========================================================
   PASSWORD STRENGTH (Optional — agar use karo to)
   ========================================================== */
.pwd-strength {
    margin-top: 8px;
    height: 5px;
    border-radius: 3px;
    background: #e5e7eb;
    overflow: hidden;
}
.pwd-strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.25s, background 0.25s;
}
.pwd-strength-fill.weak   { width: 33%; background: #ef4444; }
.pwd-strength-fill.medium { width: 66%; background: #f59e0b; }
.pwd-strength-fill.strong { width: 100%; background: #10b981; }

/* ==========================================================
   PASSWORD TOGGLE (eye icon) — Optional
   ========================================================== */
.pwd-wrap {
    position: relative;
}
.pwd-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
    padding: 4px;
    transition: color 0.15s;
}
.pwd-toggle:hover { color: var(--primary); }

/* ==========================================================
   APPLICATIONS PAGE
   ========================================================== */

.application-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.application-card {
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--border);
    transition: all 0.2s;
}

.application-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

/* Status color accent */
.application-card.status-pending        { border-left-color: #f59e0b; }
.application-card.status-reviewed       { border-left-color: #3b82f6; }
.application-card.status-shortlisted    { border-left-color: #8b5cf6; }
.application-card.status-interview      { border-left-color: #06b6d4; }
.application-card.status-technical_test { border-left-color: #6366f1; }
.application-card.status-offered        { border-left-color: #10b981; }
.application-card.status-hired          { border-left-color: #059669; }
.application-card.status-rejected       { border-left-color: #ef4444; }
.application-card.status-withdrawn      { border-left-color: #94a3b8; }

/* Top row */
.app-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 10px;
    flex-wrap: wrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}
.status-pill i { font-size: 11px; }

.status-pill-pending        { background: #fef3c7; color: #92400e; }
.status-pill-reviewed       { background: #dbeafe; color: #1e40af; }
.status-pill-shortlisted    { background: #ede9fe; color: #5b21b6; }
.status-pill-interview      { background: #cffafe; color: #155e75; }
.status-pill-technical_test { background: #e0e7ff; color: #3730a3; }
.status-pill-offered        { background: #d1fae5; color: #065f46; }
.status-pill-hired          { background: #a7f3d0; color: #064e3b; }
.status-pill-rejected       { background: #fee2e2; color: #991b1b; }
.status-pill-withdrawn      { background: #f1f5f9; color: #475569; }

.app-date {
    font-size: 12.5px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.app-date i { font-size: 11px; }

/* Main: job info */
.app-main {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.app-job-info {
    flex: 1;
    min-width: 0;
}

.app-job-title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
    transition: color 0.15s;
}
.app-job-title:hover { color: var(--primary); }

.app-job-company {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-soft);
}
.app-job-company i {
    font-size: 11px;
    color: var(--text-muted);
}
.app-job-company a {
    font-weight: 600;
    transition: color 0.15s;
}
.app-job-company a:hover { color: var(--primary); }

/* Interview box */
.app-interview-box {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid #bfdbfe;
}
.app-interview-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.app-interview-info {
    flex: 1;
}
.app-interview-info strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 2px;
}
.app-interview-info span {
    display: block;
    font-size: 12.5px;
    color: #1e3a8a;
}
.app-interview-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    margin-top: 4px;
    text-decoration: none;
}
.app-interview-link:hover { text-decoration: underline; }

/* Feedback box */
.app-feedback {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-left: 3px solid var(--primary);
}
.app-feedback-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 700;
}
.app-feedback-head i { font-size: 12px; }
.app-feedback p {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

/* Meta row */
.app-meta {
    display: flex;
    gap: 24px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.app-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.app-meta-item small {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}
.app-meta-item strong {
    font-size: 13.5px;
    color: var(--text);
    font-weight: 700;
}

/* Footer actions */
.app-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-soft);
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}
.action-btn:hover {
    background: #f1f5f9;
    color: var(--primary);
}
.action-btn i { font-size: 13px; }
.action-btn-danger {
    color: var(--red);
}
.action-btn-danger:hover {
    background: #fee2e2;
    color: #991b1b;
}

/* Filter chips with count */
.app-filter-chips .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgba(0,0,0,0.08);
    font-size: 10.5px;
    font-weight: 700;
}
.chip.active .chip-count {
    background: rgba(255,255,255,0.25);
}

/* Empty state button margin */
.empty-state .btn-primary {
    display: inline-flex;
    text-decoration: none;
}

/* ==========================================================
   APPLICATIONS PAGE — MOBILE
   ========================================================== */
@media (max-width: 700px) {
    .application-card {
        padding: 14px 16px;
        border-radius: 12px;
    }

    .app-top {
        margin-bottom: 12px;
    }

    .app-main {
        gap: 12px;
        margin-bottom: 12px;
    }

    .app-job-title {
        font-size: 15.5px;
    }

    .app-job-company {
        font-size: 12.5px;
    }

    .app-meta {
        gap: 16px;
        padding: 10px 0;
    }
    .app-meta-item strong { font-size: 12.5px; }

    .app-footer {
        gap: 4px;
    }
    .action-btn {
        padding: 7px 10px;
        font-size: 12.5px;
        flex: 1;
        justify-content: center;
    }
    .app-footer form {
        margin-left: 0 !important;
        flex: 1;
    }
    .app-footer form .action-btn {
        width: 100%;
    }

    .app-interview-box {
        padding: 10px 12px;
    }
    .app-interview-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .app-filter-chips {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .app-filter-chips::-webkit-scrollbar { display: none; }
    .app-filter-chips .chip { flex-shrink: 0; }
}

/* ==========================================================
   SAVED JOBS PAGE
   ========================================================== */

.saved-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.saved-card {
    padding: 18px 20px;
    transition: all 0.2s;
}

.saved-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

/* Header */
.saved-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.saved-head-info {
    flex: 1;
    min-width: 0;
}

.saved-company {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    transition: color 0.15s;
}
.saved-company:hover { color: var(--primary); }

.saved-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.saved-meta i { font-size: 11px; }
.saved-meta .dot { color: var(--text-light); }

/* Unsave button (top right) */
.unsave-form { margin: 0; }

.btn-unsave {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-unsave:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

/* Body */
.saved-body {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.saved-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.35;
    letter-spacing: -0.2px;
    transition: color 0.15s;
}
.saved-title:hover { color: var(--primary); }

.saved-desc {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Deadline / Expired alerts */
.saved-deadline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef3c7;
    color: #92400e;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    margin-top: 12px;
}
.saved-deadline i { font-size: 12px; color: #d97706; }
.saved-deadline strong { font-weight: 700; }

.saved-expired {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: var(--text-soft);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    margin-top: 12px;
}
.saved-expired i { font-size: 12px; }

/* Footer */
.saved-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    gap: 12px;
    flex-wrap: wrap;
}

.saved-footer-left {
    display: flex;
    align-items: center;
}

.saved-time {
    font-size: 12.5px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.saved-time i { font-size: 11px; }

.saved-footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
}

/* Applied badge */
.applied-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
}
.applied-badge i { font-size: 12px; }

/* ==========================================================
   SAVED JOBS — MOBILE
   ========================================================== */
@media (max-width: 700px) {
    .saved-card {
        padding: 14px 16px;
        border-radius: 12px;
    }

    .saved-head {
        gap: 10px;
        margin-bottom: 12px;
    }

    .saved-title {
        font-size: 16px;
    }

    .saved-desc {
        font-size: 13px;
    }

    .btn-unsave {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .saved-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .saved-footer-left {
        order: 2;
        justify-content: center;
    }

    .saved-footer-right {
        order: 1;
        margin-left: 0;
        width: 100%;
    }

    .saved-footer-right .btn-apply,
    .saved-footer-right .action-btn,
    .saved-footer-right .applied-badge {
        flex: 1;
        justify-content: center;
    }

    .saved-deadline,
    .saved-expired {
        width: 100%;
    }
}


/* ==========================================================
   NETWORK / FOLLOWING PAGE
   ========================================================== */

/* Tabs */
.network-tabs {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 4px;
}

.network-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-soft);
    transition: all 0.18s;
    text-decoration: none;
}

.network-tab i { font-size: 14px; }

.network-tab:hover {
    background: #fff;
    color: var(--text);
}

.network-tab.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    background: #e2e8f0;
    color: var(--text-soft);
    font-size: 11.5px;
    font-weight: 700;
}

.network-tab.active .tab-count {
    background: var(--primary);
    color: #fff;
}

/* People list */
.people-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.person-card {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.person-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

/* Avatar */
.person-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.15s;
}
.person-avatar:hover { transform: scale(1.05); }
.person-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Info */
.person-info {
    flex: 1;
    min-width: 0;
}

.person-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.person-name {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text);
    transition: color 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.person-name:hover { color: var(--primary); }

.person-verified {
    color: #2563eb;
    font-size: 14px;
    flex-shrink: 0;
}

.person-role {
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.person-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-muted);
}

.person-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.person-meta i {
    font-size: 10.5px;
    color: var(--text-light);
}

.person-jobs {
    color: var(--primary) !important;
    font-weight: 600;
}
.person-jobs i { color: var(--primary); }

/* Actions */
.person-actions {
    flex-shrink: 0;
}

.btn-follow-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-follow-sm:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
.btn-follow-sm i { font-size: 11px; }

.btn-follow-sm.following {
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-follow-sm.following:hover {
    background: var(--primary-light);
}

/* Suggested section */
.suggest-section {
    margin-top: 4px;
}

.card-head-link {
    font-size: 12.5px;
    color: var(--primary);
    font-weight: 600;
}
.card-head-link:hover { text-decoration: underline; }

/* ==========================================================
   NETWORK PAGE — MOBILE
   ========================================================== */
@media (max-width: 700px) {
    .network-tabs {
        padding: 3px;
        gap: 3px;
    }
    .network-tab {
        padding: 9px 10px;
        font-size: 12.5px;
        gap: 5px;
    }
    .network-tab i { font-size: 13px; }
    .tab-count {
        min-width: 20px;
        height: 20px;
        font-size: 10.5px;
        padding: 0 6px;
    }

    .person-card {
        padding: 14px 16px;
        gap: 12px;
        border-radius: 12px;
    }

    .person-avatar {
        width: 48px;
        height: 48px;
        font-size: 15px;
    }

    .person-name {
        font-size: 14.5px;
    }

    .person-role {
        font-size: 12.5px;
    }

    .person-meta {
        font-size: 11.5px;
        gap: 10px;
    }

    .btn-follow-sm {
        padding: 7px 14px;
        font-size: 12px;
    }
    .btn-follow-sm i { font-size: 10px; }
}

@media (max-width: 480px) {
    .person-card {
        flex-wrap: wrap;
    }
    .person-info {
        flex-basis: calc(100% - 60px);
    }
    .person-actions {
        width: 100%;
        margin-top: 4px;
    }
    .person-actions form,
    .person-actions .btn-follow-sm {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================
   FOLLOWERS PAGE — extra styles
   ========================================================== */

/* Open to work badge on card */
.person-otw {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

/* Skills pills on card */
.person-skills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.person-skill {
    background: #f1f5f9;
    color: var(--text-soft);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* Actions column in followers card */
.person-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    flex-shrink: 0;
    min-width: 110px;
}

.btn-view-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 14px;
    background: #fff;
    color: var(--text-soft);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}
.btn-view-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Followed time */
.followed-time {
    color: var(--text-light) !important;
    font-size: 11.5px !important;
}
.followed-time i { font-size: 10px !important; }

/* Empty state button pairs */
.empty-state .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: var(--text);
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.15s;
}
.empty-state .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================================
   FOLLOWERS PAGE — MOBILE
   ========================================================== */
@media (max-width: 700px) {
    .person-card {
        flex-wrap: wrap;
        padding: 14px 16px;
    }
    .person-info {
        flex-basis: calc(100% - 60px);
    }
    .person-actions {
        flex-direction: row;
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
        margin-top: 6px;
        gap: 8px;
    }
    .person-actions form {
        flex: 1;
    }
    .person-actions .btn-follow-sm,
    .person-actions .btn-view-sm {
        width: 100%;
        justify-content: center;
    }
    .person-skills {
        margin-top: 6px;
    }
    .person-skill {
        font-size: 10.5px;
        padding: 2px 8px;
    }
    .person-otw {
        font-size: 9.5px;
        padding: 2px 6px;
    }
    .person-meta {
        font-size: 11.5px;
    }
}

/* ==========================================================
   PROFILE PAGE — Professional Redesign
   ========================================================== */

.profile-page {
    max-width: 1160px;
    margin: 0 auto;
}

.profile-hero {
    margin-bottom: 24px;
}

/* ==========================================================
   COVER
   ========================================================== */
.profile-cover-large {
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #8B0033 0%, #b3004a 60%, #6d0028 100%);
    position: relative;
}
.profile-cover-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-cover-large .cover-fallback {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 40%),
        linear-gradient(135deg, #8B0033 0%, #b3004a 60%, #6d0028 100%);
}

/* ==========================================================
   HEADER BOX
   ========================================================== */
.profile-header-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0 28px 24px;
    margin-top: -70px;
    position: relative;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.profile-avatar-large {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 800;
    border: 5px solid #fff;
    margin-top: -65px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.profile-avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-large span { color: #fff; }

.otw-dot {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.5);
}

/* Info */
.profile-header-info {
    flex: 1;
    padding-top: 20px;
    min-width: 260px;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.profile-name-row h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.verified-badge {
    color: #2563eb;
    font-size: 19px;
}
.otw-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 14px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.otw-pill i { font-size: 6px; color: #10b981; }

.profile-header-role {
    font-size: 15px;
    color: var(--text-soft);
    margin-bottom: 12px;
    font-weight: 500;
}
.profile-header-role strong { color: var(--text); font-weight: 700; }
.profile-header-role .dot { color: var(--text-muted); margin: 0 4px; }

.profile-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-soft);
}
.profile-header-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.profile-header-meta i {
    color: var(--text-muted);
    font-size: 12px;
}

.profile-header-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.stat-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-decoration: none;
    transition: transform 0.15s;
}
.stat-link:hover { transform: translateY(-1px); }
.stat-link strong {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.stat-link span {
    font-size: 11.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Actions */
.profile-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 20px;
    flex-wrap: wrap;
}

.btn-primary.btn-success {
    background: #10b981;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
}
.btn-primary.btn-success:hover {
    background: #059669;
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
}

.btn-primary.btn-following {
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    box-shadow: none;
}
.btn-primary.btn-following:hover {
    background: var(--primary-light);
    box-shadow: 0 4px 12px rgba(139, 0, 51, 0.1);
}

/* ==========================================================
   BODY LAYOUT
   ========================================================== */
.profile-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: flex-start;
}

.profile-main,
.profile-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==========================================================
   SECTION CARDS
   ========================================================== */
.profile-section {
    padding: 22px 24px;
}

.section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: -0.2px;
}

.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.section-head-row .section-title { margin-bottom: 0; }
.section-link {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.section-link:hover { text-decoration: underline; }

.section-text {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.75;
}
.section-empty {
    font-size: 13.5px;
    color: var(--text-muted);
    font-style: italic;
}

/* ==========================================================
   JOB LIST (recruiter profile)
   ========================================================== */
.profile-jobs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-job-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.15s;
}
.profile-job-row:hover {
    background: #f8fafc;
}

.profile-job-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.profile-job-info {
    flex: 1;
    min-width: 0;
}
.profile-job-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-job-info span {
    font-size: 12px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.profile-job-info span i { font-size: 10.5px; }
.profile-job-info .dot { color: var(--text-light); }

.profile-job-arrow {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.15s;
}
.profile-job-row:hover .profile-job-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* ==========================================================
   TIMELINE (Experience / Education)
   ========================================================== */
.timeline-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.timeline-content strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}
.timeline-sub {
    font-size: 13.5px;
    color: var(--text-soft);
    margin-bottom: 4px;
}
.timeline-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.timeline-meta i { font-size: 11px; }

/* ==========================================================
   SKILLS
   ========================================================== */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: #f1f5f9;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.15s;
}
.skill-chip i {
    color: var(--primary);
    font-size: 11.5px;
}
.skill-chip:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ==========================================================
   POSTS
   ========================================================== */
.profile-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.profile-post {
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}
.post-content {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.65;
    margin-bottom: 10px;
}
.post-meta {
    display: flex;
    gap: 18px;
    font-size: 12px;
    color: var(--text-muted);
}
.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.post-meta i { font-size: 12px; }

/* ==========================================================
   SIDE CARD
   ========================================================== */
.profile-side-card {
    padding: 20px 22px;
}
.profile-side-card h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.1px;
}

.side-card-head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.side-card-head-row h4 { margin-bottom: 0; }
.strength-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--green);
}

.side-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
.side-cta:hover { text-decoration: underline; }
.side-cta i { font-size: 11px; transition: transform 0.15s; }
.side-cta:hover i { transform: translateX(3px); }

.side-note {
    margin-top: 12px;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.success-note { color: #059669; }

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.info-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    flex-shrink: 0;
}
.info-row small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
    margin-bottom: 2px;
}
.info-row p {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    word-break: break-word;
}

/* Company Box */
.company-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.company-logo {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
}
.company-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-meta strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}
.company-link {
    font-size: 12.5px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.company-link:hover { text-decoration: underline; }
.company-desc {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.65;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* Links */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.link-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    background: #f8fafc;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: all 0.15s;
}
.link-row:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.link-row i:first-child {
    color: var(--primary);
    width: 16px;
}
.link-row span { flex: 1; }
.link-arrow {
    color: var(--text-muted) !important;
    font-size: 11px !important;
    width: auto !important;
}

/* Logout Card */
.logout-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: #fee2e2;
    color: #b91c1c;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
}
.logout-card:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

/* ==========================================================
   RESPONSIVE — Tablet
   ========================================================== */
@media (max-width: 1000px) {
    .profile-body {
        grid-template-columns: 1fr 300px;
    }
}

/* ==========================================================
   RESPONSIVE — Mobile
   ========================================================== */
@media (max-width: 800px) {
    .profile-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .profile-cover-large {
        height: 150px;
        border-radius: 12px;
    }

    .profile-header-box {
        padding: 0 18px 20px;
        margin-top: -50px;
        gap: 16px;
        border-radius: 14px;
    }

    .profile-avatar-large {
        width: 96px;
        height: 96px;
        font-size: 32px;
        border-width: 4px;
        margin-top: -48px;
    }

    .profile-header-info {
        padding-top: 8px;
        min-width: 0;
        flex-basis: 100%;
    }

    .profile-name-row h1 {
        font-size: 20px;
    }
    .verified-badge { font-size: 15px; }
    .otw-pill { font-size: 10px; padding: 3px 10px; }

    .profile-header-role {
        font-size: 13.5px;
        margin-bottom: 10px;
    }

    .profile-header-meta {
        font-size: 12px;
        gap: 12px;
        margin-bottom: 12px;
    }

    .profile-header-stats {
        gap: 14px;
        padding-top: 12px;
    }
    .stat-link strong { font-size: 15px; }
    .stat-link span { font-size: 10.5px; }
    .stat-divider { height: 26px; }

    .profile-header-actions {
        padding-top: 12px;
        width: 100%;
        gap: 8px;
    }
    .profile-header-actions form,
    .profile-header-actions .btn-primary,
    .profile-header-actions .btn-outline {
        flex: 1;
        justify-content: center;
    }

    .profile-section {
        padding: 18px;
        border-radius: 12px;
    }
    .section-title { font-size: 15px; }

    .timeline-icon,
    .profile-job-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .profile-side-card {
        padding: 18px;
        border-radius: 12px;
    }

    .skill-chip {
        font-size: 12px;
        padding: 7px 12px;
    }
}
/* ==========================================================
   PROFILE PAGE — Enhanced (Rich Sections)
   ========================================================== */

/* ==========================================================
   QUICK STATS BAR
   ========================================================== */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.qs-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.qs-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    border-color: #fbcfe8;
}

.qs-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.qs-icon-blue   { background: #dbeafe; color: #2563eb; }
.qs-icon-green  { background: #d1fae5; color: #059669; }
.qs-icon-purple { background: #ede9fe; color: #7c3aed; }
.qs-icon-orange { background: #fed7aa; color: #ea580c; }
.qs-icon-yellow { background: #fef3c7; color: #d97706; }

.qs-info strong {
    display: block;
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.qs-info span {
    font-size: 11.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

/* ==========================================================
   SECTION TITLE WITH ICON
   ========================================================== */
.section-title-icon {
    color: var(--primary);
    font-size: 15px;
    margin-right: 8px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
    margin-left: 8px;
}

.inline-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}
.inline-link:hover { text-decoration: underline; }

/* ==========================================================
   EMPTY CTA SECTION
   ========================================================== */
.empty-cta-section {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 24px;
    background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
    border: 1.5px dashed var(--border);
}

.empty-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.empty-cta-info {
    flex: 1;
}
.empty-cta-info h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}
.empty-cta-info p {
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 12px;
    line-height: 1.55;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12.5px;
}

/* ==========================================================
   JOB STATS (in job rows)
   ========================================================== */
.profile-job-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}
.profile-job-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.profile-job-stats i { font-size: 11px; }

/* ==========================================================
   REVIEWS
   ========================================================== */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding: 16px 18px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 3px solid #f59e0b;
}

.review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }

.review-meta strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
}
.star-filled { color: #f59e0b; }
.star-empty  { color: #d1d5db; }
.review-time {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-left: 8px;
}

.review-text {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 8px;
}

.review-pros,
.review-cons {
    font-size: 12.5px;
    padding: 6px 10px;
    border-radius: 8px;
    margin-top: 6px;
    line-height: 1.5;
}
.review-pros {
    background: #d1fae5;
    color: #065f46;
}
.review-pros strong { color: #047857; }
.review-cons {
    background: #fee2e2;
    color: #991b1b;
}
.review-cons strong { color: #b91c1c; }

/* ==========================================================
   SUGGESTED PEOPLE (compact)
   ========================================================== */
.suggest-list-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggest-row-compact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggest-avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.15s;
}
.suggest-avatar-sm:hover { transform: scale(1.05); }
.suggest-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

.suggest-info-sm {
    flex: 1;
    min-width: 0;
}
.suggest-info-sm strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.suggest-info-sm strong:hover { color: var(--primary); }
.suggest-info-sm small {
    font-size: 11.5px;
    color: var(--text-muted);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-follow-xs {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.15s;
    flex-shrink: 0;
}
.btn-follow-xs:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

/* ==========================================================
   RESPONSIVE — Quick Stats
   ========================================================== */
@media (max-width: 1000px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 18px;
    }
    .qs-card {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 12px;
    }
    .qs-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
    }
    .qs-info strong { font-size: 16px; }
    .qs-info span { font-size: 10.5px; }

    .empty-cta-section {
        padding: 18px;
        flex-direction: column;
        gap: 14px;
    }
    .empty-cta-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .review-item { padding: 14px; }
    .review-avatar { width: 36px; height: 36px; font-size: 12px; }

    .profile-job-stats {
        display: none;
    }
}

@media (max-width: 380px) {
    .quick-stats {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================
   EDIT PROFILE PAGE
   ========================================================== */

.edit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    flex-wrap: wrap;
}

.edit-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.back-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #f8fafc;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.15s;
    flex-shrink: 0;
}
.back-icon-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.edit-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin-bottom: 2px;
}
.edit-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.edit-save-top {
    display: inline-flex;
}

/* Form */
.edit-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.edit-section {
    padding: 24px 26px;
}

.edit-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.edit-section-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.edit-section-head h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.2px;
    margin-bottom: 3px;
}
.edit-section-head p {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* Form Grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-grid-2 .form-full {
    grid-column: 1 / -1;
}

.edit-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.edit-form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
}
.edit-form label .req {
    color: var(--red);
    font-size: 14px;
}

.edit-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #f9fafb;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: all 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}
.edit-form .form-control::placeholder {
    color: #b8bfcc;
    font-weight: 400;
}
.edit-form .form-control:hover {
    background: #f3f4f8;
    border-color: #d5dae3;
}
.edit-form .form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 0, 51, 0.10);
}

.edit-form select.form-control {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 42px;
    cursor: pointer;
}

.edit-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.field-hint {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Media Upload */
.media-upload-cover {
    margin-bottom: 22px;
    position: relative;
}

.cover-preview {
    height: 180px;
    background: linear-gradient(135deg, #8B0033, #b3004a);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cover-placeholder {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.cover-placeholder i { font-size: 32px; }
.cover-placeholder span { font-size: 13px; }

.btn-upload-cover {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    backdrop-filter: blur(10px);
    transition: all 0.15s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-upload-cover:hover {
    background: #fff;
    transform: translateY(-1px);
    color: var(--primary);
}

.media-upload-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 12px;
}

.profile-preview {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}
.profile-preview img { width: 100%; height: 100%; object-fit: cover; }

.profile-upload-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-upload-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    width: fit-content;
}
.btn-upload-profile:hover {
    background: var(--primary);
    color: #fff;
}

.upload-hint {
    font-size: 11.5px;
    color: var(--text-muted);
    margin: 0;
}

.file-input {
    display: none;
}

/* Resume Display */
.resume-display {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 11px;
    border: 1px solid var(--border);
    margin-top: 14px;
}

.resume-display-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.resume-display-info {
    flex: 1;
    min-width: 0;
}
.resume-display-info strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.resume-display-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-view-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #fff;
    color: var(--text-soft);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    flex-shrink: 0;
}
.btn-view-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Mobile Save Button */
.edit-submit-mobile {
    display: none;
    margin-top: 4px;
}

.btn-block-lg {
    width: 100%;
    justify-content: center;
    padding: 15px 22px;
    font-size: 15px;
    border-radius: 12px;
}

/* ==========================================================
   RESPONSIVE — Tablet
   ========================================================== */
@media (max-width: 900px) {
    .edit-section { padding: 20px 22px; }
    .form-grid-2 { gap: 16px; }
}

/* ==========================================================
   RESPONSIVE — Mobile
   ========================================================== */
@media (max-width: 700px) {
    .edit-header {
        padding: 14px 16px;
        gap: 12px;
    }
    .edit-header h1 { font-size: 18px; }
    .edit-sub { font-size: 12px; }
    .edit-save-top { display: none; }

    .edit-submit-mobile { display: block; }

    .edit-section {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .edit-section-head {
        padding-bottom: 16px;
        margin-bottom: 18px;
        gap: 12px;
    }
    .edit-section-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    .edit-section-head h3 { font-size: 15px; }
    .edit-section-head p { font-size: 12px; }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .edit-form .form-control {
        padding: 11px 14px;
        font-size: 14px;
    }

    .cover-preview { height: 140px; }
    .btn-upload-cover {
        padding: 8px 14px;
        font-size: 12px;
        bottom: 10px;
        right: 10px;
    }

    .media-upload-profile {
        padding: 14px;
        gap: 14px;
    }
    .profile-preview {
        width: 76px;
        height: 76px;
        font-size: 24px;
    }
    .btn-upload-profile {
        padding: 9px 14px;
        font-size: 12.5px;
    }

    .resume-display { padding: 12px 14px; gap: 12px; }
    .resume-display-icon { width: 40px; height: 40px; font-size: 17px; }
    .resume-display-info strong { font-size: 13px; }
    .btn-view-sm { font-size: 11.5px; padding: 6px 12px; }
}

@media (max-width: 380px) {
    .profile-preview { width: 68px; height: 68px; font-size: 22px; }
    .media-upload-profile { flex-direction: column; align-items: flex-start; }
}/* ==========================================================
   MODERN SUCCESS PAGE
   ========================================================== */

.modern-success {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 0 0 32px;
    overflow: hidden;
    animation: msFade 0.5s ease;
}

@keyframes msFade {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Top accent */
.ms-accent {
    height: 6px;
    background: linear-gradient(90deg, #8B0033 0%, #b3004a 50%, #10b981 100%);
}

/* Icon */
.ms-icon-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 40px 0 24px;
}

.ms-icon-bg {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
    animation: pulseBg 3s ease-in-out infinite;
}

@keyframes pulseBg {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0.5; }
}

.ms-icon {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 12px 32px rgba(16, 185, 129, 0.35),
        0 0 0 8px rgba(16, 185, 129, 0.08);
    animation: iconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards;
}

@keyframes iconPop {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

.ms-icon svg {
    width: 42px;
    height: 42px;
}

/* Heading */
.ms-head {
    text-align: center;
    padding: 0 32px;
    margin-bottom: 32px;
}

.ms-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}

.ms-eyebrow i {
    font-size: 6px;
    color: #10b981;
    animation: dotPulse 1.5s ease infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ms-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.6px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.ms-sub {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

.ms-sub strong {
    color: #0f172a;
    font-weight: 700;
}

/* Job mini card */
.ms-job {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin: 0 32px 24px;
}

.ms-job-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.ms-job-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #8B0033;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
    overflow: hidden;
}

.ms-job-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ms-job-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ms-job-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ms-job-meta {
    font-size: 12.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ms-job-appid {
    font-size: 12px;
    font-weight: 700;
    color: #8B0033;
    background: #fce4ec;
    padding: 6px 12px;
    border-radius: 20px;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

/* Stats row */
.ms-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 32px 24px;
}

.ms-stat {
    background: #fff;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.ms-stat-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.ms-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.ms-stat-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #059669 !important;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* Progress */
.ms-progress {
    margin: 0 32px 24px;
    padding: 22px 24px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.ms-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.ms-progress-step {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    background: #fff;
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.ms-track-wrap {
    position: relative;
    padding: 0 6px;
}

.ms-track {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 14px;
}

.ms-track-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.ms-nodes {
    display: flex;
    justify-content: space-between;
}

.ms-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.ms-node-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e2e8f0;
    transition: all 0.3s;
    position: relative;
}

.ms-node.done .ms-node-dot {
    background: #10b981;
    box-shadow: 0 0 0 1px #10b981, 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.ms-node.current .ms-node-dot {
    transform: scale(1.3);
    animation: nodePulse 2s infinite;
}

@keyframes nodePulse {
    0%, 100% { box-shadow: 0 0 0 1px #10b981, 0 0 0 4px rgba(16, 185, 129, 0.2); }
    50%      { box-shadow: 0 0 0 1px #10b981, 0 0 0 10px rgba(16, 185, 129, 0); }
}

.ms-node-label {
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: center;
    white-space: nowrap;
}

.ms-node.done .ms-node-label { color: #0f172a; }
.ms-node.current .ms-node-label { color: #059669; font-weight: 800; }

.ms-rejected {
    margin-top: 16px;
    padding: 10px 14px;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 10px;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    border: 1px solid #fecaca;
}

/* Next steps */
.ms-next {
    margin: 0 32px 28px;
    padding: 22px 24px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.ms-next-title {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.ms-next-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
}

.ms-next-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    color: #8B0033;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.ms-next-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ms-next-text strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.ms-next-text span {
    font-size: 12.5px;
    color: #64748b;
}

/* Actions */
.ms-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 32px;
    flex-wrap: wrap;
}

.ms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
    border: none;
    font-family: inherit;
}

.ms-btn-primary {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.ms-btn-primary:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.ms-btn-primary i {
    transition: transform 0.2s;
}

.ms-btn-primary:hover i {
    transform: translateX(3px);
}

.ms-btn-ghost {
    background: #fff;
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
}

.ms-btn-ghost:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.ms-icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s;
}

.ms-icon-btn:hover {
    border-color: #8B0033;
    color: #8B0033;
    background: #fce4ec;
}

/* ==========================================================
   MODERN JOB DETAIL (before applying)
   ========================================================== */

.modern-job {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
}

.mj-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.mj-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #8B0033;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(139, 0, 51, 0.15);
}

.mj-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mj-head-info { flex: 1; min-width: 0; }

.mj-head-info h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.mj-sub {
    font-size: 13.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mj-dot { color: #cbd5e1; }

.mj-urgent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    color: #dc2626;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.mj-urgent i { font-size: 11px; }

/* Chips */
.mj-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}

.mj-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mj-chip span {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.mj-chip strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sections */
.mj-section {
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
}

.mj-section:first-of-type { border-top: none; padding-top: 0; }

.mj-section h3 {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.mj-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.75;
}

/* Recruiter */
.mj-recruiter {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mj-recruiter-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mj-recruiter-info strong {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.mj-recruiter-info span {
    font-size: 12.5px;
    color: #64748b;
}

.mj-recruiter-info a {
    font-size: 12.5px;
    color: #8B0033;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
}

.mj-recruiter-info a:hover { text-decoration: underline; }

/* ==========================================================
   MODERN APPLY FORM
   ========================================================== */

.modern-apply {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
}

.ma-head {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.ma-head h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.ma-head p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
}

.ma-form { display: flex; flex-direction: column; gap: 20px; }

.ma-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ma-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ma-field label {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ma-opt {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ma-input,
.ma-textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    background: #f8fafc;
    font-family: inherit;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    transition: all 0.18s ease;
}

.ma-input::placeholder,
.ma-textarea::placeholder {
    color: #94a3b8;
}

.ma-input:hover,
.ma-textarea:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.ma-input:focus,
.ma-textarea:focus {
    background: #fff;
    border-color: #8B0033;
    box-shadow: 0 0 0 4px rgba(139, 0, 51, 0.08);
}

.ma-input:disabled {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
    opacity: 0.85;
}

.ma-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.ma-note {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0fdf4;
    color: #166534;
    padding: 12px 16px;
    border-radius: 11px;
    font-size: 12.5px;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

.ma-note i {
    font-size: 14px;
    color: #16a34a;
    flex-shrink: 0;
}

.ma-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #0f172a;
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

.ma-submit:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.3);
}

.ma-submit i {
    transition: transform 0.2s;
}

.ma-submit:hover i {
    transform: translateX(4px);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
    .modern-job, .modern-apply { padding: 26px; }
}

@media (max-width: 700px) {
    .modern-success {
        border-radius: 16px;
        padding-bottom: 24px;
    }

    .ms-icon-wrap { margin: 32px 0 20px; }
    .ms-icon { width: 72px; height: 72px; }
    .ms-icon svg { width: 34px; height: 34px; }
    .ms-icon-bg { width: 110px; height: 110px; }

    .ms-head { padding: 0 22px; margin-bottom: 26px; }
    .ms-title { font-size: 22px; }
    .ms-sub { font-size: 13.5px; }

    .ms-job {
        margin: 0 22px 20px;
        padding: 14px 16px;
        gap: 12px;
    }
    .ms-job-logo { width: 42px; height: 42px; font-size: 14px; }
    .ms-job-title { font-size: 13.5px; }
    .ms-job-meta { font-size: 11.5px; }
    .ms-job-appid { font-size: 11px; padding: 5px 10px; }

    .ms-stats {
        margin: 0 22px 20px;
        grid-template-columns: 1fr;
    }
    .ms-stat {
        padding: 12px 14px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    .ms-stat-label { font-size: 11px; }
    .ms-stat-value { font-size: 13px; }

    .ms-progress { margin: 0 22px 20px; padding: 18px 16px; }
    .ms-progress-head { font-size: 12.5px; margin-bottom: 16px; }
    .ms-nodes { padding-top: 4px; }
    .ms-node-label { font-size: 9.5px; }
    .ms-node-dot { width: 10px; height: 10px; }

    .ms-next { margin: 0 22px 24px; padding: 18px 16px; }
    .ms-next-icon { width: 34px; height: 34px; font-size: 13px; }
    .ms-next-text strong { font-size: 13px; }
    .ms-next-text span { font-size: 12px; }

    .ms-actions {
        padding: 0 22px;
        flex-direction: column;
        gap: 10px;
    }
    .ms-btn { width: 100%; padding: 14px 20px; }
    .ms-icon-btn { width: 100%; height: 48px; }

    /* Job detail */
    .modern-job { padding: 22px 20px; }
    .mj-head { gap: 14px; padding-bottom: 18px; margin-bottom: 18px; }
    .mj-logo { width: 52px; height: 52px; font-size: 18px; border-radius: 14px; }
    .mj-head-info h1 { font-size: 19px; }
    .mj-sub { font-size: 12.5px; }

    .mj-chips { grid-template-columns: 1fr 1fr; gap: 8px; }
    .mj-chip { padding: 10px 12px; border-radius: 10px; }
    .mj-chip strong { font-size: 12.5px; }
    .mj-chip span { font-size: 10.5px; }

    .mj-section { padding: 16px 0; }
    .mj-section h3 { font-size: 14px; }
    .mj-text { font-size: 13.5px; }

    /* Apply form */
    .modern-apply { padding: 22px 20px; }
    .ma-head { margin-bottom: 22px; padding-bottom: 16px; }
    .ma-head h2 { font-size: 18px; }
    .ma-head p { font-size: 12.5px; }

    .ma-row { grid-template-columns: 1fr; gap: 0; }
    .ma-row .ma-field { margin-bottom: 16px; }

    .ma-input, .ma-textarea { padding: 12px 14px; font-size: 14px; }
    .ma-submit { padding: 15px 20px; font-size: 14.5px; }
}

@media (max-width: 400px) {
    .ms-title { font-size: 20px; }
    .ms-job { flex-direction: column; align-items: flex-start; gap: 10px; }
    .ms-job-appid { align-self: flex-start; }
}
.create-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #eef4ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.create-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.create-avatar i {
    font-size: 18px;
}
/* ==========================================================
   NOTIFICATIONS PAGE
   ========================================================== */

/* Header */
.notif-header {
    padding: 22px 26px 0;
    overflow: hidden;
}

.notif-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    flex-wrap: wrap;
}

.notif-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.4px;
    margin-bottom: 4px;
}

.notif-header-sub {
    font-size: 13.5px;
    color: var(--text-muted);
}
.notif-header-sub strong {
    color: var(--primary);
    font-weight: 800;
}

.btn-mark-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    color: var(--text);
    border: 1.5px solid var(--border);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.btn-mark-all:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.btn-mark-all i { font-size: 12px; }

/* Tabs */
.notif-tabs {
    display: flex;
    gap: 4px;
    margin: 0 -26px;
    padding: 0 26px;
    border-top: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}
.notif-tabs::-webkit-scrollbar { display: none; }

.notif-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 14px 4px 12px;
    margin-right: 22px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.15s;
    position: relative;
}

.notif-tab:hover {
    color: var(--text);
}

.notif-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 700;
}

.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 700;
}

.notif-tab.active .tab-badge {
    background: var(--primary);
    color: #fff;
}

.tab-badge-red {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

.notif-tab.active .tab-badge-red {
    background: #dc2626 !important;
    color: #fff !important;
}

/* Notifications list */
.notif-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notif-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.2s;
    position: relative;
}

.notif-item:hover {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border-color: #fbcfe8;
}

.notif-item.unread {
    background: linear-gradient(90deg, #fff 0%, #fef9fb 100%);
    border-left: 3px solid var(--primary);
    padding-left: 18px;
}

/* Icon */
.notif-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    position: relative;
}

.notif-icon-blue   { background: #dbeafe; color: #2563eb; }
.notif-icon-purple { background: #ede9fe; color: #7c3aed; }
.notif-icon-gold   { background: #fef3c7; color: #d97706; }
.notif-icon-cyan   { background: #cffafe; color: #0891b2; }
.notif-icon-green  { background: #d1fae5; color: #059669; }
.notif-icon-maroon { background: #fce4ec; color: #8B0033; }
.notif-icon-orange { background: #fed7aa; color: #ea580c; }
.notif-icon-red    { background: #fee2e2; color: #dc2626; }
.notif-icon-gray   { background: #f1f5f9; color: #64748b; }

.unread-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: notifPulse 2s infinite;
}

@keyframes notifPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* Body */
.notif-body {
    flex: 1;
    min-width: 0;
}

.notif-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.notif-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin: 0;
}

.notif-item.unread .notif-title {
    font-weight: 800;
}

.notif-time {
    font-size: 11.5px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.notif-time i { font-size: 10px; }

.notif-msg {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Actions */
.notif-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.notif-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    text-decoration: none;
}

.notif-action-link:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
}

.notif-action-link i { font-size: 11px; }

.notif-action-delete:hover {
    border-color: #dc2626 !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 700px) {
    .notif-header {
        padding: 18px 18px 0;
    }

    .notif-header h1 { font-size: 19px; }
    .notif-header-sub { font-size: 12.5px; }

    .btn-mark-all {
        padding: 9px 14px;
        font-size: 12.5px;
        width: 100%;
        justify-content: center;
    }

    .notif-tabs {
        margin: 0 -18px;
        padding: 0 18px;
        gap: 0;
    }
    .notif-tab {
        padding: 12px 0 10px;
        margin-right: 18px;
        font-size: 13px;
    }
    .tab-badge {
        min-width: 20px;
        height: 18px;
        font-size: 10.5px;
    }

    .notif-item {
        padding: 14px 16px;
        gap: 12px;
        border-radius: 12px;
    }
    .notif-item.unread {
        padding-left: 14px;
        border-left-width: 3px;
    }

    .notif-icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
        border-radius: 10px;
    }

    .notif-title { font-size: 13.5px; }
    .notif-time { font-size: 11px; }
    .notif-msg { font-size: 12.5px; margin-bottom: 8px; }

    .notif-action-link {
        padding: 6px 10px;
        font-size: 11.5px;
    }
}

@media (max-width: 400px) {
    .notif-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    .notif-actions {
        gap: 4px;
    }
    .notif-action-link {
        padding: 5px 8px;
        font-size: 11px;
    }
}.welcome-banner {
    position: relative;   /* ← add karo agar nahi hai */
    /* baaki existing styles same rahenge */
}

.banner-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.15s;
    backdrop-filter: blur(6px);
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}
/* ==========================================================
   MESSAGES PAGE
   ========================================================== */

.messages-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Header */
.msg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}

.msg-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.msg-unread-badge {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

/* Conversations List */
.conv-list {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.conv-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border);
    transition: all 0.15s;
    position: relative;
}

.conv-item:last-child { border-bottom: none; }

.conv-item:hover {
    background: #f8fafc;
}

.conv-item.unread {
    background: linear-gradient(90deg, #fff 0%, #fef9fb 100%);
}

.conv-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.conv-avatar img { width: 100%; height: 100%; object-fit: cover; }

.conv-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid #fff;
}

.conv-info {
    flex: 1;
    min-width: 0;
}

.conv-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    gap: 10px;
}

.conv-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-item.unread .conv-name {
    font-weight: 800;
    color: var(--primary);
}

.conv-time {
    font-size: 11.5px;
    color: var(--text-muted);
    flex-shrink: 0;
    font-weight: 500;
}

.conv-row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.conv-preview {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.conv-item.unread .conv-preview {
    color: var(--text);
    font-weight: 500;
}

.conv-badge {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================
   ACTIVE CHAT VIEW
   ========================================================== */

.chat-view {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--navbar-h) - 90px);
    min-height: 500px;
    overflow: hidden;
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    background: #fff;
    flex-shrink: 0;
}

.chat-back {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--text);
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.15s;
}

.chat-back:hover { background: var(--primary-light); color: var(--primary); }

.chat-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    overflow: hidden;
    text-decoration: none;
}

.chat-user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.chat-user-info {
    flex: 1;
    min-width: 0;
}

.chat-user-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-user-name:hover { color: var(--primary); }

.chat-user-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.status-dot-online {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: statusPulse 1.5s infinite;
}

.chat-header-actions {
    display: flex;
    gap: 6px;
}

.chat-header-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.15s;
}

.chat-header-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Chat Body */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 4px;
    scroll-behavior: smooth;
}

.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* Empty State */
.chat-empty {
    text-align: center;
    margin: auto;
    padding: 30px 20px;
}

.chat-empty-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.chat-empty h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 5px;
}

.chat-empty p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Date Divider */
.chat-date-divider {
    text-align: center;
    margin: 14px 0 8px;
}

.chat-date-divider span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Message Bubble */
.chat-msg {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 4px;
    max-width: 75%;
    animation: msgIn 0.2s ease-out;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.chat-msg.mine {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg.theirs {
    align-self: flex-start;
}

.chat-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    margin-bottom: 16px;
}

.chat-msg-avatar img { width: 100%; height: 100%; object-fit: cover; }

.chat-msg-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.chat-msg.mine .chat-msg-content { align-items: flex-end; }

.chat-msg-bubble {
    padding: 10px 15px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-word;
}

.chat-msg.theirs .chat-msg-bubble {
    background: #fff;
    color: var(--text);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.chat-msg.mine .chat-msg-bubble {
    background: linear-gradient(135deg, var(--primary), #a0003a);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(139, 0, 51, 0.2);
}

.chat-msg-meta {
    font-size: 10.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
}

.chat-msg-check {
    font-size: 10px;
    color: #94a3b8;
}

.chat-msg.mine .chat-msg-check {
    color: #64748b;
}

.chat-msg.mine .chat-msg-check.fa-check-double {
    color: #10b981;
}

/* Chat Input */
.chat-input-form {
    padding: 14px 18px;
    background: #fff;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.chat-input-wrap {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 6px 6px 6px 16px;
    transition: all 0.15s;
}

.chat-input-wrap:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 0, 51, 0.08);
}

.chat-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    outline: none;
    resize: none;
    padding: 6px 0;
    max-height: 120px;
    line-height: 1.45;
}

.chat-input::placeholder { color: #94a3b8; }

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.15s;
    box-shadow: 0 4px 12px rgba(139, 0, 51, 0.25);
}

.chat-send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(139, 0, 51, 0.35);
}

/* ==========================================================
   MESSAGES RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
    .messages-layout {
        grid-template-columns: 240px 1fr;
    }
    .messages-layout .sidebar-right { display: none; }
}

@media (max-width: 768px) {
    .messages-layout {
        grid-template-columns: 1fr;
    }
    .messages-layout .sidebar-left { display: none; }

    .chat-view {
        height: calc(100vh - var(--navbar-h) - 60px);
        border-radius: 12px;
        min-height: 400px;
    }

    .chat-back {
        display: flex;
    }

    .chat-body {
        padding: 14px 14px;
    }

    .chat-msg {
        max-width: 85%;
    }

    .chat-input-form {
        padding: 10px 12px;
    }
}

@media (max-width: 400px) {
    .conv-item { padding: 12px 14px; gap: 12px; }
    .conv-avatar { width: 46px; height: 46px; font-size: 14px; }
    .conv-name { font-size: 13.5px; }
    .conv-preview { font-size: 12.5px; }
    .msg-header h1 { font-size: 20px; }
}
/* ==========================================================
   RECRUITER DASHBOARD — Image Match Design
   ========================================================== */

/* Header */
.rd-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 4px 2px;
}

.rd-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(139, 0, 51, 0.25);
    flex-shrink: 0;
}

.rd-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.4px;
}

/* Grid */
.rd-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

/* Card */
.rd-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 110px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.rd-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.rd-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: auto;
}

.rd-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    backdrop-filter: blur(8px);
}

.rd-card-arrow {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

.rd-card-body {
    margin-top: 14px;
}

.rd-card-value {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.rd-card-label {
    font-size: 12.5px;
    font-weight: 600;
    opacity: 0.95;
}

/* Card Colors */
.rd-blue   { background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%); }
.rd-green  { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.rd-red    { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); }
.rd-purple { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.rd-orange { background: linear-gradient(135deg, #f97316 0%, #c2410c 100%); }
.rd-yellow { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.rd-teal   { background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%); }
.rd-pink   { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }

/* Section */
.rd-section {
    margin-bottom: 24px;
}

.rd-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 2px;
}

.rd-section-head h2 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.2px;
}

.rd-section-head a {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rd-section-head a i {
    font-size: 9px;
}

/* Posts */
.rd-posts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rd-post {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.18s;
}

.rd-post:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(139, 0, 51, 0.08);
}

.rd-post-rank {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(139, 0, 51, 0.22);
}

.rd-post-info {
    flex: 1;
    min-width: 0;
}

.rd-post-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rd-post-stats {
    display: flex;
    gap: 14px;
}

.rd-post-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-soft);
    font-weight: 600;
}

.rd-post-stats i {
    font-size: 11px;
}

/* Manage */
.rd-manage {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rd-manage-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.18s;
}

.rd-manage-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(139, 0, 51, 0.06);
}

.rd-manage-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.rd-manage-blue   { background: #dbeafe; color: #2563eb; }
.rd-manage-orange { background: #fed7aa; color: #ea580c; }
.rd-manage-pink   { background: #fce7f3; color: #db2777; }
.rd-manage-gray   { background: #f1f5f9; color: #64748b; }

.rd-manage-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rd-manage-info strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.rd-manage-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.rd-manage-arrow {
    font-size: 12px;
    color: #cbd5e1;
    transition: all 0.2s;
}

.rd-manage-item:hover .rd-manage-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* ==========================================================
   MOBILE (image jaisa)
   ========================================================== */
@media (max-width: 700px) {
    .rd-header {
        margin-bottom: 16px;
        gap: 10px;
    }

    .rd-header-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 11px;
    }

    .rd-header h1 {
        font-size: 19px;
    }

    .rd-grid {
        gap: 10px;
        margin-bottom: 20px;
    }

    .rd-card {
        padding: 14px;
        min-height: 100px;
        border-radius: 14px;
    }

    .rd-card-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 9px;
    }

    .rd-card-value {
        font-size: 22px;
        margin-bottom: 3px;
    }

    .rd-card-label {
        font-size: 11.5px;
    }

    .rd-card-body {
        margin-top: 12px;
    }

    .rd-section-head h2 {
        font-size: 14px;
    }

    .rd-section-head a {
        font-size: 12px;
    }

    .rd-post,
    .rd-manage-item {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 12px;
    }

    .rd-post-rank {
        width: 38px;
        height: 38px;
        font-size: 15px;
        border-radius: 10px;
    }

    .rd-post-title {
        font-size: 13px;
    }

    .rd-post-stats {
        gap: 12px;
    }

    .rd-post-stats span {
        font-size: 11px;
    }

    .rd-manage-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 11px;
    }

    .rd-manage-info strong {
        font-size: 13px;
    }

    .rd-manage-info span {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .rd-grid {
        gap: 8px;
    }
    .rd-card {
        padding: 12px;
        min-height: 95px;
    }
    .rd-card-value {
        font-size: 20px;
    }
    .rd-card-label {
        font-size: 11px;
    }
}
/* ==========================================================
   JOB POSTS PAGE (Recruiter)
   ========================================================== */

/* Header */
.jp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.jp-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.jp-header-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(139, 0, 51, 0.25);
    flex-shrink: 0;
}

.jp-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.jp-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Tabs */
.jp-tabs {
    display: flex;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 6px;
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}
.jp-tabs::-webkit-scrollbar { display: none; }

.jp-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s;
}

.jp-tab:hover {
    background: #f8fafc;
    color: var(--text);
}

.jp-tab.active {
    background: var(--primary);
    color: #fff;
}

.jp-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 700;
}

.jp-tab.active .jp-tab-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Search */
.jp-search {
    margin-bottom: 16px;
}

.jp-search-wrap {
    position: relative;
    max-width: 480px;
}

.jp-search-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.jp-search-wrap input {
    width: 100%;
    padding: 12px 42px 12px 42px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: all 0.18s;
}

.jp-search-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 0, 51, 0.08);
}

.jp-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    transition: all 0.15s;
}
.jp-search-clear:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* List */
.jp-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card */
.jp-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    transition: all 0.2s;
}

.jp-card:hover {
    border-color: #fbcfe8;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.jp-card-logo {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.jp-card-info {
    flex: 1;
    min-width: 0;
}

.jp-card-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.jp-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: color 0.15s;
    line-height: 1.3;
}
.jp-card-title:hover { color: var(--primary); }

.jp-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.jp-status-published { background: #d1fae5; color: #065f46; }
.jp-status-draft     { background: #fef3c7; color: #92400e; }
.jp-status-closed    { background: #f1f5f9; color: #475569; }
.jp-status-filled    { background: #dbeafe; color: #1e40af; }
.jp-status-expired   { background: #fee2e2; color: #991b1b; }

.jp-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.jp-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.jp-card-meta i { font-size: 11px; }
.jp-dot { color: #cbd5e1; }

/* Stats */
.jp-card-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.jp-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-soft);
    font-weight: 600;
}

.jp-stat i {
    font-size: 11px;
    color: var(--text-muted);
}

.jp-stat strong {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text);
}

.jp-stat small {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.jp-stat-pending {
    background: #fef3c7;
    border-color: #fde68a;
}
.jp-stat-pending i,
.jp-stat-pending strong { color: #92400e; }
.jp-stat-pending small { color: #a16207; }

/* Actions */
.jp-card-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.jp-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}

.jp-action-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.jp-action-close:hover {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.jp-action-open:hover {
    background: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.jp-action-delete:hover {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 700px) {
    .jp-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .jp-header-icon {
        width: 42px;
        height: 42px;
        font-size: 17px;
        border-radius: 11px;
    }

    .jp-header h1 { font-size: 19px; }
    .jp-header p { font-size: 12px; }
    .jp-header .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 11px;
        font-size: 13px;
    }

    .jp-tabs { padding: 4px; gap: 2px; }
    .jp-tab {
        padding: 8px 10px;
        font-size: 12px;
    }
    .jp-tab-badge {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .jp-card {
        padding: 14px;
        gap: 12px;
        border-radius: 14px;
        flex-wrap: wrap;
    }

    .jp-card-logo {
        width: 44px;
        height: 44px;
        font-size: 17px;
        border-radius: 11px;
    }

    .jp-card-info {
        flex-basis: calc(100% - 60px);
    }

    .jp-card-title { font-size: 14.5px; }
    .jp-card-meta { font-size: 11.5px; gap: 6px; }

    .jp-stat {
        padding: 4px 10px;
        font-size: 11px;
    }
    .jp-stat strong { font-size: 11.5px; }

    .jp-card-actions {
        flex-direction: row;
        flex-basis: 100%;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 4px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }

    .jp-action-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
        flex: 1;
        max-width: 60px;
    }
}

@media (max-width: 400px) {
    .jp-card-stats { gap: 6px; }
    .jp-stat small { display: none; }
    .jp-stat { padding: 4px 8px; }
}/* ==========================================================
   POST JOB PAGE (Recruiter)
   ========================================================== */

.pj-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pj-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pj-back {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.15s;
}
.pj-back:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.pj-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.pj-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Form */
.pj-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Section Card */
.pj-section {
    padding: 22px 24px;
}

.pj-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.pj-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.pj-section-head h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
}
.pj-section-head p {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* Grid */
.pj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.pj-full { grid-column: 1 / -1; }

/* Field */
.pj-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.pj-flex-center { justify-content: center; }

.pj-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pj-req {
    color: var(--red);
    font-size: 14px;
}

.pj-input {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #f9fafb;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: all 0.18s;
    -webkit-appearance: none;
    appearance: none;
}
.pj-input::placeholder { color: #b8bfcc; }
.pj-input:hover { background: #f3f4f8; border-color: #d5dae3; }
.pj-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 0, 51, 0.08);
}

.pj-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.pj-select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 42px;
    cursor: pointer;
}

.pj-hint {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* Job Type Tabs */
.pj-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pj-tab-option {
    position: relative;
    cursor: pointer;
}
.pj-tab-option input { display: none; }

.pj-tab-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 11px;
    background: #f9fafb;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
    transition: all 0.15s;
}
.pj-tab-option span i { font-size: 13px; }

.pj-tab-option:hover span {
    background: #f3f4f8;
    border-color: #cbd5e1;
}

.pj-tab-option input:checked + span {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}

/* Checkbox */
.pj-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
}

.pj-checkbox:hover {
    background: #f3f4f8;
    border-color: #cbd5e1;
}

.pj-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.pj-checkbox-urgent span i {
    color: #dc2626;
    margin-right: 3px;
}

/* Mobile submit */
.pj-submit-mobile {
    display: none;
}

.btn-block-lg {
    width: 100%;
    justify-content: center;
    padding: 15px 22px;
    font-size: 15px;
    border-radius: 12px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 700px) {
    .pj-header {
        gap: 12px;
        margin-bottom: 16px;
    }
    .pj-header h1 { font-size: 18px; }
    .pj-header p { font-size: 12px; }
    .pj-save-top { display: none; }

    .pj-back {
        width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 10px;
    }

    .pj-section {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .pj-section-head {
        padding-bottom: 14px;
        margin-bottom: 16px;
        gap: 12px;
    }

    .pj-section-icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
        border-radius: 10px;
    }

    .pj-section-head h3 { font-size: 14px; }
    .pj-section-head p { font-size: 12px; }

    .pj-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pj-input {
        padding: 11px 14px;
        font-size: 14px;
    }

    .pj-textarea { min-height: 90px; }

    .pj-tabs {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .pj-tab-option span {
        padding: 11px 12px;
        font-size: 13px;
    }

    .pj-checkbox {
        padding: 11px 12px;
        font-size: 13px;
    }

    .pj-submit-mobile {
        display: block;
        margin-top: 4px;
    }
}

@media (max-width: 400px) {
    .pj-section { padding: 16px 14px; }
    .pj-header h1 { font-size: 17px; }
    .pj-checkbox { font-size: 12.5px; }
}
