/* ============================================================
   SIM SDM - Sistem Informasi Manajemen Karyawan
   Main Stylesheet (Modular Corporate Theme)
   ============================================================ */

/* Variables */
:root {
    --primary:        #1e40af; /* Corporate Blue */
    --primary-dark:   #1e3a8a;
    --primary-light:  #eff6ff;
    --secondary:      #059669; /* Emerald Green */
    --secondary-dark: #047857;
    --danger:         #dc2626;
    --warning:        #d97706;
    --info:           #0284c7;
    --dark:           #1e293b;
    --dark-surface:   #0f172a;
    --gray:           #64748b;
    --gray-light:     #f1f5f9;
    --light:          #f8fafc;
    --sidebar-w:      260px;
    --navbar-h:       60px;
    --shadow-sm:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow:         0 4px 12px rgba(0,0,0,.06);
    --shadow-lg:      0 10px 25px rgba(0,0,0,.1);
    --radius:         8px;
    --radius-lg:      12px;
    --transition:     .25s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #334155;
    background: var(--light);
    line-height: 1.5;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

.text-muted   { color: var(--gray) !important; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-left    { text-align: left; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--secondary) !important; }
.text-danger  { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info    { color: var(--info) !important; }
.fw-bold      { font-weight: 700; }
.fw-semibold  { font-weight: 600; }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    padding: 20px;
}
.login-wrapper { width: 100%; max-width: 440px; }
.login-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,.35);
    padding: 40px 36px;
}
.login-header { text-align: center; margin-bottom: 28px; }
.login-header .brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 16px;
    font-size: 2rem;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(30,64,175,.3);
}
.login-header h1 { font-size: 1.7rem; color: var(--dark); font-weight: 700; letter-spacing: -0.5px; }
.login-header p { color: var(--gray); font-size: .9rem; margin-top: 4px; }
.login-footer { text-align: center; margin-top: 24px; color: var(--gray); font-size: .85rem; }

/* Form Controls */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: #334155; font-size: .88rem; }
.form-control {
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius);
    font-size: .92rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: #fff;
    color: #1e293b;
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,64,175,.15);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }
.input-group {
    display: flex;
    position: relative;
    width: 100%;
}
.input-password { position: relative; }
.input-password .form-control { padding-right: 42px; }
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray);
}
.toggle-password:hover { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}
.btn:hover { opacity: .95; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.btn:active { transform: translateY(0); }
.btn-primary   { background: var(--primary);   color: #fff; }
.btn-secondary { background: var(--gray);      color: #fff; }
.btn-success   { background: var(--secondary); color: #fff; }
.btn-danger    { background: var(--danger);    color: #fff; }
.btn-warning   { background: var(--warning);   color: #fff; }
.btn-info      { background: var(--info);      color: #fff; }

.btn-outline-primary   { background: transparent; color: var(--primary);   border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-outline-secondary { background: transparent; color: var(--gray);      border-color: #cbd5e1; }
.btn-outline-secondary:hover { background: #f1f5f9; color: var(--dark); }
.btn-outline-danger    { background: transparent; color: var(--danger);    border-color: var(--danger); }
.btn-outline-danger:hover { background: var(--danger); color: #fff; }
.btn-outline-success   { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn-outline-success:hover { background: var(--secondary); color: #fff; }
.btn-outline-info      { background: transparent; color: var(--info);      border-color: var(--info); }
.btn-outline-info:hover { background: var(--info); color: #fff; }

.btn-sm { padding: 5px 10px; font-size: .8rem; }
.btn-lg { padding: 12px 24px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border-left: 4px solid var(--secondary); }
.alert-danger  { background: #fef2f2; color: #991b1b; border-left: 4px solid var(--danger); }
.alert-warning { background: #fffbeb; color: #92400e; border-left: 4px solid var(--warning); }
.alert-info    { background: #f0f9ff; color: #075985; border-left: 4px solid var(--info); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-h);
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    margin-right: auto;
}
.navbar-brand .brand-logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}
.navbar-toggler {
    background: #f1f5f9;
    border: none;
    color: var(--dark);
    padding: 7px 11px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 16px;
    font-size: 1.1rem;
    transition: background var(--transition);
}
.navbar-toggler:hover { background: #e2e8f0; }

.navbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    cursor: pointer;
    position: relative;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background var(--transition);
}
.navbar-user:hover { background: #f1f5f9; }
.navbar-user img, .navbar-user .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.navbar-user .avatar {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
}
.navbar-user-info { display: flex; flex-direction: column; text-align: left; }
.navbar-user-info .name { font-weight: 600; font-size: .88rem; line-height: 1.2; color: var(--dark); }
.navbar-user-info .role { font-size: .74rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    min-width: 210px;
    z-index: 1001;
    display: none;
    overflow: hidden;
}
.user-dropdown.show { display: block; }
.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: #334155;
    font-size: .88rem;
    transition: background var(--transition);
}
.user-dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.user-dropdown hr { margin: 4px 0; border: none; border-top: 1px solid #f1f5f9; }
.user-dropdown .text-danger:hover { background: #fef2f2; color: var(--danger); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    width: var(--sidebar-w);
    bottom: 0;
    background: var(--dark-surface);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 900;
    transition: width var(--transition);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.2) transparent;
}
.sidebar.collapsed { width: 64px; }
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }

.sidebar-menu { list-style: none; padding: 14px 0; }
.sidebar-menu-title {
    padding: 10px 22px 4px;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #64748b;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}
.sidebar.collapsed .sidebar-menu-title { opacity: 0; }

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 22px;
    color: #94a3b8;
    font-size: .88rem;
    transition: all var(--transition);
    white-space: nowrap;
    overflow: hidden;
    border-left: 3px solid transparent;
}
.sidebar-menu li a:hover {
    background: rgba(255,255,255,.05);
    color: #f8fafc;
    border-left-color: var(--primary);
}
.sidebar-menu li a.active {
    background: rgba(30,64,175,.35);
    color: #ffffff;
    border-left-color: #3b82f6;
    font-weight: 600;
}
.sidebar-menu li a i {
    font-size: 1.05rem;
    min-width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.sidebar-menu li a .menu-text { transition: opacity var(--transition); }
.sidebar.collapsed .menu-text { opacity: 0; width: 0; overflow: hidden; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    margin-left: var(--sidebar-w);
    margin-top: var(--navbar-h);
    padding: 24px 30px;
    min-height: calc(100vh - var(--navbar-h));
    transition: margin-left var(--transition);
}
.main-content.expanded { margin-left: 64px; }

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 12px;
}
.page-header-title { display: flex; flex-direction: column; }
.page-header h2 { font-size: 1.45rem; color: var(--dark); display: flex; align-items: center; gap: 10px; font-weight: 700; }
.page-header h2 i { color: var(--primary); }
.page-header .breadcrumb { font-size: .82rem; color: var(--gray); margin-top: 2px; }
.page-header .breadcrumb a { color: var(--gray); }
.page-header .breadcrumb a:hover { color: var(--primary); }

/* Cards */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    margin-bottom: 22px;
    overflow: hidden;
}
.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.card-header h5, .card-header h4 { margin: 0; font-weight: 700; color: var(--dark); font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.card-body { padding: 22px; }
.card-footer { padding: 14px 22px; border-top: 1px solid #e2e8f0; background: #fafbfc; }

/* Stat Cards */
.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform var(--transition), box-shadow var(--transition);
    margin-bottom: 20px;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #fff;
    flex-shrink: 0;
}
.stat-icon.blue   { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.stat-icon.green  { background: linear-gradient(135deg, #059669, #10b981); }
.stat-icon.orange { background: linear-gradient(135deg, #d97706, #f59e0b); }
.stat-icon.red    { background: linear-gradient(135deg, #dc2626, #ef4444); }
.stat-icon.purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.stat-icon.cyan   { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.stat-info .value { font-size: 1.75rem; font-weight: 700; color: var(--dark); line-height: 1.1; }
.stat-info .label { color: var(--gray); font-size: .83rem; margin-top: 3px; font-weight: 500; }

/* Tables */
.table-responsive { overflow-x: auto; border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th {
    background: #f8fafc;
    color: #475569;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid #e2e8f0;
}
.table td { padding: 11px 14px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--primary-light); }
.table-striped tr:nth-child(even) td { background: #fcfdfe; }
.table-striped tr:nth-child(even):hover td { background: var(--primary-light); }

/* Avatars */
.avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #e2e8f0;
}
.avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .88rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
}
.badge-success   { background: #ecfdf5; color: #047857; }
.badge-danger    { background: #fef2f2; color: #b91c1c; }
.badge-warning   { background: #fffbeb; color: #b45309; }
.badge-info      { background: #f0f9ff; color: #0369a1; }
.badge-secondary { background: #f1f5f9; color: #475569; }
.badge-purple    { background: #faf5ff; color: #6b21a8; }
.badge-primary   { background: var(--primary-light); color: var(--primary); }

/* Quick Filter Badges */
.quick-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.quick-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: .82rem;
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
}
.quick-badge-item:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.quick-badge-item.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.quick-badge-item .count {
    background: rgba(0,0,0,.08);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: .75rem;
}
.quick-badge-item.active .count { background: rgba(255,255,255,.25); color: #fff; }

/* Filter Bar */
.filter-bar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}
.filter-bar .form-group { margin-bottom: 0; flex: 1; min-width: 170px; }
.filter-bar label { font-size: .8rem; font-weight: 600; color: #475569; margin-bottom: 4px; }
.filter-bar select, .filter-bar input {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    font-size: .88rem;
    width: 100%;
}

/* Tabs */
.nav-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 22px;
    list-style: none;
    overflow-x: auto;
    padding-bottom: 0;
}
.nav-tabs li { margin-bottom: -2px; }
.nav-tabs a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: #64748b;
    font-weight: 600;
    font-size: .9rem;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-tabs a:hover { color: var(--primary); border-bottom-color: #cbd5e1; }
.nav-tabs a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Section Header in Forms */
.form-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-section-title i { color: var(--primary); }

/* Rating Stars */
.rating-stars { display: inline-flex; gap: 3px; font-size: .95rem; }
.text-warning { color: #f59e0b !important; }

/* Profile View Elements */
.profile-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: #fff;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: var(--shadow);
}
.profile-avatar-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,.4);
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.profile-avatar-lg-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    border: 4px solid rgba(255,255,255,.4);
}
.profile-info { flex: 1; }
.profile-info h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 4px; }
.profile-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .9rem; opacity: .9; margin-top: 8px; }
.profile-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Grid Definition */
.row { display: flex; flex-wrap: wrap; margin: -10px; }
.row > * { padding: 10px; }
.col-12 { width: 100%; }
.col-md-2  { width: 16.666%; }
.col-md-3  { width: 25%; }
.col-md-4  { width: 33.333%; }
.col-md-5  { width: 41.666%; }
.col-md-6  { width: 50%; }
.col-md-7  { width: 58.333%; }
.col-md-8  { width: 66.666%; }
.col-md-9  { width: 75%; }
.col-md-10 { width: 83.333%; }
.col-md-12 { width: 100%; }

/* Pagination */
.pagination {
    display: flex;
    gap: 4px;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid #cbd5e1;
    background: #fff;
    transition: all var(--transition);
}
.pagination a:hover { background: var(--primary-light); border-color: var(--primary); }
.pagination .active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled span { color: #cbd5e1; cursor: not-allowed; }

/* CV / Biodata Printable Layout */
.cv-print-container {
    max-width: 210mm;
    margin: 0 auto;
    padding: 24px 30px;
    background: #fff;
    font-size: 10.5pt;
    line-height: 1.5;
    color: #1e293b;
}
.cv-header {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 2.5px solid var(--primary);
    padding-bottom: 14px;
    margin-bottom: 18px;
}
.cv-header .company-logo { width: 70px; height: 70px; object-fit: contain; }
.cv-header-text { flex: 1; }
.cv-header-text h2 { font-size: 15pt; font-weight: 700; color: var(--primary); text-transform: uppercase; margin-bottom: 2px; }
.cv-header-text p { font-size: 9.5pt; color: #475569; margin: 0; }
.cv-title {
    text-align: center;
    font-size: 13pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 12px 0 18px;
    padding: 6px;
    background: #f1f5f9;
    border-radius: 4px;
}
.cv-section-title {
    font-size: 11pt;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1.5px solid #cbd5e1;
    padding-bottom: 4px;
    margin: 16px 0 8px;
    text-transform: uppercase;
}
.cv-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: 10pt; }
.cv-table td { padding: 4px 6px; vertical-align: top; }
.cv-table td.label { width: 200px; font-weight: 600; color: #475569; }
.cv-table-bordered { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: 9.5pt; }
.cv-table-bordered th, .cv-table-bordered td { border: 1px solid #cbd5e1; padding: 6px 8px; text-align: left; }
.cv-table-bordered th { background: #f8fafc; font-weight: 600; }

/* Responsive */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.mobile-open { transform: translateX(0); }
    .main-content { margin-left: 0 !important; padding: 16px; }
    .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
    .col-md-7, .col-md-8, .col-md-9, .col-md-10 { width: 100%; }
    .navbar-user-info { display: none; }
    .page-header { flex-direction: column; align-items: flex-start; }
    .filter-bar { flex-direction: column; }
    .profile-hero { flex-direction: column; text-align: center; }
    .profile-meta { justify-content: center; }
}

/* Print Global */
@media print {
    .navbar, .sidebar, .page-header, .filter-bar, .btn, .pagination,
    .nav-tabs, footer, .no-print { display: none !important; }
    .main-content { margin: 0 !important; padding: 0 !important; }
    body { background: #fff !important; }
    .card { border: none !important; box-shadow: none !important; }
    .cv-print-container { padding: 0 !important; max-width: 100% !important; }
    @page { size: A4 portrait; margin: 12mm 15mm; }
}
