/* Biztek Portal — custom theme */

:root {
    --biztek-primary: #0f766e;
    --biztek-primary-dark: #0d5c56;
    --biztek-primary-light: #14b8a6;
    --biztek-accent: #f59e0b;
    --biztek-dark: #0f172a;
    --biztek-sidebar: #1e293b;
    --biztek-sidebar-hover: #334155;
    --biztek-radius: 12px;
    --biztek-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

/* ─── Public top navbar ─── */
.biztek-public-nav {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
.biztek-public-nav .navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
}
.biztek-public-nav .brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--biztek-primary-light), var(--biztek-primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}
.biztek-public-nav .nav > li > a {
    color: rgba(255,255,255,.85) !important;
    font-weight: 500;
    padding: 18px 16px !important;
    transition: color .2s;
}
.biztek-public-nav .nav > li > a:hover,
.biztek-public-nav .nav > li.active > a {
    color: var(--biztek-primary-light) !important;
    background: transparent !important;
}
.biztek-public-nav .btn-login-nav {
    background: linear-gradient(135deg, var(--biztek-primary-light), var(--biztek-primary));
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 8px 20px !important;
    margin-top: 12px;
    font-weight: 600;
}
.biztek-public-nav .btn-login-nav:hover {
    opacity: .92;
    color: #fff !important;
}

/* ═══════════════════════════════════════════
   LOGIN PAGE — premium design
   ═══════════════════════════════════════════ */
body.biztek-login-page {
    font-family: 'Inter', 'Open Sans', sans-serif;
    min-height: 100vh;
    background: #0a0f1a;
    overflow-x: hidden;
}

/* Animated background */
.biztek-login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(145deg, #0a0f1a 0%, #0f172a 30%, #134e4a 70%, #0f766e 100%);
}
.biztek-login-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.biztek-login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    animation: biztekOrbFloat 8s ease-in-out infinite;
}
.biztek-login-orb-1 {
    width: 400px; height: 400px;
    background: #14b8a6;
    top: -10%; left: -5%;
}
.biztek-login-orb-2 {
    width: 350px; height: 350px;
    background: #3b82f6;
    bottom: -5%; right: 10%;
    animation-delay: -3s;
}
.biztek-login-orb-3 {
    width: 250px; height: 250px;
    background: #8b5cf6;
    top: 40%; left: 30%;
    animation-delay: -5s;
    opacity: .3;
}
@keyframes biztekOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

/* Nav on login */
body.biztek-login-page .biztek-public-nav {
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Layout */
.biztek-login-wrapper {
    position: relative;
    z-index: 1;
    padding: 40px 0 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.biztek-login-row {
    display: flex;
    align-items: center;
}

/* Hero (left) */
.biztek-login-hero {
    color: #fff;
    padding: 20px 20px 20px 0;
}
.biztek-login-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 24px;
}
.biztek-login-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    background: linear-gradient(135deg, #fff 0%, #99f6e4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.biztek-login-hero > p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,.7);
    max-width: 440px;
    margin-bottom: 36px;
}
.biztek-login-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.biztek-login-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 14px 16px;
    transition: background .2s, transform .2s;
}
.biztek-login-feature:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-2px);
}
.biztek-login-feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(45,212,191,.25), rgba(15,118,110,.25));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5eead4;
    font-size: 18px;
    flex-shrink: 0;
}
.biztek-login-feature strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}
.biztek-login-feature small {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.5);
    margin-top: 2px;
}

/* Login card */
.biztek-login-card {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.1),
        0 25px 60px rgba(0,0,0,.35),
        0 0 80px rgba(15,118,110,.15);
    max-width: 440px;
    margin: 0 auto;
}
.biztek-login-card-header {
    text-align: center;
    margin-bottom: 32px;
}
.biztek-login-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2dd4bf, #0f766e);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(15,118,110,.35);
}
.biztek-login-card-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}
.biztek-login-card-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* Form inputs */
.biztek-input-group {
    margin-bottom: 20px;
}
.biztek-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}
.biztek-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.biztek-input-wrap > i {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 16px;
    z-index: 1;
    transition: color .2s;
}
.biztek-input-wrap input {
    width: 100%;
    padding: 13px 44px 13px 42px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
    height: auto;
    box-shadow: none;
}
.biztek-input-wrap input:focus {
    border-color: #0f766e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15,118,110,.1);
}
.biztek-input-group.focused .biztek-input-wrap > i {
    color: #0f766e;
}
.biztek-toggle-pw {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 4px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: color .2s;
}
.biztek-toggle-pw:hover { color: #0f766e; }

/* Checkbox */
.biztek-login-options {
    margin-bottom: 24px;
}
.biztek-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    user-select: none;
}
.biztek-checkbox input { display: none; }
.biztek-checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
}
.biztek-checkbox input:checked + .biztek-checkmark {
    background: #0f766e;
    border-color: #0f766e;
}
.biztek-checkbox input:checked + .biztek-checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* Submit button */
.biztek-login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    box-shadow: 0 4px 16px rgba(15,118,110,.35);
    letter-spacing: .3px;
}
.biztek-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15,118,110,.45);
    color: #fff;
}
.biztek-login-btn:active { transform: translateY(0); }
.biztek-login-btn:disabled { opacity: .75; cursor: not-allowed; }
.biztek-btn-loading i {
    display: inline-block;
    animation: biztekSpin .8s linear infinite;
}
@keyframes biztekSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Error */
.biztek-login-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 16px;
    color: #991b1b;
    font-size: 13px;
}
.biztek-login-error i {
    font-size: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}

/* Footer link */
.biztek-login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.biztek-login-footer a {
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}
.biztek-login-footer a:hover { color: #0d5c56; }

/* Mobile */
@media (max-width: 991px) {
    .biztek-login-wrapper { padding: 40px 16px; }
    .biztek-login-card { padding: 32px 24px; }
    .biztek-login-hero h1 { font-size: 2rem; }
}
@media (max-width: 767px) {
    .biztek-login-features { grid-template-columns: 1fr; }
}

/* Legacy voyager login overrides (fallback) */
body.login.biztek-login {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f766e 100%) !important;
    background-image: none !important;
    padding-top: 64px;
    min-height: 100vh;
}
body.login.biztek-login .faded-bg { display: none; }
body.login.biztek-login .login-sidebar {
    border-top: none !important;
    border-left: none !important;
    background: #fff;
    border-radius: var(--biztek-radius) 0 0 var(--biztek-radius);
    box-shadow: var(--biztek-shadow);
    padding: 40px 36px;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
body.login.biztek-login .login-hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #fff;
}
body.login.biztek-login .login-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}
body.login.biztek-login .login-hero p {
    font-size: 1.1rem;
    opacity: .9;
    max-width: 420px;
    line-height: 1.6;
}
body.login.biztek-login .login-hero .feature-pills span {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50px;
    padding: 6px 14px;
    margin: 4px 6px 4px 0;
    font-size: 13px;
}
body.login.biztek-login .login-container > p {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--biztek-dark);
    margin-bottom: 24px;
}
body.login.biztek-login .form-group-default {
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    margin-bottom: 18px;
    transition: border-color .2s, box-shadow .2s;
}
body.login.biztek-login .form-group-default.focused {
    border-color: var(--biztek-primary) !important;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}
body.login.biztek-login .login-button,
body.login.biztek-login .bar:before,
body.login.biztek-login .bar:after {
    background: linear-gradient(135deg, var(--biztek-primary-light), var(--biztek-primary)) !important;
    border-radius: 10px;
    border: none;
    padding: 12px;
    font-weight: 600;
    font-size: 15px;
}
body.login.biztek-login .login-sidebar { border-top: none !important; }

/* ─── Page header & content ─── */
.voyager .page-title {
    font-weight: 700;
    color: var(--biztek-dark);
}
.voyager .page-title i {
    color: var(--biztek-primary);
}
.voyager .panel.panel-bordered {
    border-radius: var(--biztek-radius);
    border: 1px solid #e2e8f0;
    box-shadow: var(--biztek-shadow);
    overflow: hidden;
}
.voyager .panel.panel-bordered > .panel-heading {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: var(--biztek-dark);
}
.voyager .panel.panel-bordered > .panel-body {
    padding: 20px;
}
.voyager .table > thead > tr > th {
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #e2e8f0;
}
.voyager .btn-primary {
    background: linear-gradient(135deg, var(--biztek-primary-light), var(--biztek-primary));
    border: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(15, 118, 110, .25);
}
.voyager .btn-primary:hover {
    background: linear-gradient(135deg, var(--biztek-primary), var(--biztek-primary-dark));
    border: none;
}
.voyager .btn-success { border-radius: 8px; font-weight: 600; }
.voyager .btn-danger { border-radius: 8px; font-weight: 600; }
.voyager .badge { border-radius: 6px; font-weight: 600; padding: 4px 10px; }

/* ─── Stat cards (dashboard) ─── */
.biztek-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.biztek-stat-card {
    flex: 1;
    min-width: 180px;
    background: #fff;
    border-radius: var(--biztek-radius);
    padding: 20px 22px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--biztek-shadow);
    position: relative;
    overflow: hidden;
}
.biztek-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--card-accent, var(--biztek-primary));
}
.biztek-stat-card .stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 6px;
}
.biztek-stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--biztek-dark);
    line-height: 1;
}
.biztek-stat-card.accent-teal { --card-accent: #0f766e; }
.biztek-stat-card.accent-amber { --card-accent: #f59e0b; }
.biztek-stat-card.accent-blue { --card-accent: #3b82f6; }
.biztek-stat-card.accent-rose { --card-accent: #f43f5e; }
.biztek-stat-card .stat-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0fdfa;
    color: var(--card-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.biztek-stat-card .stat-sub {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
}

/* ─── Dashboard layout ─── */
.biztek-dash-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f766e 100%);
    border-radius: var(--biztek-radius);
    color: #fff;
    box-shadow: 0 8px 32px rgba(15, 118, 110, .25);
}
.biztek-dash-welcome h2 {
    margin: 0 0 4px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}
.biztek-dash-welcome p {
    margin: 0;
    opacity: .75;
    font-size: 14px;
}
.biztek-dash-welcome-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.biztek-dash-welcome .btn-primary {
    background: #fff;
    color: #0f766e;
    border: none;
    font-weight: 600;
}
.biztek-dash-welcome .btn-default {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
}

.biztek-dash-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.biztek-chart-card {
    background: #fff;
    border-radius: var(--biztek-radius);
    border: 1px solid #e2e8f0;
    box-shadow: var(--biztek-shadow);
    overflow: hidden;
}
.biztek-chart-card.span-3 { grid-column: span 3; }
.biztek-chart-card.span-4 { grid-column: span 4; }
.biztek-chart-card.span-6 { grid-column: span 6; }
.biztek-chart-card.span-8 { grid-column: span 8; }
.biztek-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
}
.biztek-chart-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--biztek-dark);
}
.biztek-chart-header h5 i { color: var(--biztek-primary); margin-right: 6px; }
.biztek-chart-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--biztek-primary);
    text-decoration: none;
}
.biztek-chart-body {
    padding: 16px 20px 20px;
    height: 260px;
    position: relative;
}
.biztek-chart-empty {
    text-align: center;
    color: #94a3b8;
    padding: 60px 20px;
    margin: 0;
    font-size: 13px;
}

.biztek-dash-bottom {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    margin-bottom: 24px;
}
.biztek-dash-table-wrap { overflow-x: auto; }
.biztek-dash-table { margin: 0; font-size: 13px; }
.biztek-dash-table thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #64748b;
    padding: 10px 16px;
}
.biztek-dash-table tbody td { padding: 12px 16px; vertical-align: middle; }

.biztek-low-stock-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.biztek-low-stock-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}
.biztek-low-stock-list li:last-child { border-bottom: none; }
.biztek-low-name { flex: 1; font-weight: 600; color: var(--biztek-dark); }
.biztek-low-qty { color: #64748b; font-size: 12px; }
.biztek-badge-warn {
    background: #fef3c7;
    color: #b45309;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}
.biztek-low-stock-card { border-color: #fde68a; }

.biztek-flow-steps {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    border: 1px solid #99f6e4;
    border-radius: var(--biztek-radius);
    padding: 20px 24px;
}
.biztek-flow-steps h5 {
    font-weight: 700;
    color: var(--biztek-primary-dark);
    margin: 0 0 16px;
    font-size: 14px;
}
.biztek-flow-track {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.biztek-flow-step {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ccfbf1;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}
.biztek-flow-step span {
    width: 22px;
    height: 22px;
    background: var(--biztek-primary);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}
.biztek-flow-arrow { color: #94a3b8; font-size: 14px; }

@media (max-width: 1200px) {
    .biztek-chart-card.span-3,
    .biztek-chart-card.span-4,
    .biztek-chart-card.span-6,
    .biztek-chart-card.span-8 { grid-column: span 12; }
    .biztek-dash-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .biztek-flow-arrow { display: none; }
    .biztek-flow-step { flex: 1 1 calc(50% - 8px); }
}

/* ─── Requisition detail page ─── */
.biztek-req-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--biztek-radius);
    box-shadow: var(--biztek-shadow);
}
.biztek-req-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 12px;
}
.biztek-req-back:hover { color: var(--biztek-primary); }
.biztek-req-hero-title {
    display: flex;
    align-items: center;
    gap: 16px;
}
.biztek-req-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(15,118,110,.35);
    flex-shrink: 0;
}
.biztek-req-hero-title h1 {
    margin: 0 0 8px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--biztek-dark);
    letter-spacing: -.3px;
}
.biztek-req-hero-actions { display: flex; gap: 8px; align-items: center; padding-top: 28px; }

.biztek-req-rough-body {
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 100%);
    border-top: 1px solid #e2e8f0;
}
.biztek-req-rough-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    white-space: pre-wrap;
}

.biztek-req-split { margin-bottom: 20px; }
.biztek-req-details-card { height: 100%; margin-bottom: 0; }
.biztek-req-meta-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.biztek-req-meta-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
}
.biztek-req-meta-list li:last-child { border-bottom: none; }
.biztek-req-meta-list .meta-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f0fdfa;
    color: var(--biztek-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.biztek-req-meta-list .meta-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 3px;
}
.biztek-req-meta-list .meta-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--biztek-dark);
}
.biztek-req-meta-list .meta-notes,
.biztek-req-meta-list .meta-reject {
    font-weight: 500;
    line-height: 1.5;
}
.biztek-req-meta-list .meta-reject { color: #dc2626; }

.biztek-product-cell { display: flex; flex-direction: column; gap: 2px; }
.biztek-sku { font-size: 11px; font-family: ui-monospace, monospace; }

.biztek-req-timeline-card { margin-top: 20px; margin-bottom: 20px; }
.biztek-timeline { padding: 16px 24px 20px; }
.biztek-timeline-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    position: relative;
}
.biztek-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}
.biztek-timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #94a3b8;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e2e8f0;
    flex-shrink: 0;
    margin-top: 2px;
    z-index: 1;
}
.biztek-timeline-item.is-approved .biztek-timeline-dot {
    background: #10b981;
    box-shadow: 0 0 0 2px #d1fae5;
}
.biztek-timeline-item.is-rejected .biztek-timeline-dot {
    background: #ef4444;
    box-shadow: 0 0 0 2px #fee2e2;
}
.biztek-timeline-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}
.biztek-timeline-top strong {
    font-size: 14px;
    color: var(--biztek-dark);
}
.biztek-timeline-by {
    font-size: 13px;
    color: #64748b;
}
.biztek-timeline-comment {
    margin-top: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    font-style: italic;
    border-left: 3px solid #e2e8f0;
}

.biztek-req-accept-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 26px;
    margin-top: 20px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: var(--biztek-radius);
    box-shadow: 0 4px 16px rgba(245, 158, 11, .12);
}
.biztek-req-accept-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f59e0b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.biztek-req-accept-body h5 {
    margin: 0 0 6px;
    font-weight: 700;
    color: #92400e;
}
.biztek-req-accept-body p {
    margin: 0 0 14px;
    font-size: 13px;
    color: #b45309;
}

/* ─── Process requisition form ─── */
.biztek-process-hero { margin-bottom: 20px; }
.biztek-process-request-card { margin-bottom: 20px; }
.biztek-process-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    color: #64748b;
}
.biztek-process-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.biztek-process-meta i { color: var(--biztek-primary); }

.biztek-process-form .biztek-table-card { margin-bottom: 20px; }
.biztek-process-form .select2-container,
.biztek-process-form .select2-container .select2-selection--single {
    width: 100% !important;
    min-height: 38px;
    border-radius: 8px;
}
.biztek-process-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 12px;
}
.biztek-process-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}
.page-content .select2-container { width: 100% !important; }
.biztek-process-items { padding: 16px 20px 20px; }
.biztek-item-row-head {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #94a3b8;
    margin-bottom: 10px;
    padding: 0 4px;
}
.biztek-item-row {
    margin-bottom: 12px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    align-items: center;
}
.biztek-item-row .form-control {
    border-radius: 8px;
    border-color: #cbd5e1;
    box-shadow: none;
    height: 38px;
}
.biztek-item-row textarea.form-control { height: auto; }
.biztek-item-row .visible-xs {
    display: none;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}
.biztek-item-row-actions { text-align: right; }
.biztek-item-row-actions .btn { border-radius: 8px; }

.biztek-process-notes-body { padding: 16px 20px 20px; }
.biztek-process-notes-body .form-control {
    border-radius: 8px;
    border-color: #cbd5e1;
    resize: vertical;
    min-height: 90px;
}

.biztek-process-submit {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 8px 0 24px;
}
.biztek-process-submit .btn-primary {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 24px;
    box-shadow: 0 4px 14px rgba(15, 118, 110, .25);
}
.biztek-process-submit .btn-default { border-radius: 8px; }

.biztek-inv-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.biztek-inv-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}
.biztek-inv-tab:hover { border-color: var(--biztek-primary); color: var(--biztek-primary); }
.biztek-inv-tab.active {
    background: var(--biztek-primary);
    border-color: var(--biztek-primary);
    color: #fff;
}
.biztek-tab-count {
    background: rgba(0,0,0,.08);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
}
.biztek-inv-tab.active .biztek-tab-count { background: rgba(255,255,255,.25); }

.biztek-process-type-hint {
    padding: 12px 20px 0;
    font-size: 12px;
    color: #64748b;
}
.biztek-process-type-hint p { margin: 0; }
.biztek-item-type-cell { text-align: center; }
.biztek-item-type-badge {
    display: inline-block;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #94a3b8;
}

@media (max-width: 767px) {
    .biztek-item-row .visible-xs { display: block; }
    .biztek-item-row-actions { text-align: left; margin-top: 8px; }
    .biztek-process-submit {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .biztek-process-submit .btn { width: 100%; }
}

.biztek-workflow {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    border: 1px solid #99f6e4;
    border-radius: var(--biztek-radius);
    padding: 24px 28px;
}
.biztek-workflow h5 {
    font-weight: 700;
    color: var(--biztek-primary-dark);
    margin-bottom: 16px;
}
.biztek-workflow ol { margin: 0; padding-left: 20px; }
.biztek-workflow ol li {
    margin-bottom: 8px;
    color: #334155;
    line-height: 1.5;
}

/* ─── Landing page ─── */
.biztek-landing {
    padding-top: 64px;
    background: #f8fafc;
    min-height: 100vh;
}
.biztek-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #0f766e 100%);
    color: #fff;
    padding: 80px 0 100px;
    text-align: center;
}
.biztek-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.biztek-hero p.lead {
    font-size: 1.2rem;
    opacity: .9;
    max-width: 600px;
    margin: 0 auto 32px;
}
.biztek-hero .btn-hero {
    background: #fff;
    color: var(--biztek-primary-dark);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    border: none;
    margin: 0 8px;
    display: inline-block;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.biztek-hero .btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    color: var(--biztek-primary-dark);
    text-decoration: none;
}
.biztek-hero .btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
}
.biztek-hero .btn-hero-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.biztek-features {
    padding: 60px 0;
}
.biztek-feature-card {
    background: #fff;
    border-radius: var(--biztek-radius);
    padding: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--biztek-shadow);
    height: 100%;
    text-align: center;
    transition: transform .2s;
}
.biztek-feature-card:hover { transform: translateY(-4px); }
.biztek-feature-card .icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--biztek-primary-light), var(--biztek-primary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 24px;
}
.biztek-feature-card h4 { font-weight: 700; color: var(--biztek-dark); }
.biztek-feature-card p { color: #64748b; margin: 0; }

.biztek-page-actions {
    float: right;
    margin-top: -4px;
}
.biztek-page-actions .btn { margin-left: 8px; }

/* ═══════════════════════════════════════════
   TABLES — beautified data tables
   ═══════════════════════════════════════════ */
.biztek-table-card {
    background: #fff;
    border-radius: var(--biztek-radius);
    border: 1px solid #e2e8f0;
    box-shadow: var(--biztek-shadow);
    overflow: hidden;
    margin-bottom: 20px;
}
.biztek-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}
.biztek-table-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--biztek-dark);
}
.biztek-table-title i {
    color: var(--biztek-primary);
    font-size: 18px;
}
.biztek-table-count {
    background: var(--biztek-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
}
.biztek-table-actions .btn { margin-left: 6px; }

.table-responsive { border: none; }

table.biztek-table {
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}
table.biztek-table thead tr th {
    background: #f8fafc !important;
    color: #64748b !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: .8px !important;
    padding: 14px 18px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-top: none !important;
    white-space: nowrap;
}
table.biztek-table tbody tr {
    transition: background .15s;
}
table.biztek-table tbody tr:hover {
    background: #f0fdfa !important;
}
table.biztek-table tbody tr td {
    padding: 14px 18px !important;
    vertical-align: middle !important;
    border-top: 1px solid #f1f5f9 !important;
    color: #334155;
    font-size: 13px;
}
table.biztek-table tbody tr:first-child td {
    border-top: none !important;
}
table.biztek-table .biztek-cell-primary {
    font-weight: 600;
    color: var(--biztek-dark);
}
table.biztek-table .biztek-cell-mono {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--biztek-primary);
    font-weight: 600;
}
table.biztek-table .biztek-cell-muted {
    color: #94a3b8;
    font-size: 12px;
}

.biztek-table-empty {
    text-align: center;
    padding: 48px 20px;
    color: #94a3b8;
}
.biztek-table-empty i {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
    opacity: .4;
}
.biztek-table-empty p { margin: 0; font-size: 14px; }

.biztek-table-footer {
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}
.biztek-table-footer .pagination { margin: 0; }

/* Action buttons in tables */
.biztek-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
.biztek-btn-action i { font-size: 13px; }

/* Status badges */
.biztek-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    white-space: nowrap;
}
.biztek-badge-success { background: #d1fae5; color: #065f46; }
.biztek-badge-warning { background: #fef3c7; color: #92400e; }
.biztek-badge-danger  { background: #fee2e2; color: #991b1b; }
.biztek-badge-info    { background: #dbeafe; color: #1e40af; }
.biztek-badge-purple  { background: #ede9fe; color: #5b21b6; }
.biztek-badge-muted   { background: #f1f5f9; color: #64748b; }

/* Stock qty highlight */
.biztek-qty-low { color: #dc2626; font-weight: 700; }
.biztek-qty-ok  { color: #0f766e; font-weight: 700; }

/* Row number */
.biztek-row-num {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    width: 36px;
}

/* Stock ledger */
.biztek-ledger-in strong { color: #059669; }
.biztek-ledger-out strong { color: #dc2626; }
th.biztek-ledger-in { color: #059669; }
th.biztek-ledger-out { color: #dc2626; }

.biztek-due-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}
.biztek-due-active {
    background: #eff6ff;
    color: #1d4ed8;
}
.biztek-due-overdue {
    background: #fef2f2;
    color: #dc2626;
}
.biztek-issue-items-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}
.biztek-issue-items-list li:last-child {
    border-bottom: none;
}

/* ─── Procurement forms (order / inward) ─── */
.biztek-procurement-form .biztek-table-card { margin-bottom: 20px; }

.biztek-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    padding: 20px 24px 24px;
}
.biztek-form-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.biztek-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.biztek-form-field.span-2 { grid-column: span 2; }
.biztek-form-field.span-full { grid-column: 1 / -1; }
.biztek-form-field label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #64748b;
    margin: 0;
}
.biztek-form-field label .req { color: #dc2626; }
.biztek-form-field .form-control {
    border-radius: 10px;
    border-color: #cbd5e1;
    height: 42px;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}
.biztek-form-field .form-control:focus {
    border-color: var(--biztek-primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}

.biztek-procurement-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 20px 4px;
    padding: 12px 14px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 10px;
    font-size: 13px;
    color: #0f766e;
    line-height: 1.5;
}
.biztek-procurement-hint i {
    margin-top: 2px;
    flex-shrink: 0;
}

.biztek-items-card .biztek-table-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.biztek-items-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
}
.biztek-add-item-btn {
    border-radius: 10px !important;
    font-weight: 600;
    padding: 8px 16px !important;
    box-shadow: 0 2px 8px rgba(15, 118, 110, .25);
    transition: transform .15s, box-shadow .15s;
}
.biztek-add-item-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 118, 110, .3);
}
.biztek-add-item-btn i { margin-right: 4px; }

.biztek-item-num-col {
    display: flex;
    align-items: center;
    justify-content: center;
}
.biztek-item-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--biztek-primary-light), var(--biztek-primary));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    flex-shrink: 0;
}
.biztek-item-row {
    transition: opacity .18s, transform .18s;
}
.biztek-item-row-new {
    animation: biztekRowIn .28s ease-out;
}
.biztek-item-row-removing {
    opacity: 0;
    transform: translateX(8px);
}
@keyframes biztekRowIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.biztek-stock-hint {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    min-height: 16px;
}
.biztek-stock-hint.is-ok { color: #0f766e; }
.biztek-stock-hint.is-low { color: #dc2626; }

.biztek-qty-input-wrap {
    position: relative;
}
.biztek-qty-input-wrap .qty-input {
    padding-right: 52px;
}
.biztek-qty-unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    pointer-events: none;
}

.biztek-procurement-form .biztek-item-row-actions .btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.biztek-procurement-form .biztek-item-row-actions .btn i { margin: 0; }

.biztek-procurement-intro {
    margin: 0 0 20px;
    padding: 14px 18px;
    background: #f8fafc;
    border-left: 4px solid var(--biztek-primary);
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .biztek-form-grid,
    .biztek-form-grid.cols-4 {
        grid-template-columns: 1fr;
    }
    .biztek-form-field.span-2,
    .biztek-form-field.span-full {
        grid-column: span 1;
    }
    .biztek-item-num-col { margin-bottom: 4px; }
    .biztek-procurement-form .biztek-item-row-actions {
        text-align: left;
        margin-top: 8px;
    }
    .biztek-procurement-form .biztek-item-row-actions .btn {
        width: auto;
        padding: 6px 12px;
    }
}

/* ─── Procurement order workflow ─── */
.biztek-po-workflow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 20px 24px 8px;
}
.biztek-po-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 10px;
    font-size: 13px;
    color: #64748b;
}
.biztek-po-step.is-done {
    background: #ecfdf5;
    color: #065f46;
}
.biztek-po-step.is-done .biztek-po-step-num {
    background: #10b981;
}
.biztek-po-step.is-failed {
    background: #fef2f2;
    color: #991b1b;
}
.biztek-po-step.is-failed .biztek-po-step-num {
    background: #ef4444;
}
.biztek-po-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #94a3b8;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.biztek-po-step-arrow {
    color: #cbd5e1;
    font-size: 12px;
}
.biztek-po-workflow-note {
    padding: 0 24px 16px;
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
}
