/* ======================================================================
   MYHRIS - CONSOLIDATED PAGE STYLES
   ======================================================================
   This file consolidates all inline <style> blocks that were previously
   embedded in the .aspx / .master pages (including Site1.Master).
   Page-specific rules are scoped under body.page-<pagename>.
   ====================================================================== */
/* ======================================================================
   FILE: Site1.Master  (GLOBAL - applies to all pages)
   ====================================================================== */

        /* ===== MASTER OVERRIDE — PREMIUM REFINEMENT ===== */
        body {
            padding-top: 60px;
            background: radial-gradient(circle at 12% 0%, rgba(168,85,247,.10), transparent 28%),
                        radial-gradient(circle at 100% 10%, rgba(139,92,246,.10), transparent 35%),
                        radial-gradient(circle at 50% 100%, rgba(233,213,255,.08), transparent 40%),
                        linear-gradient(135deg, #ffffff 0%, #faf7ff 35%, #f4efff 65%, #ffffff 100%);
            background-attachment: fixed;
        }

        /* ===== NAVBAR ===== */
        .app-header {
            background: linear-gradient(135deg, rgba(76,29,149,.98), rgba(91,33,182,.97), rgba(49,18,109,.96)) !important;
            box-shadow: 0 1px 0 rgba(255,255,255,.10) inset, 0 8px 32px rgba(0,0,0,.25) !important;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }
        .app-header::after {
            content: "";
            position: absolute;
            left: 0; right: 0; bottom: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(192,132,252,.5), rgba(139,92,246,.3), transparent);
            pointer-events: none;
        }

        /* ===== LOGO ===== */
        .myhris-logo {
            padding: 5px 10px;
            background: rgba(255,255,255,.92);
            border-radius: 14px;
            border: 1px solid rgba(255,255,255,.18);
            box-shadow: 0 4px 16px rgba(0,0,0,.15);
            transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
            max-height: 36px;
        }
        .navbar-logo-btn:hover .myhris-logo {
            transform: scale(1.05);
            background: #fff;
            box-shadow: 0 8px 24px rgba(0,0,0,.22);
        }

        /* ===== BRAND TEXT ===== */
        .brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }
        .brand-title {
            font-weight: 800;
            color: #fff;
            font-size: 15px;
            letter-spacing: .3px;
        }
        .brand-sub {
            font-weight: 600;
            color: rgba(255,255,255,.7);
            font-size: 11px;
            letter-spacing: .2px;
        }
        @media (max-width: 768px) {
            .brand-title { font-size: 13px; }
            .brand-sub { font-size: 9px; }
        }
        @media (max-width: 480px) {
            .brand-title { font-size: 12px; }
            .brand-sub { font-size: 8px; }
        }

        /* ===== USER AVATAR ===== */
        .user-avatar {
            width: 34px; height: 34px;
            border-radius: 50%;
            object-fit: cover; object-position: center;
            border: 2px solid rgba(255,255,255,.7);
            box-shadow: 0 4px 12px rgba(0,0,0,.2);
            transition: transform .25s ease, border-color .25s ease;
        }
        .user-profile-btn:hover .user-avatar {
            transform: scale(1.06);
            border-color: #a855f7;
        }
        .user-name-text {
            color: rgba(255,255,255,.92);
            font-weight: 600;
            font-size: 13px;
        }

        /* ===== OFFICANVAS SIDEBAR — DARK PREMIUM ===== */
        .app-launcher {
            width: 360px !important;
            background: linear-gradient(180deg, #16072e 0%, #1c0a3c 40%, #220e4a 100%) !important;
            border-right: 1px solid rgba(168,85,247,.12);
            box-shadow: 4px 0 40px rgba(0,0,0,.35);
        }
        .app-launcher .offcanvas-header {
            border-bottom: 1px solid rgba(168,85,247,.10);
            padding: 22px 24px;
        }
        .app-launcher .offcanvas-title {
            font-size: 18px;
            font-weight: 800;
            color: #c084fc;
            letter-spacing: .3px;
        }
        .app-launcher .offcanvas-title i {
            color: #a855f7;
        }
        .app-launcher .btn-close {
            filter: brightness(0) invert(1);
            opacity: .6;
            transition: opacity .2s, transform .2s;
        }
        .app-launcher .btn-close:hover {
            opacity: 1;
            transform: rotate(90deg);
        }

        /* SECTION TITLE */
        .app-section-title {
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: rgba(168,85,247,.6);
            padding: 16px 6px 6px;
        }

        /* GRID */
        .app-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }
        .app-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 88px;
            padding: 14px 8px;
            text-decoration: none;
            border-radius: 20px;
            background: rgba(255,255,255,.04);
            border: 1px solid rgba(168,85,247,.06);
            backdrop-filter: blur(8px);
            transition: all .25s ease;
        }
        .app-item:hover {
            transform: translateY(-3px);
            background: linear-gradient(135deg, rgba(139,92,246,.25), rgba(124,58,237,.15));
            border-color: rgba(168,85,247,.2);
            box-shadow: 0 12px 28px rgba(0,0,0,.25);
            text-decoration: none;
        }
        .app-item i {
            font-size: 24px;
            color: #a855f7;
            transition: transform .25s ease, color .25s ease;
        }
        .app-item:hover i {
            color: #c084fc;
            transform: scale(1.12);
        }
        .app-item span {
            font-size: 11px;
            font-weight: 700;
            text-align: center;
            color: rgba(255,255,255,.7);
            line-height: 1.25;
            transition: color .2s;
        }
        .app-item:hover span {
            color: #fff;
        }

        /* SCROLLBAR */
        .app-launcher .offcanvas-body::-webkit-scrollbar {
            width: 4px;
        }
        .app-launcher .offcanvas-body::-webkit-scrollbar-thumb {
            background: rgba(168,85,247,.2);
            border-radius: 99px;
        }
        .app-launcher .offcanvas-body::-webkit-scrollbar-track {
            background: transparent;
        }

        /* ===== FLOATING BUTTON ===== */
        .apps-launcher {
            position: fixed;
            right: 22px;
            bottom: 22px;
            z-index: 1040;
        }
        body.modal-open .apps-launcher { display: none !important; }
        .btn-apps {
            position: relative;
            width: 60px; height: 60px;
            border: none; outline: none;
            border-radius: 22px;
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            color: #fff;
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            box-shadow: 0 12px 32px rgba(124,58,237,.3);
            transition: transform .25s ease, box-shadow .25s ease;
        }
        .btn-apps::before {
            content: "";
            position: absolute; inset: 0;
            border-radius: inherit;
            background: linear-gradient(rgba(255,255,255,.18), transparent);
            pointer-events: none;
        }
        .btn-apps i { font-size: 22px; transition: transform .25s; }
        .btn-apps:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 18px 40px rgba(124,58,237,.38);
        }
        .btn-apps:hover i { transform: rotate(8deg) scale(1.06); }
        .btn-apps:active { transform: scale(.95); }
        .btn-apps::after {
            content: "";
            position: absolute;
            width: 100%; height: 100%;
            border-radius: inherit;
            border: 2px solid rgba(139,92,246,.15);
            animation: pulseApps 2.4s infinite;
        }
        @keyframes pulseApps {
            0% { transform: scale(1); opacity: .5; }
            70% { transform: scale(1.25); opacity: 0; }
            100% { opacity: 0; }
        }

        /* ===== CONTENT ===== */
        .app-main {
            min-height: calc(100vh - 96px);
            position: relative;
        }
        .content.p-3 {
            padding: 20px !important;
        }

        /* ===== USER MODAL — MODERN PREMIUM ===== */
        .user-premium-modal .modal-dialog {
            max-width: 440px;
        }
        .user-modal-card {
            position: relative;
            overflow: hidden;
            border-radius: 28px;
            border: 1px solid rgba(255,255,255,.08);
            background: radial-gradient(ellipse at 30% 0%, rgba(168,85,247,.15), transparent 45%),
                        radial-gradient(ellipse at 70% 100%, rgba(99,102,241,.10), transparent 45%),
                        linear-gradient(160deg, rgba(20,8,48,.98), rgba(32,12,68,.96), rgba(42,16,96,.94));
            box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(168,85,247,.08);
            backdrop-filter: blur(20px);
            animation: modalSlide .4s cubic-bezier(.16,1,.3,1);
        }
        @keyframes modalSlide {
            from { opacity:0; transform:translateY(24px) scale(.94); }
            to   { opacity:1; transform:translateY(0) scale(1); }
        }
        .user-modal-card::before {
            content: "";
            position: absolute; top:0; left:0; right:0;
            height: 3px;
            background: linear-gradient(90deg, transparent, #c084fc, #a855f7, #8b5cf6, transparent);
            z-index: 2;
        }
        .user-modal-card::after {
            content: "";
            position: absolute;
            width: 280px; height: 280px;
            top: -120px; right: -100px;
            border-radius: 50%;
            background: radial-gradient(rgba(168,85,247,.08), transparent 65%);
            pointer-events: none;
        }

        /* Header */
        .user-modal-header {
            position: relative; z-index: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 24px 2px;
            border-bottom: none;
        }
        .user-modal-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 2px;
            color: rgba(192,132,252,.65);
            font-size: 9px; font-weight: 800;
            letter-spacing: 1.5px; text-transform: uppercase;
        }
        .user-modal-eyebrow i {
            font-size: 12px;
        }
        .user-modal-title {
            color: #fff;
            font-size: 1rem; font-weight: 700;
        }
        .user-modal-close {
            width: 30px; height: 30px;
            border-radius: 10px;
            background: rgba(255,255,255,.06);
            border: 1px solid rgba(255,255,255,.06) !important;
            opacity: .6;
            transition: all .25s ease;
            position: relative;
            font-size: 14px;
        }
        .user-modal-close:hover {
            opacity: 1;
            background: rgba(168,85,247,.2);
            border-color: rgba(168,85,247,.2) !important;
            transform: rotate(90deg);
        }

        /* Body */
        .user-modal-body {
            position: relative; z-index: 1;
            padding: 4px 24px 0;
            max-height: calc(100vh - 190px);
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: rgba(168,85,247,.35) transparent;
        }

        /* Photo */
        .user-modal-photo-wrap {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            padding: 4px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(243,244,246,.7));
            box-shadow: 0 12px 36px rgba(0,0,0,.35), 0 0 0 1px rgba(168,85,247,.25);
            transition: box-shadow .3s;
        }
        .user-modal-photo-wrap:hover {
            box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 0 2px rgba(168,85,247,.35);
        }
        .user-modal-photo {
            display: block;
            width: 86px; height: 86px;
            object-fit: cover;
            object-position: center;
            border-radius: 50%;
            border: 2.5px solid #fff;
            background: #f3f4f6;
        }
        .user-modal-name {
            margin: 2px 0 8px;
            color: #fff;
            font-weight: 800;
            letter-spacing: .2px;
            text-shadow: 0 2px 12px rgba(0,0,0,.2);
        }

        /* Info cards */
        .user-modal-info {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin-top: 4px;
            text-align: left;
        }
        .user-modal-info p {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0;
            padding: 8px 12px;
            border: 1px solid rgba(255,255,255,.06);
            border-radius: 14px;
            background: rgba(255,255,255,.035);
            backdrop-filter: blur(4px);
            transition: background .25s, border-color .25s, transform .2s;
        }
        .user-modal-info p:hover {
            background: rgba(255,255,255,.07);
            border-color: rgba(168,85,247,.12);
            transform: translateX(3px);
        }
        .user-modal-info .info-icon {
            width: 28px; height: 28px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(168,85,247,.15), rgba(139,92,246,.08));
            color: #c084fc;
            font-size: 12px;
            flex-shrink: 0;
            transition: background .25s, transform .25s;
        }
        .user-modal-info p:hover .info-icon {
            background: linear-gradient(135deg, rgba(168,85,247,.25), rgba(139,92,246,.15));
            transform: scale(1.05);
        }
        .user-modal-info .info-label {
            color: rgba(255,255,255,.45);
            font-size: 10px; font-weight: 700;
            letter-spacing: .5px;
            text-transform: uppercase;
            min-width: 60px;
        }
        .user-modal-info .info-value {
            color: rgba(255,255,255,.9);
            font-size: 12.5px;
            font-weight: 600;
            overflow-wrap: anywhere;
            flex: 1;
        }

        /* ID Card */
        .user-modal-idcard {
            position: relative; z-index: 1;
            width: 200px;
            height: 200px;
            margin: 8px auto 0;
            padding: 10px;
            border-radius: 18px;
            background: rgba(255,255,255,.04);
            border: 1px solid rgba(255,255,255,.06);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            box-sizing: border-box;
        }
        .idcard-divider {
            align-self: stretch;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(168,85,247,.2), transparent);
        }
        .idcard-header {
            display: flex;
            align-items: center;
            gap: 6px;
            color: rgba(192,132,252,.6);
            font-size: 9.5px;
            font-weight: 700;
            letter-spacing: .5px;
            text-transform: uppercase;
        }
        .idcard-header i {
            font-size: 12px;
        }
        .idcard-barcode-wrap {
            display: flex;
            justify-content: center;
            background: linear-gradient(135deg, #f8f9fc, #eef1f7);
            border-radius: 14px;
            padding: 8px;
            position: relative;
        }
        .idcard-barcode-wrap canvas {
            max-width: 100%;
            height: auto;
            width: auto;
            border-radius: 8px;
            box-shadow: 0 4px 24px rgba(0,0,0,.08);
        }
        .idcard-empid {
            text-align: center;
            color: rgba(255,255,255,.5);
            font-size: 10.5px;
            font-weight: 700;
            letter-spacing: 2px;
            font-family: 'Courier New', monospace;
        }

        /* Footer */
        .user-modal-footer {
            position: relative; z-index: 1;
            display: flex;
            gap: 8px;
            padding: 10px 24px 18px;
            border-top: none;
        }
        .user-modal-btn {
            flex: 0 0 auto;
            width: 44px;
            height: 44px;
            padding: 0;
            border: none;
            border-radius: 13px;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 16px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.15);
            transition: all .25s ease;
        }
        .user-modal-btn:hover {
            transform: translateY(-2px);
        }
        .user-modal-btn:active {
            transform: scale(.96);
        }
        .user-modal-btn i {
            font-size: 17px;
        }
        .user-modal-btn-gold {
            color: #fff !important;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            text-shadow: 0 1px 4px rgba(0,0,0,.1);
        }
        .user-modal-btn-gold:hover {
            box-shadow: 0 10px 24px rgba(245,158,11,.28), inset 0 1px 0 rgba(255,255,255,.25);
        }
        .user-modal-btn-danger {
            color: #fff !important;
            background: linear-gradient(135deg, #ef4444, #dc2626);
        }
        .user-modal-btn-danger:hover {
            box-shadow: 0 10px 24px rgba(239,68,68,.22), inset 0 1px 0 rgba(255,255,255,.2);
        }

        /* Mobile */
        @media (max-width: 768px) {
            .user-premium-modal .modal-dialog { margin: 10px; }
            .user-modal-card { border-radius: 22px; }
            .user-modal-header { padding: 18px 20px 2px; }
            .user-modal-body { padding: 4px 20px 0; }
            .user-modal-footer { padding: 12px 20px 18px; gap: 6px; }
            .user-modal-btn { min-height: 36px; font-size: 10px; padding: 6px 8px; border-radius: 10px; }
            .user-modal-photo { width: 90px; height: 90px; }
            .user-modal-photo-wrap { padding: 3px; margin-bottom: 10px; }
            .user-modal-name { font-size: 1rem !important; margin: 0 0 8px; }
            .user-modal-info p { padding: 8px 12px; border-radius: 12px; gap: 8px; }
            .user-modal-info .info-icon { width: 28px; height: 28px; font-size: 11px; }
            .user-modal-info .info-label { font-size: 9px; min-width: 50px; }
            .user-modal-info .info-value { font-size: 11px; }
        }
        @media (max-width: 480px) {
            .user-modal-card { border-radius: 18px; }
            .user-modal-header { padding: 14px 16px 2px; }
            .user-modal-body { padding: 2px 16px 0; }
            .user-modal-footer { padding: 10px 16px 16px; gap: 5px; flex-wrap: wrap; }
            .user-modal-btn { min-height: 34px; font-size: 9px; padding: 6px; flex: 1 0 auto; }
            .user-modal-photo { width: 76px; height: 76px; }
            .user-modal-photo-wrap { margin-bottom: 8px; }
            .user-modal-name { font-size: .95rem !important; }
            .user-modal-info p { padding: 6px 10px; border-radius: 10px; }
            .user-modal-info .info-icon { width: 24px; height: 24px; font-size: 10px; }
        }

        /* Short screens */
        @media (max-height: 720px) {
            .user-modal-body { max-height: calc(100vh - 150px); }
            .user-modal-photo { width: 70px; height: 70px; }
            .user-modal-photo-wrap { margin-bottom: 6px; }
            .user-modal-info { gap: 4px; }
            .user-modal-info p { padding: 6px 10px; border-radius: 12px; }
            .user-modal-info .info-icon { width: 24px; height: 24px; font-size: 10px; }
            .user-modal-info .info-label { font-size: 9px; min-width: 50px; }
            .user-modal-info .info-value { font-size: 11px; }
            .user-modal-idcard { margin-top: 6px; width: 170px; height: 170px; padding: 8px; }
            .idcard-header { margin-bottom: 0; }
            .idcard-barcode-wrap { padding: 8px; }
            .user-modal-footer { padding: 8px 24px 14px; }
        }
        @media (max-height: 560px) {
            .user-modal-body { max-height: calc(100vh - 130px); }
            .user-modal-photo { width: 56px; height: 56px; }
            .user-modal-name { margin-bottom: 4px; }
            .idcard-header { font-size: 8.5px; }
            .user-modal-idcard { width: 150px; height: 150px; padding: 6px; gap: 3px; }
            .idcard-barcode-wrap canvas { width: 90px; height: 90px; }
            .idcard-empid { font-size: 9px; }
        }

        /* ===== MOBILE BOTTOM NAV — PREMIUM GLASS ===== */
        .app-bottom-nav {
            position: fixed;
            bottom: 0; left: 0; right: 0;
            z-index: 1030;
            display: flex;
            align-items: center;
            justify-content: space-around;
            height: 64px;
            padding: 4px 0 calc(env(safe-area-inset-bottom, 0px) + 4px);
            background: linear-gradient(135deg, rgba(91,33,182,.98), rgba(124,58,237,.97), rgba(49,18,109,.97));
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-top: 1px solid rgba(216,180,254,.22);
            border-radius: 18px 18px 0 0;
            box-shadow: 0 -12px 40px rgba(76,29,149,.35);
        }
        .app-bottom-nav::before {
            content: "";
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 96px;
            height: 3px;
            border-radius: 0 0 6px 6px;
            background: linear-gradient(90deg, rgba(192,132,252,0), #c084fc, rgba(192,132,252,0));
        }
        .app-bottom-nav .bnav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            padding: 6px 16px;
            text-decoration: none;
            color: rgba(255,255,255,.55);
            border: none;
            background: transparent;
            transition: color .2s, transform .2s;
            min-width: 64px;
            border-radius: 12px;
            position: relative;
        }
        .app-bottom-nav .bnav-item:hover {
            color: rgba(255,255,255,.9);
            transform: translateY(-1px);
        }
        .app-bottom-nav .bnav-item:active {
            transform: scale(.92);
            background: rgba(255,255,255,.08);
        }
        .app-bottom-nav .bnav-item i {
            font-size: 20px;
            transition: transform .2s;
        }
        .app-bottom-nav .bnav-item span {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: .3px;
            transition: color .2s;
        }
        .app-bottom-nav .bnav-item.active {
            color: #fff;
        }
        .app-bottom-nav .bnav-item.active::before {
            content: "";
            position: absolute;
            top: 1px;
            left: 50%;
            transform: translateX(-50%);
            width: 44px;
            height: 30px;
            border-radius: 999px;
            background: linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,.07));
            border: 1px solid rgba(255,255,255,.3);
            box-shadow: 0 4px 14px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.3);
        }
        .app-bottom-nav .bnav-item.active i {
            transform: translateY(-1px) scale(1.15);
            color: #fff;
            filter: drop-shadow(0 2px 8px rgba(196,181,253,.85));
        }
        .app-bottom-nav .bnav-item.active span {
            color: #fff;
            text-shadow: 0 0 12px rgba(168,85,247,.65);
        }

        @media(max-width:768px) {
            body { padding-bottom: 68px; padding-top: 56px; }
            .app-header { padding: 0 8px !important; height: 56px !important; }
            .app-launcher { width: 100% !important; border-radius: 0 !important; }
            .app-grid { gap: 6px; }
            .app-item { min-height: 68px; padding: 10px 6px; border-radius: 16px; }
            .app-item i { font-size: 20px; }
            .app-item span { font-size: 10px; }
            .myhris-logo { max-height: 28px; padding: 3px 6px; }
            .user-avatar { width: 30px; height: 30px; border-width: 1.5px; }
            .user-name-text { display: none !important; }
            .content.p-3 { padding: 12px !important; }
            .apps-launcher { display: none !important; }
            .app-section-title { font-size: 9px; padding: 12px 4px 4px; }
            .user-premium-modal .modal-dialog { margin: 12px; }
            .user-modal-card { border-radius: 22px; }
            .user-modal-header { padding: 20px 20px 4px; }
            .user-modal-body { padding: 4px 20px 0; }
            .user-modal-footer { padding: 12px 20px 20px; gap: 6px; }
            .user-modal-btn { min-height: 38px; font-size: 10px; padding: 8px 6px; border-radius: 12px; }
            .user-modal-photo { width: 100px; height: 100px; }
            .user-modal-photo-wrap { padding: 4px; margin-bottom: 10px; }
            .user-modal-name { font-size: 1rem !important; margin: 2px 0 10px; }
            .user-modal-eyebrow { font-size: 9px; }
            .user-modal-title { font-size: 1rem; }
            .app-main { min-height: calc(100vh - 140px); }
        }
        @media(max-width:480px) {
            .app-launcher { width: 100% !important; border-radius: 0 !important; }
            .app-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
            .app-item { min-height: 64px; border-radius: 12px; padding: 8px 4px; }
            .app-item i { font-size: 18px; }
            .app-item span { font-size: 9px; }
            .content.p-3 { padding: 10px !important; }
            .user-modal-info p { padding: 8px 10px; border-radius: 12px; gap: 8px; }
            .user-modal-info .info-label { font-size: 9px; min-width: 50px; }
            .user-modal-info .info-value { font-size: 11px; }
            .user-modal-info .info-icon { width: 26px; height: 26px; font-size: 10px; }
            .app-bottom-nav { height: 58px; }
            .app-bottom-nav .bnav-item { min-width: 56px; padding: 4px 12px; }
            .app-bottom-nav .bnav-item i { font-size: 18px; }
            .app-bottom-nav .bnav-item span { font-size: 9px; }
        }
        @media(min-width:769px) {
            .app-bottom-nav { display: none !important; }
        }
        /* ===== SELECT2 HEIGHT MATCH BOOTSTRAP FORM-CONTROL ===== */
        .select2-container--default .select2-selection--single {
            height: calc(1.5em + 0.75rem + 2px) !important;
            padding: .375rem .75rem !important;
            border: 1px solid #dee2e6 !important;
        }
        .select2-container--default .select2-selection--single .select2-selection__rendered {
            line-height: 1.5 !important;
            padding: 0 !important;
            color: #212529 !important;
        }
        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: calc(1.5em + 0.75rem + 0px) !important;
            top: 1px !important;
            right: 4px !important;
        }
        .select2-container--default .select2-selection--single .select2-selection__placeholder {
            color: #6c757d !important;
        }
        .select2-container--default .select2-search--dropdown .select2-search__field {
            border: 1px solid #dee2e6 !important;
            padding: .25rem .5rem !important;
        }
        .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
            background-color: #7C3AED !important;
        }
    

        .myhris-toast-inner {
            position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
            background: #1e1b4b; color: #fff; padding: 14px 24px; border-radius: 14px;
            box-shadow: 0 8px 40px rgba(0,0,0,.25); max-width: 360px; width: calc(100% - 32px);
            z-index: 99999;
            opacity: 0; transition: opacity .35s ease, transform .35s ease;
            font-family: 'Segoe UI', system-ui, sans-serif;
            border: 1px solid rgba(255,255,255,.08);
        }
        .myhris-toast-show .myhris-toast-inner {
            opacity: 1; transform: translateX(-50%) translateY(0);
        }
        .myhris-toast-title {
            font-weight: 700; font-size: 13px; margin-bottom: 4px; color: #a78bfa;
        }
        .myhris-toast-body {
            font-size: 12px; color: rgba(255,255,255,.75);
        }
    


/* ======================================================================
   FILE: ApprovalLeave.aspx  (scoped under body.page-approvalleave)
   ====================================================================== */



 


 


 .attachment-preview-card{
        background: #faf8ff;
        border: 1px solid #ece6fa;
        border-radius: 24px;
        padding: 16px;
    }.pdf-preview-frame{
        width: 100%;
        height: 420px;
        border: 0;
        border-radius: 20px;
        background: #fff;
    }@media(max-width:768px){

        .pdf-preview-frame{
            height:300px;
        }

    }




/* ======================================================================
   FILE: ApprovalPermission.aspx  (scoped under body.page-approvalpermission)
   ====================================================================== */



 


 


 .attachment-preview-card{
        background: #faf8ff;
        border: 1px solid #ece6fa;
        border-radius: 24px;
        padding: 16px;
    }.pdf-preview-frame{
        width: 100%;
        height: 420px;
        border: 0;
        border-radius: 20px;
        background: #fff;
    }@media(max-width:768px){

        .pdf-preview-frame{
            height:300px;
        }

    }




/* ======================================================================
   FILE: Attendance.aspx  (scoped under body.page-attendance)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 /* ===== ATTENDANCE TABLE — PREMIUM ===== */
        #tblAttendance{
            border-collapse: separate;
            border-spacing: 0 8px;
            width: 100%;
            margin-top: -4px;
        }#tblAttendance thead th{
            background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(139,92,246,.03));
            color: #4c1d95;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: .7px;
            font-weight: 800;
            padding: 12px 14px;
            white-space: nowrap;
            border: none;
            vertical-align: top;
        }#tblAttendance thead th:first-child{ border-radius: 12px 0 0 12px; }#tblAttendance thead th:last-child{ border-radius: 0 12px 12px 0; }#tblAttendance tbody td{
            background: #fff;
            border-top: 1px solid #f1f5f9 !important;
            padding: 13px 14px;
            vertical-align: middle;
            font-size: 13.5px;
            color: #1e293b;
        }#tblAttendance tbody tr:hover td{ background: #f8fafc; }#tblAttendance tbody tr:hover td:first-child{ box-shadow: inset 3px 0 0 #7c3aed; }#tblAttendance tbody tr td:first-child{
            border-radius: 12px 0 0 12px;
            font-weight: 600;
            color: #334155;
        }#tblAttendance tbody tr td:last-child{ border-radius: 0 12px 12px 0; }#tblAttendance tbody tr.child td{
            background: #f8fafc !important;
            border-radius: 12px;
        }.col-search-input{
            min-width: 96px;
            margin-top: 8px;
            border-radius: 10px !important;
            border-color: #e2e8f0 !important;
            font-size: 12px !important;
            padding: 6px 10px !important;
            box-shadow: none !important;
        }.col-search-input:focus{
            border-color: #7c3aed !important;
            box-shadow: 0 0 0 3px rgba(124,58,237,.14) !important;
        }#tblAttendance_wrapper .dataTables_length{
            float: left;
            margin-bottom: 12px;
        }#tblAttendance_wrapper .dataTables_filter{
            float: right;
            margin-bottom: 12px;
        }#tblAttendance_wrapper .dataTables_filter input{
            border-radius: 10px;
            border: 1px solid #e2e8f0;
            padding: 6px 12px;
            font-size: 13px;
        }#tblAttendance_wrapper .dataTables_info{
            padding-top: 14px;
            font-size: 12.5px;
            color: #64748b;
        }#tblAttendance_wrapper .dataTables_paginate .paginate_button{
            border-radius: 10px !important;
        }@media (max-width: 768px){
            #tblAttendance { border-spacing: 0 6px; }
            #tblAttendance thead th { font-size: 10px; padding: 10px 8px; }
            #tblAttendance tbody td { padding: 11px 8px; font-size: 12.5px; }
            #tblAttendance thead th:first-child,
            #tblAttendance tbody tr td:first-child { border-radius: 10px 0 0 10px; }
            #tblAttendance thead th:last-child,
            #tblAttendance tbody tr td:last-child { border-radius: 0 10px 10px 0; }
            .col-search-input {
                min-width: 64px;
                margin-top: 6px;
                font-size: 11px !important;
                padding: 5px 8px !important;
            }
            #tblAttendance_wrapper .dataTables_length,
            #tblAttendance_wrapper .dataTables_filter {
                float: none;
                width: 100%;
                text-align: left;
            }
            #tblAttendance_wrapper .dataTables_filter input { width: 100%; }
        }
    


/* ======================================================================
   FILE: CompanyPolicy.aspx  (scoped under body.page-companypolicy)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 .policy-shell{
            max-width: 1180px;
            margin: 0 auto;
        }.policy-card{
            overflow: hidden;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, .72);
            background: rgba(255, 255, 255, .92);
            box-shadow: 0 18px 48px rgba(15, 23, 42, .13);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }.policy-header{
            position: relative;
            padding: 20px 22px;
            color: var(--ink);
            background: rgba(255, 255, 255, .86);
            border-bottom: 1px solid var(--line);
        }.policy-header::before{
            content: "";
            position: absolute;
            inset: 0 0 auto;
            height: 5px;
            background: linear-gradient(90deg, var(--myhris-purple), var(--myhris-accent));
        }.policy-title{
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--ink);
            font-size: 18px;
            font-weight: 900;
            line-height: 1.25;
        }.policy-title-icon{
            width: 42px;
            height: 42px;
            flex: 0 0 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            color: #fff;
            font-size: 18px;
            background: linear-gradient(135deg, var(--myhris-purple), var(--myhris-purple-dark));
            box-shadow: 0 12px 24px rgba(0, 96, 17, .20);
        }.policy-subtitle{
            margin: 7px 0 0 54px;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.45;
        }.policy-body{
            padding: 16px;
        }.treeview-custom{
            list-style: none;
            margin: 0;
            padding: 4px;
            max-height: 68vh;
            overflow-y: auto;
            scrollbar-width: thin;
            scroll-behavior: smooth;
            font-family: "Poppins", "Segoe UI", Arial, sans-serif;
        }.treeview-custom::-webkit-scrollbar{
            width: 6px;
        }.treeview-custom::-webkit-scrollbar-thumb{
            border-radius: 999px;
            background: rgba(0, 96, 17, .28);
        }.treeview-custom::-webkit-scrollbar-track{
            background: #f4f7f5;
        }.treeview-custom li{
            padding-left: 0;
        }.tv-node{
            position: relative;
            display: block;
            margin-bottom: 7px !important;
            padding: 13px 15px 13px 44px !important;
            color: var(--ink);
            font-size: 14px;
            font-weight: 700;
            line-height: 1.35;
            text-decoration: none;
            border: 1px solid var(--line) !important;
            border-radius: 8px;
            background: #fff;
            box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
            transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
        }.tv-node::before{
            content: "\f1c1";
            position: absolute;
            top: 50%;
            left: 14px;
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transform: translateY(-50%);
            color: var(--myhris-accent-dark);
            font-family: "Font Awesome 6 Free";
            font-size: 16px;
            font-weight: 900;
        }.tv-node:hover{
            cursor: pointer;
            color: var(--ink);
            text-decoration: none;
            transform: translateX(3px);
            border-color: rgba(0, 96, 17, .22) !important;
            background: #fbfdfc;
            box-shadow: 0 14px 28px rgba(15, 23, 42, .10);
        }.tv-parent{
            position: relative;
            display: block;
            margin: 8px 0 7px !important;
            padding: 13px 15px 13px 44px !important;
            color: var(--myhris-purple-dark) !important;
            font-size: 14px;
            font-weight: 900 !important;
            line-height: 1.35;
            border: 1px solid rgba(0, 96, 17, .14) !important;
            border-radius: 8px;
            background: var(--soft-purple);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .52);
            transition: transform .18s ease, box-shadow .18s ease;
        }.tv-parent::before{
            content: "\f07b";
            position: absolute;
            top: 50%;
            left: 14px;
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transform: translateY(-50%);
            color: var(--myhris-purple);
            font-family: "Font Awesome 6 Free";
            font-size: 16px;
            font-weight: 900;
        }.tv-parent:hover{
            cursor: pointer;
            transform: translateX(3px);
            box-shadow: 0 12px 24px rgba(0, 96, 17, .10);
        }.aspNet-TreeView .TreeNodeSelected, .treeview-custom .TreeNodeSelected{
            color: #fff !important;
            background: linear-gradient(135deg, var(--myhris-purple), var(--myhris-purple-dark)) !important;
            border-color: rgba(0, 96, 17, .35) !important;
            box-shadow: 0 12px 26px rgba(0, 96, 17, .20);
        }#download{
            display: none !important;
        }#pdfModal .modal-dialog{
            max-width: min(1120px, 94vw) !important;
        }#pdfModal .modal-content{
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, .72);
            border-radius: 8px;
            background: rgba(255, 255, 255, .96);
            box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }#pdfModal .modal-header{
            position: relative;
            padding: 16px 18px;
            border-bottom: 1px solid var(--line);
            background: #fff;
        }#pdfModal .modal-header::before{
            content: "";
            position: absolute;
            inset: 0 0 auto;
            height: 4px;
            background: linear-gradient(90deg, var(--myhris-purple), var(--myhris-accent));
        }#pdfModal .modal-title{
            color: var(--ink);
            font-size: 16px;
            font-weight: 900;
        }#pdfModal .modal-body{
            height: 80vh;
            padding: 0;
            background: #f4f7f5;
        }#iframePdf{
            width: 100%;
            height: 100%;
            border: 0;
        }@media (max-width: 768px){
            .policy-shell {
                padding-left: 0;
                padding-right: 0;
            }

            .policy-header {
                padding: 18px;
            }

            .policy-title {
                font-size: 16px;
            }

            .policy-title-icon {
                width: 38px;
                height: 38px;
                flex-basis: 38px;
                font-size: 16px;
            }

            .policy-subtitle {
                margin-left: 50px;
                font-size: 12.5px;
            }

            .policy-body {
                padding: 12px;
            }

            .treeview-custom {
                max-height: calc(100svh - 190px);
                padding: 2px;
            }

            .tv-node,
            .tv-parent {
                margin-bottom: 6px !important;
                padding: 12px 12px 12px 42px !important;
                font-size: 14px;
            }

            .tv-node::before,
            .tv-parent::before {
                left: 13px;
            }

            #pdfModal .modal-dialog {
                width: 100%;
                max-width: 100% !important;
                height: 100svh;
                margin: 0;
            }

            #pdfModal .modal-content {
                height: 100svh;
                border-radius: 0;
            }

            #pdfModal .modal-body {
                height: calc(100svh - 58px) !important;
            }
        }
    


/* ======================================================================
   FILE: Dashboard.aspx  (scoped under body.page-dashboard)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 .greeting-hero{
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            background-color: #4c1d95;
            background-repeat: no-repeat;
            background-position: right center;
            background-size: contain;
        }@media (max-width: 768px){
            .greeting-hero {
                background-size: cover;
            }
        }.greeting-overlay{
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(76,29,149,.85) 0%, rgba(91,33,182,.75) 50%, rgba(49,18,109,.70) 100%);
        }.greeting-content{
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 28px 30px;
            width: 100%;
        }.greeting-avatar-wrap{
            flex-shrink: 0;
            padding: 4px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(243,244,246,.7));
            box-shadow: 0 8px 24px rgba(0,0,0,.25);
        }.greeting-avatar{
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            object-position: center;
            border: 3px solid #fff;
            display: block;
        }.greeting-text{
            flex: 1;
            min-width: 0;
        }.greeting-sub{
            font-size: 13px;
            font-weight: 700;
            color: rgba(255,255,255,.75);
            letter-spacing: .5px;
            text-transform: uppercase;
            margin-bottom: 2px;
        }.greeting-sub i{
                margin-right: 6px;
            }.greeting-name{
            font-size: 26px;
            font-weight: 800;
            color: #fff;
            line-height: 1.2;
            text-shadow: 0 2px 12px rgba(0,0,0,.2);
        }.greeting-date{
            font-size: 13px;
            font-weight: 600;
            color: rgba(255,255,255,.65);
            margin-top: 4px;
        }@media(max-width:768px){
            .greeting-hero {
                min-height: 130px;
                border-radius: 16px;
                margin-bottom: 14px;
            }

            .greeting-content {
                padding: 18px 20px;
                gap: 14px;
            }

            .greeting-avatar-wrap {
                padding: 3px;
            }

            .greeting-avatar {
                width: 52px;
                height: 52px;
                border-width: 2.5px;
            }

            .greeting-name {
                font-size: 20px;
            }

            .greeting-sub {
                font-size: 11px;
            }

            .greeting-date {
                font-size: 11px;
            }
        }@media(max-width:480px){
            .greeting-hero {
                min-height: 110px;
                border-radius: 14px;
                margin-bottom: 12px;
            }

            .greeting-content {
                padding: 14px 16px;
                gap: 12px;
            }

            .greeting-avatar {
                width: 44px;
                height: 44px;
                border-width: 2px;
            }

            .greeting-avatar-wrap {
                padding: 2px;
            }

            .greeting-name {
                font-size: 17px;
            }

            .greeting-sub {
                font-size: 10px;
            }

            .greeting-date {
                font-size: 10px;
            }

            .greeting-sub i {
                margin-right: 4px;
            }
        }.dashboard-shell{
            display: flex;
            flex-direction: column;
            gap: 18px;
        }.filter-card, .dashboard-card, .chart-card{
            background: #ffffff;
            border: 1px solid rgba(15, 23, 42, .08);
            border-radius: 18px;
            box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
        }.filter-card{
            position: relative;
            z-index: 100;
            padding: 18px;
        }.filter-card label{
                color: #475569;
                font-size: 12px;
                font-weight: 800;
                letter-spacing: .02em;
                margin-bottom: 6px;
                text-transform: uppercase;
            }.filter-card .form-control, .filter-card .form-select, .filter-card .select2-selection{
                min-height: 42px;
                border-color: #dbe3ef !important;
                border-radius: 12px !important;
            }.dashboard-card{
            height: 100%;
            overflow: hidden;
            padding: 20px;
            position: relative;
            transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
        }.dashboard-card::after{
                background: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(20, 184, 166, .08));
                border-radius: 999px;
                content: "";
                height: 82px;
                position: absolute;
                right: -32px;
                top: -42px;
                width: 82px;
            }.dashboard-card:hover{
                border-color: rgba(37, 99, 235, .22);
                box-shadow: 0 18px 38px rgba(15, 23, 42, .11);
                transform: translateY(-3px);
            }.kpi-card{
            align-items: center;
            display: flex;
            gap: 14px;
            min-width: 0;
            position: relative;
            z-index: 1;
        }.kpi-icon{
            align-items: center;
            background: linear-gradient(135deg, #2563eb, #14b8a6);
            border-radius: 16px;
            color: #fff;
            display: flex;
            flex-shrink: 0;
            font-size: 24px;
            height: 58px;
            justify-content: center;
            transition: transform .22s ease;
            width: 58px;
        }.dashboard-card:hover .kpi-icon{
            transform: scale(1.05);
        }.kpi-content{
            flex: 1;
            min-width: 0;
        }.kpi-value{
            color: #0f172a;
            display: block;
            font-size: 32px;
            font-weight: 800;
            line-height: 1;
        }.kpi-title{
            color: #64748b;
            font-size: 13px;
            font-weight: 700;
            margin-top: 7px;
        }.chart-card{
            display: flex;
            flex-direction: column;
            height: 100%;
            min-height: 390px;
            overflow: hidden;
            border: 1px solid rgba(124, 58, 237, .08);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
            transition: box-shadow .25s ease, transform .25s ease;
        }.chart-card:hover{
                box-shadow: 0 18px 40px rgba(124, 58, 237, .12);
                transform: translateY(-3px);
            }.chart-header{
            align-items: center;
            background: linear-gradient(90deg, rgba(124, 58, 237, .05), rgba(139, 92, 246, .03));
            border-bottom: 1px solid #ede9fe;
            color: #0f172a;
            display: flex;
            font-size: 15px;
            font-weight: 800;
            gap: 10px;
            justify-content: space-between;
            padding: 16px 20px;
        }.chart-header i{
                width: 34px;
                height: 34px;
                min-width: 34px;
                border-radius: 10px;
                background: linear-gradient(135deg, #7c3aed, #5b21b6);
                color: #fff;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                box-shadow: 0 6px 14px rgba(124, 58, 237, .25);
            }.chart-header small{
                font-size: 12px;
                font-weight: 700;
            }.chart-title-text{
            align-items: center;
            display: inline-flex;
            gap: 10px;
            min-width: 0;
        }.chart-body{
            flex: 1;
            min-height: 320px;
            padding: 18px;
            position: relative;
        }.chart-body canvas{
                height: 310px !important;
                width: 100% !important;
            }.chart-empty-state{
            align-items: center;
            color: #64748b;
            display: none;
            font-weight: 700;
            inset: 18px;
            justify-content: center;
            position: absolute;
            text-align: center;
        }.chart-empty-state i{
                color: #94a3b8;
                display: block;
                font-size: 28px;
                margin-bottom: 8px;
            }.chart-body.is-empty canvas{
            display: none !important;
        }.chart-body.is-empty .chart-empty-state{
            display: flex;
        }@media (max-width: 768px){
            .dashboard-shell {
                gap: 14px;
            }

            .filter-card {
                border-radius: 14px;
                padding: 14px;
            }

                .filter-card label {
                    font-size: 10px;
                    margin-bottom: 4px;
                }

                .filter-card .form-control,
                .filter-card .form-select {
                    min-height: 38px;
                    border-radius: 10px !important;
                }

                .filter-card .row {
                    --bs-gutter-y: 10px;
                }

                .filter-card .col-md-2 {
                    width: 50%;
                }

                .filter-card .col-md-4 {
                    width: 100%;
                }

            .dashboard-card {
                border-radius: 14px;
                padding: 14px;
            }

                .dashboard-card::after {
                    display: none;
                }

            .kpi-icon {
                height: 48px;
                width: 48px;
                font-size: 20px;
                border-radius: 14px;
            }

            .kpi-card {
                gap: 12px;
            }

            .kpi-value {
                font-size: 24px;
            }

            .kpi-title {
                font-size: 11px;
                margin-top: 4px;
            }

            .row.g-4 {
                --bs-gutter-y: 12px;
            }

                .row.g-4.mb-4 {
                    margin-bottom: 0 !important;
                }

                .row.g-4.mb-3 {
                    margin-bottom: 0 !important;
                }

            .chart-card {
                border-radius: 14px;
                min-height: 300px;
            }

            .chart-header {
                padding: 12px 16px;
                font-size: 13px;
            }

                .chart-header small {
                    font-size: 10px;
                }

            .chart-body {
                min-height: 230px;
                padding: 12px;
            }

                .chart-body canvas {
                    height: 220px !important;
                }

            .chart-empty-state i {
                font-size: 22px;
            }
        }@media (max-width: 480px){
            .dashboard-shell {
                gap: 12px;
            }

            .filter-card {
                border-radius: 12px;
                padding: 12px;
            }

                .filter-card .col-md-2 {
                    width: 100%;
                }

            .dashboard-card {
                border-radius: 12px;
                padding: 12px;
            }

            .kpi-icon {
                height: 42px;
                width: 42px;
                font-size: 17px;
                border-radius: 12px;
            }

            .kpi-card {
                gap: 10px;
            }

            .kpi-value {
                font-size: 21px;
            }

            .kpi-title {
                font-size: 10px;
            }

            .row.g-4 {
                --bs-gutter-y: 10px;
            }

            .chart-card {
                border-radius: 12px;
                min-height: 270px;
            }

            .chart-header {
                padding: 10px 14px;
                font-size: 12px;
            }

            .chart-body {
                min-height: 200px;
                padding: 10px;
            }

                .chart-body canvas {
                    height: 190px !important;
                }
        }/* Mobile workspace section refinements */
        @media (max-width: 768px){
            .menu-workspace-section {
                margin-bottom: 22px;
            }

            .menu-group-header {
                margin-bottom: 12px;
            }

            .menu-group-icon {
                width: 44px;
                height: 44px;
                font-size: 18px;
                border-radius: 14px;
            }

            .menu-group-left {
                gap: 12px;
            }

            .menu-group-title {
                font-size: 18px;
            }

            .menu-group-subtitle {
                font-size: 11px;
            }

            .menu-group-card {
                padding: 14px;
                border-radius: 16px;
            }

            .app-launcher-item {
                border-radius: 16px;
                padding: 10px 6px;
                height: 104px;
                min-height: 104px;
            }

            .app-launcher-icon {
                width: 44px;
                height: 44px;
                min-width: 44px;
                min-height: 44px;
                border-radius: 14px;
                margin-bottom: 7px;
            }

                .app-launcher-icon i {
                    font-size: 19px;
                }

            .app-launcher-title {
                font-size: 10px;
                min-height: 26px;
                line-height: 1.3;
            }

            .row.g-3 {
                --bs-gutter-y: 8px;
                --bs-gutter-x: 8px;
            }

            .col-4 {
                padding-inline: 4px;
            }
        }@media (max-width: 480px){
            .menu-workspace-section {
                margin-bottom: 18px;
            }

            .menu-group-header {
                margin-bottom: 10px;
            }

            .menu-group-icon {
                width: 38px;
                height: 38px;
                font-size: 16px;
                border-radius: 12px;
            }

            .menu-group-left {
                gap: 10px;
            }

            .menu-group-title {
                font-size: 16px;
            }

            .menu-group-subtitle {
                font-size: 10px;
            }

            .menu-group-card {
                padding: 12px;
                border-radius: 14px;
            }

            .app-launcher-item {
                border-radius: 14px;
                padding: 8px 4px;
                height: 96px;
                min-height: 96px;
            }

            .app-launcher-icon {
                width: 40px;
                height: 40px;
                min-width: 40px;
                min-height: 40px;
                border-radius: 12px;
                margin-bottom: 6px;
            }

                .app-launcher-icon i {
                    font-size: 17px;
                }

            .app-launcher-title {
                font-size: 9px;
                min-height: 24px;
                line-height: 1.3;
            }

            .row.g-3 {
                --bs-gutter-y: 6px;
                --bs-gutter-x: 6px;
            }

            .col-4 {
                padding-inline: 4px;
            }
        }/* =========================================
           APP ICON COLOR PALETTE
        ========================================= */
        .menu-group-card .row > div:nth-child(6n+1) .app-launcher-icon{
            background: linear-gradient(135deg, #9333ea, #7c3aed);
            box-shadow: 0 12px 26px rgba(124, 58, 237, .25);
        }.menu-group-card .row > div:nth-child(6n+2) .app-launcher-icon{
            background: linear-gradient(135deg, #1d4ed8, #3b82f6);
            box-shadow: 0 12px 26px rgba(37, 99, 235, .25);
        }.menu-group-card .row > div:nth-child(6n+3) .app-launcher-icon{
            background: linear-gradient(135deg, #047857, #10b981);
            box-shadow: 0 12px 26px rgba(5, 150, 105, .25);
        }.menu-group-card .row > div:nth-child(6n+4) .app-launcher-icon{
            background: linear-gradient(135deg, #b45309, #f59e0b);
            box-shadow: 0 12px 26px rgba(217, 119, 6, .25);
        }.menu-group-card .row > div:nth-child(6n+5) .app-launcher-icon{
            background: linear-gradient(135deg, #be123c, #f43f5e);
            box-shadow: 0 12px 26px rgba(225, 29, 72, .25);
        }.menu-group-card .row > div:nth-child(6n+6) .app-launcher-icon{
            background: linear-gradient(135deg, #0e7490, #06b6d4);
            box-shadow: 0 12px 26px rgba(8, 145, 178, .25);
        }/* Attendance card mobile polish */
        @media (max-width: 768px){
            .attendance-card-body {
                padding: 16px;
                gap: 14px;
            }

            .attendance-info {
                gap: 12px;
            }

            .attendance-icon {
                width: 54px;
                height: 54px;
                font-size: 22px;
                border-radius: 18px;
                flex: 0 0 54px;
            }

            .attendance-kicker {
                font-size: 10px;
                margin-bottom: 4px;
            }

            .attendance-title {
                font-size: 16px;
            }

            .attendance-status {
                font-size: 12px;
            }

            .attendance-btn {
                padding: 10px 16px;
                font-size: 12px;
                border-radius: 12px;
            }

                .attendance-btn i {
                    font-size: 13px;
                }
        }@media (max-width: 480px){
            .attendance-card-body {
                padding: 14px;
                gap: 12px;
            }

            .attendance-icon {
                width: 46px;
                height: 46px;
                font-size: 18px;
                border-radius: 16px;
                flex: 0 0 46px;
            }

            .attendance-kicker {
                font-size: 9px;
            }

            .attendance-title {
                font-size: 14px;
            }

            .attendance-status {
                font-size: 11px;
            }

            .attendance-btn {
                padding: 8px 14px;
                font-size: 11px;
                border-radius: 10px;
            }

                .attendance-btn i {
                    font-size: 12px;
                }
        }/* Smooth scrolling & touch behavior */
        .dashboard-shell{
            -webkit-overflow-scrolling: touch;
        }.dashboard-card, .chart-card, .filter-card, .menu-group-card{
            -webkit-tap-highlight-color: transparent;
        }.app-launcher-item:active{
            transform: scale(.97);
        }@keyframes fadeIn{
            from {
                opacity: 0;
                transform: scale(.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }
    


/* ======================================================================
   FILE: DeviceUser.aspx  (scoped under body.page-deviceuser)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 body.page-deviceuser{
            background: linear-gradient(135deg, #f6f8fc 0%, #eef2ff 100%);
            color: #0f172a;
        }.page-shell{
            max-width: 1280px;
            margin: 0 auto;
            padding: 24px 16px;
        }.device-panel{
            background: #fff;
            border: 1px solid rgba(15, 23, 42, .06);
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(15, 23, 42, .10);
            overflow: hidden;
        }.device-panel::before{
            content: "";
            display: block;
            height: 4px;
            background: linear-gradient(90deg, #2563eb, #7c3aed, #06b6d4);
        }.device-header{
            padding: 22px 24px;
            border-bottom: 1px solid #eef2f7;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }.device-title{
            display: flex;
            align-items: center;
            gap: 14px;
        }.device-icon{
            width: 50px;
            height: 50px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            color: #2563eb;
            background: linear-gradient(135deg, #eff6ff, #dbeafe);
            font-size: 22px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
        }.btn-refresh{
            border-radius: 12px;
            font-weight: 600;
            padding: 9px 18px;
            box-shadow: 0 8px 20px rgba(37,99,235,.18);
            transition: all .2s ease;
        }.btn-refresh:hover{
                transform: translateY(-2px);
                box-shadow: 0 12px 26px rgba(37,99,235,.26);
            }/* ===== STATS ===== */
        .device-stats{
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            padding: 18px 24px;
            border-bottom: 1px solid #eef2f7;
            background: #fcfdff;
        }.stat-card{
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            border-radius: 16px;
            background: #fff;
            border: 1px solid #eef2f7;
            transition: all .2s ease;
        }.stat-card:hover{
                transform: translateY(-2px);
                box-shadow: 0 10px 24px rgba(15,23,42,.08);
            }.stat-icon{
            width: 44px;
            height: 44px;
            border-radius: 13px;
            display: grid;
            place-items: center;
            font-size: 17px;
            flex-shrink: 0;
        }.stat-icon.total{
                background: #eff6ff;
                color: #2563eb;
            }.stat-icon.active{
                background: #dcfce7;
                color: #16a34a;
            }.stat-icon.blocked{
                background: #fee2e2;
                color: #dc2626;
            }.stat-icon.inactive{
                background: #f1f5f9;
                color: #64748b;
            }.stat-value{
            font-size: 21px;
            font-weight: 800;
            line-height: 1.1;
            color: #0f172a;
        }.stat-label{
            font-size: 10.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .05em;
            color: #64748b;
            margin-top: 2px;
        }/* ===== TOOLBAR ===== */
        .device-toolbar{
            padding: 16px 24px;
            border-bottom: 1px solid #eef2f7;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
        }.device-search{
            max-width: 480px;
        }.device-search .form-control{
            border-radius: 0;
            border-left: 0;
            border-right: 0;
            font-size: 14px;
        }.device-search .input-group-text{
            border-radius: 12px 0 0 12px;
            border-color: #dee2e6;
        }.device-search .btn{
            border-radius: 0 12px 12px 0;
            font-weight: 600;
        }.device-count{
            font-size: 13px;
            padding: 7px 14px;
            border-radius: 999px;
            background: #f8fafc;
            border: 1px solid #eef2f7;
        }/* ===== TABLE ===== */
        .device-table{
            margin-bottom: 0;
        }.device-table thead th{
            background: #f8fafc;
            color: #475569;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: .05em;
            border-bottom: 1px solid #e2e8f0;
            padding: 14px 16px;
            white-space: nowrap;
            font-weight: 700;
        }.device-table tbody td{
            padding: 14px 16px;
            vertical-align: middle;
            border-color: #eef2f7;
            font-size: 13.5px;
        }.device-table tbody tr{
            transition: background .15s ease;
        }.device-table tbody tr:hover{
                background: #f8fafc;
            }.emp-code{
            font-family: Consolas, monospace;
            font-size: 12.5px;
            color: #2563eb;
            background: #eff6ff;
            border: 1px solid #dbeafe;
            border-radius: 8px;
            padding: 4px 9px;
            display: inline-block;
        }.emp-avatar{
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            font-weight: 800;
            font-size: 14px;
            color: #fff;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            box-shadow: 0 4px 12px rgba(99,102,241,.25);
            flex-shrink: 0;
        }.device-chip{
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 7px 11px;
            max-width: 280px;
        }.device-id{
            font-family: Consolas, monospace;
            font-size: 12px;
            color: #334155;
            word-break: break-all;
        }.security-badge{
            display: inline-flex;
            align-items: center;
            border-radius: 999px;
            padding: 5px 11px;
            font-size: 11px;
            font-weight: 700;
        }.security-safe{
            background: #dcfce7;
            color: #166534;
        }.security-blocked{
            background: #fee2e2;
            color: #991b1b;
        }.status-badge{
            display: inline-flex;
            align-items: center;
            border-radius: 999px;
            padding: 6px 12px;
            font-size: 12px;
            font-weight: 700;
        }.status-active{
            background: #dcfce7;
            color: #166534;
        }.status-inactive{
            background: #fee2e2;
            color: #991b1b;
        }/* ===== ACTION BUTTONS ===== */
        .device-actions{
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }.device-actions .btn{
            border-radius: 10px;
            font-weight: 600;
            padding: 7px 12px;
            font-size: 12.5px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all .18s ease;
        }.device-actions .btn:hover{
                transform: translateY(-1px);
            }.btn-soft-warning{
            background: #fff7ed;
            color: #c2410c;
            border: 1px solid #fed7aa;
        }.btn-soft-warning:hover{
                background: #ffedd5;
                color: #9a3412;
            }.btn-soft-success{
            background: #ecfdf5;
            color: #047857;
            border: 1px solid #a7f3d0;
        }.btn-soft-success:hover{
                background: #d1fae5;
                color: #065f46;
            }.btn-soft-danger{
            background: #fef2f2;
            color: #b91c1c;
            border: 1px solid #fecaca;
        }.btn-soft-danger:hover{
                background: #fee2e2;
                color: #991b1b;
            }/* ===== DATATABLES polish ===== */
        .device-panel .dataTables_wrapper{
            padding: 0 24px 18px;
        }.device-panel .dataTables_wrapper .dataTables_length, .device-panel .dataTables_wrapper .dataTables_info, .device-panel .dataTables_wrapper .dataTables_paginate{
            margin-top: 14px;
            font-size: 13px;
            color: #475569;
        }.device-panel .dataTables_paginate .paginate_button{
            border-radius: 8px;
            margin-left: 3px;
            padding: 5px 10px;
        }.device-panel .dataTables_paginate .paginate_button.current{
                background: #2563eb;
                color: #fff !important;
                border-color: #2563eb;
            }.device-table td.child{
            padding: 8px 16px !important;
        }/* ===== EMPTY STATE ===== */
        .device-empty{
            padding: 48px 24px;
            text-align: center;
            color: #64748b;
            border-top: 1px solid #eef2f7;
        }.device-empty-icon{
            width: 64px;
            height: 64px;
            margin: 0 auto 14px;
            border-radius: 20px;
            display: grid;
            place-items: center;
            font-size: 24px;
            color: #2563eb;
            background: #eff6ff;
        }/* ===== RESPONSIVE ===== */
        @media (max-width: 992px){
            .device-stats {
                grid-template-columns: repeat(2, 1fr);
            }
        }@media (max-width: 768px){
            .page-shell {
                padding: 14px 10px;
            }

            .device-header {
                padding: 18px 16px;
            }

            .device-header .btn {
                width: 100%;
            }

            .device-toolbar {
                padding: 14px 16px;
            }

            .device-search {
                max-width: 100%;
                width: 100%;
            }

            .device-actions .btn {
                width: 38px;
                height: 38px;
                padding: 0;
                justify-content: center;
                border-radius: 12px;
            }

            .device-actions .action-label {
                display: none;
            }

            .device-table thead th,
            .device-table tbody td {
                white-space: nowrap;
            }
        }@media (max-width: 480px){
            .device-stats {
                gap: 8px;
                padding: 14px;
            }

            .stat-card {
                padding: 10px 12px;
                gap: 8px;
            }

            .stat-icon {
                width: 36px;
                height: 36px;
                font-size: 14px;
            }

            .stat-value {
                font-size: 17px;
            }

            .stat-label {
                font-size: 9px;
            }
        }
    


/* ======================================================================
   FILE: Employee.aspx  (scoped under body.page-employee)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 /* =============================================
   EMPLOYEE PAGE — PREMIUM THEME
============================================= */
        :root{
            --emp-purple: #7c3aed;
            --emp-purple-light: #8b5cf6;
            --emp-purple-soft: rgba(124,58,237,.08);
            --emp-radius: 18px;
            --emp-shadow: 0 12px 32px rgba(15,23,42,.09);
        }/* PAGE WRAPPER */
        .emp-page{
            display: flex;
            flex-direction: column;
            gap: 20px;
        }/* ---- HEADER CARD ---- */
        .emp-header-card{
            background: linear-gradient(135deg,#7c3aed 0%,#6d28d9 60%,#4f46e5 100%);
            border-radius: var(--emp-radius);
            padding: 24px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
            box-shadow: 0 16px 40px rgba(124,58,237,.30);
            position: relative;
            overflow: hidden;
        }.emp-header-card::before{
                content: "";
                position: absolute;
                right: -60px;
                top: -60px;
                width: 220px;
                height: 220px;
                border-radius: 50%;
                background: rgba(255,255,255,.06);
                pointer-events: none;
            }.emp-header-left{
            display: flex;
            align-items: center;
            gap: 16px;
        }.emp-header-icon{
            width: 56px;
            height: 56px;
            background: rgba(255,255,255,.15);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #fff;
            flex-shrink: 0;
        }.emp-header-title{
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            line-height: 1.2;
            margin: 0;
        }.emp-header-sub{
            font-size: 12px;
            color: rgba(255,255,255,.75);
            margin: 2px 0 0;
        }.emp-header-badge{
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255,255,255,.18);
            border: 1px solid rgba(255,255,255,.25);
            border-radius: 999px;
            padding: 4px 14px;
            font-size: 12px;
            font-weight: 700;
            color: #fff;
            margin-top: 6px;
        }.emp-header-right{
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }/* SEARCH BOX */
        .emp-search-wrap{
            position: relative;
        }.emp-search-wrap input{
                padding-left: 38px !important;
                min-width: 260px;
                border-radius: 12px !important;
                border: 1.5px solid rgba(255,255,255,.35) !important;
                background: rgba(255,255,255,.15) !important;
                color: #fff !important;
                font-size: 13px;
            }.emp-search-wrap input::placeholder{
                    color: rgba(255,255,255,.65) !important;
                }.emp-search-wrap input:focus{
                    background: rgba(255,255,255,.22) !important;
                    outline: none;
                    box-shadow: 0 0 0 3px rgba(255,255,255,.2) !important;
                }.emp-search-icon{
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255,255,255,.7);
            font-size: 13px;
            pointer-events: none;
        }/* HEADER BUTTONS */
        .btn-emp-search{
            height: 38px;
            padding: 0 16px;
            background: rgba(255,255,255,.15);
            border: 1.5px solid rgba(255,255,255,.35);
            border-radius: 12px;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: .2s;
        }.btn-emp-search:hover{
                background: rgba(255,255,255,.28);
                color: #fff;
            }/* MOBILE DATATABLES SEARCH */
        .dt-search-mobile {
            display: none;
        }
        @media (max-width: 767.98px) {
            .dt-search-mobile {
                display: block !important;
            }
            .dt-search-mobile .dataTables_filter {
                float: none;
                text-align: left;
                width: 100%;
                margin: 0;
            }
            .dt-search-mobile .dataTables_filter input {
                width: 100% !important;
                padding: 8px 14px;
                border-radius: 12px;
                border: 1.5px solid rgba(124,58,237,.25);
            }
        }.btn-emp-excel{
            height: 38px;
            padding: 0 16px;
            background: rgba(255,255,255,.15);
            border: 1.5px solid rgba(255,255,255,.25);
            border-radius: 12px;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: .2s;
        }.btn-emp-excel:hover{
                background: rgba(255,255,255,.25);
                color: #fff;
                text-decoration: none;
            }.btn-emp-add{
            height: 38px;
            padding: 0 18px;
            background: #fff;
            border: none;
            border-radius: 12px;
            color: var(--emp-purple);
            font-size: 13px;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            box-shadow: 0 4px 14px rgba(0,0,0,.15);
            transition: .2s;
        }.btn-emp-add:hover{
                transform: translateY(-2px);
                box-shadow: 0 6px 18px rgba(0,0,0,.2);
            }/* ---- TABLE CARD ---- */
        .emp-table-card{
            background: #fff;
            border-radius: var(--emp-radius);
            box-shadow: var(--emp-shadow);
            overflow: hidden;
            border: 1px solid rgba(15,23,42,.07);
        }.emp-table-card .table{
                margin: 0;
                font-size: 13.5px;
            }.emp-table-card .table thead th{
                    background: linear-gradient(90deg,rgba(124,58,237,.07),rgba(109,40,217,.04));
                    color: #374151;
                    font-size: 11px;
                    font-weight: 800;
                    text-transform: uppercase;
                    letter-spacing: .06em;
                    border-bottom: 1.5px solid #e5e7eb;
                    padding: 14px 16px;
                    white-space: nowrap;
                }.emp-table-card .table tbody tr{
                    transition: background .15s;
                    border-bottom: 1px solid #f3f4f6;
                }.emp-table-card .table tbody tr:hover{
                        background: rgba(124,58,237,.035);
                    }.emp-table-card .table tbody td{
                    padding: 12px 16px;
                    vertical-align: middle;
                    color: #374151;
                }/* EMPLOYEE PHOTO IN TABLE */
        .emp-photo{
            width: 38px;
            height: 38px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(124,58,237,.2);
            box-shadow: 0 2px 8px rgba(0,0,0,.1);
        }/* STATUS BADGE */
        .badge-active{
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: rgba(16,185,129,.1);
            color: #059669;
            border: 1px solid rgba(16,185,129,.2);
            border-radius: 999px;
            padding: 3px 10px;
            font-size: 11px;
            font-weight: 700;
        }.badge-active::before{
                content: "";
                width: 6px;
                height: 6px;
                background: #10b981;
                border-radius: 50%;
                display: inline-block;
            }.badge-inactive{
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: rgba(239,68,68,.1);
            color: #dc2626;
            border: 1px solid rgba(239,68,68,.2);
            border-radius: 999px;
            padding: 3px 10px;
            font-size: 11px;
            font-weight: 700;
        }.badge-inactive::before{
                content: "";
                width: 6px;
                height: 6px;
                background: #ef4444;
                border-radius: 50%;
                display: inline-block;
            }/* ACTION BUTTON IN TABLE */
        .btn-tbl-action{
            width: 32px;
            height: 32px;
            background: var(--emp-purple-soft);
            border: 1px solid rgba(124,58,237,.15);
            border-radius: 10px;
            color: var(--emp-purple);
            font-size: 13px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: .2s;
            cursor: pointer;
        }.btn-tbl-action:hover{
                background: var(--emp-purple);
                color: #fff;
                transform: scale(1.08);
            }/* ---- MOBILE CARD ---- */
        .emp-mobile-card{
            background: #fff;
            border-radius: 16px;
            border: 1px solid rgba(15,23,42,.08);
            box-shadow: 0 4px 16px rgba(15,23,42,.07);
            overflow: hidden;
            transition: box-shadow .2s, transform .2s;
        }.emp-mobile-card:hover{
                box-shadow: 0 8px 24px rgba(124,58,237,.12);
                transform: translateY(-2px);
            }.emp-mobile-card-top{
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 16px 10px;
            border-bottom: 1px solid #f3f4f6;
        }.emp-mobile-card-profile{
            display: flex;
            align-items: center;
            gap: 12px;
        }.emp-mobile-photo{
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(124,58,237,.2);
        }.emp-mobile-name{
            font-size: 14px;
            font-weight: 700;
            color: #1e293b;
            line-height: 1.3;
        }.emp-mobile-id{
            font-size: 11px;
            color: #6b7280;
            margin-top: 1px;
        }.emp-mobile-action{
            width: 34px;
            height: 34px;
            background: var(--emp-purple-soft);
            border: 1px solid rgba(124,58,237,.15);
            border-radius: 10px;
            color: var(--emp-purple);
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
        }.emp-mobile-body{
            padding: 12px 16px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }.emp-mobile-row label{
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            color: #9ca3af;
            margin: 0;
            display: block;
        }.emp-mobile-row span{
            font-size: 12.5px;
            font-weight: 600;
            color: #374151;
        }.emp-mobile-footer{
            padding: 10px 16px;
            background: #fafafa;
            border-top: 1px solid #f3f4f6;
            display: flex;
            align-items: center;
            gap: 8px;
        }.badge-shift{
            background: rgba(124,58,237,.08);
            color: var(--emp-purple);
            border: 1px solid rgba(124,58,237,.15);
            border-radius: 8px;
            padding: 3px 10px;
            font-size: 11px;
            font-weight: 700;
        }/* ---- MODAL TABS ---- */
        .emp-tabs{
            gap: 4px;
            background: #f1f5f9;
            border-radius: 14px;
            padding: 5px;
            flex-wrap: wrap;
        }.emp-tabs .nav-link{
                border-radius: 10px !important;
                font-size: 12px;
                font-weight: 700;
                color: #64748b;
                padding: 7px 14px;
                display: flex;
                align-items: center;
                gap: 6px;
                transition: .2s;
                border: none !important;
            }.emp-tabs .nav-link:hover{
                    background: rgba(124,58,237,.08);
                    color: var(--emp-purple);
                }.emp-tabs .nav-link.active{
                    background: #fff !important;
                    color: var(--emp-purple) !important;
                    box-shadow: 0 2px 8px rgba(15,23,42,.1);
                }.emp-section-title{
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .08em;
            color: var(--emp-purple);
            padding-bottom: 8px;
            border-bottom: 2px solid rgba(124,58,237,.12);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }.emp-modal-header{
            background: linear-gradient(135deg,#7c3aed,#6d28d9);
            padding: 18px 24px;
        }.emp-modal-header .modal-title{
                font-size: 16px;
                font-weight: 800;
            }.emp-photo-wrap{
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            padding: 20px 0 16px;
            border-bottom: 1px solid #f1f5f9;
            margin-bottom: 20px;
        }.emp-photo-preview{
            width: 110px;
            height: 110px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid rgba(124,58,237,.2);
            box-shadow: 0 8px 24px rgba(124,58,237,.15);
        }.emp-upload-btn{
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            background: var(--emp-purple-soft);
            border: 1px dashed rgba(124,58,237,.3);
            border-radius: 10px;
            font-size: 12px;
            font-weight: 600;
            color: var(--emp-purple);
            cursor: pointer;
        }body.page-employee .form-control, body.page-employee .form-select{
            border-radius: 10px !important;
            border-color: #e2e8f0 !important;
            font-size: 13px !important;
        }body.page-employee .form-control:focus, body.page-employee .form-select:focus{
                border-color: var(--emp-purple) !important;
                box-shadow: 0 0 0 3px rgba(124,58,237,.12) !important;
            }.geo-container{
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 12px 16px;
            max-height: 200px;
            overflow-y: auto;
        }/* ---- ACTION POPUP ---- */
        .emp-action-popup .modal-content{
            border: none;
            border-radius: 20px;
            box-shadow: 0 24px 64px rgba(15,23,42,.16);
            overflow: hidden;
        }.emp-action-header{
            background: linear-gradient(135deg,#7c3aed,#6d28d9);
            padding: 20px 22px;
            display: flex;
            align-items: center;
            gap: 14px;
        }.emp-action-avatar{
            width: 48px;
            height: 48px;
            background: rgba(255,255,255,.18);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #fff;
            flex-shrink: 0;
        }.emp-action-name{
            font-size: 15px;
            font-weight: 800;
            color: #fff;
            margin: 0;
        }.emp-action-kicker{
            font-size: 10px;
            font-weight: 700;
            letter-spacing: .1em;
            color: rgba(255,255,255,.65);
            text-transform: uppercase;
        }.btn-action-item{
            display: flex;
            align-items: center;
            gap: 14px;
            width: 100%;
            padding: 14px 18px;
            background: #fff;
            border: none;
            border-bottom: 1px solid #f3f4f6;
            text-align: left;
            cursor: pointer;
            transition: background .15s;
        }.btn-action-item:last-child{
                border-bottom: none;
            }.btn-action-item:hover{
                background: #f8fafc;
            }.btn-action-item.danger:hover{
                background: #fff5f5;
            }.action-item-icon{
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }.action-item-icon.warning{
                background: rgba(245,158,11,.1);
                color: #d97706;
            }.action-item-icon.secondary{
                background: rgba(100,116,139,.1);
                color: #475569;
            }.action-item-icon.success{
                background: rgba(16,185,129,.1);
                color: #059669;
            }.action-item-icon.danger{
                background: rgba(239,68,68,.1);
                color: #dc2626;
            }.action-item-text strong{
            display: block;
            font-size: 13px;
            font-weight: 700;
            color: #1e293b;
        }.action-item-text small{
            font-size: 11.5px;
            color: #6b7280;
        }.action-arrow{
            margin-left: auto;
            color: #cbd5e1;
            font-size: 12px;
        }/* RESPONSIVE */
        @media(max-width:768px){
            .emp-search-wrap input {
                min-width: 180px;
            }

            .emp-header-card {
                padding: 18px 16px;
            }
        }@media(min-width:769px){
            .emp-mobile-only {
                display: none !important;
            }
        }@media(max-width:768px){
            .emp-desktop-only {
                display: none !important;
            }
        }.emp-upload-card{
            background: #f8fafc;
            border-radius: 16px;
            padding: 16px 20px;
            margin-bottom: 20px;
            border: 1px dashed #cbd5e1;
        }.emp-upload-body .form-control{
            border-radius: 12px;
        }.dt-search{ border-radius:6px !important; font-size:12px !important; }.dt-search:focus{ border-color:#7C3AED !important; box-shadow:0 0 0 2px rgba(124,58,237,.15) !important; }.search-row th{ background:#f1f5f9 !important; padding:6px 4px !important; vertical-align:top; }.search-row input, .search-row select{ font-size:13px !important; height:34px !important; line-height:1.5 !important; padding:5px 10px !important; box-sizing:border-box !important; }.search-row select{ appearance:auto; -webkit-appearance:auto; padding-right:10px !important; }.dataTables_wrapper .dataTables_filter{ display:none; }body.page-employee thead{ position:sticky; top:60px; z-index:10; background:#fff; }table.dataTable.fixedHeader-floating, table.dataTable.fixedHeader-locked{ background:#fff !important; box-shadow:0 2px 6px rgba(0,0,0,.08); }/* ===== CONSISTENT FORM CONTROL HEIGHT ===== */
        body.page-employee .form-control, body.page-employee .form-select, .select2-container--default .select2-selection--single{ height:34px !important; font-size:13px !important; }.select2-container--default .select2-selection--single{ padding:5px 10px !important; }.select2-container--default .select2-selection--single .select2-selection__rendered{ line-height:22px !important; font-size:13px !important; }.select2-container--default .select2-selection--single .select2-selection__arrow{ height:32px !important; }
    


/* ======================================================================
   FILE: FM_GeoFence.aspx  (scoped under body.page-fm_geofence)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 body.page-fm_geofence .form-control-modern{
            border-radius: 18px;
            border: 1px solid #e5e7eb;
            min-height: 52px;
            padding: 14px 18px;
            font-size: .95rem;
            transition: .25s ease;
            box-shadow: none !important;
        }body.page-fm_geofence .form-control-modern:focus{
                border-color: #7c3aed;
                box-shadow: 0 0 0 4px rgba(124,58,237,.12) !important;
            }.char-counter{
            position: absolute;
            right: 14px;
            bottom: 10px;
            font-size: .72rem;
            color: #9ca3af;
        }.premium-address-card{
            background: #faf8ff;
            border: 1px solid #eee7ff;
            border-radius: 24px;
            padding: 22px;
        }.section-title{
            display: flex;
            align-items: center;
            gap: 9px;
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .05em;
            color: #6d28d9;
            background: #faf8ff;
            border-left: 5px solid #7c3aed;
            border-radius: 12px;
            padding: 10px 14px;
            margin-bottom: 16px;
        }.card{
            border: none;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0,0,0,.05);
        }.geo-card{
            border-radius: 22px;
            transition: .25s ease;
        }.geo-card:hover{
                transform: translateY(-3px);
            }.geo-empty{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 48px 24px;
            text-align: center;
            color: #64748b;
        }.geo-empty-icon{
            width: 60px;
            height: 60px;
            border-radius: 18px;
            display: grid;
            place-items: center;
            font-size: 22px;
            color: #7c3aed;
            background: #f3e8ff;
        }/* =========================================
           MODERN TABLE OVERRIDE
        ========================================= */
        .grid-enterprise{
            border-radius: 20px;
            background: #fff;
            border: 1px solid #eceaf8;
            box-shadow: 0 12px 34px rgba(79, 70, 229, .06);
        }.grid-enterprise .table{
            margin-bottom: 0;
        }.grid-enterprise .table thead th{
            background: linear-gradient(135deg, #f5f2ff, #faf8ff);
            color: #6d28d9;
            border: 0;
            padding: 15px 16px;
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .06em;
            white-space: nowrap;
            border-bottom: 2px solid #ede9fe;
        }.grid-enterprise .table tbody td{
            padding: 14px 16px;
            font-size: 13.5px;
            color: #334155;
            border-color: #f1f0fb;
            vertical-align: middle;
        }.grid-enterprise .table tbody tr{
            transition: all .2s ease;
        }.grid-enterprise .table tbody tr:hover{
                background: #fbfaff;
            }.grid-enterprise .table tbody tr:last-child td{
                border-bottom: 0;
            }.grid-enterprise .table tbody td:nth-child(2){
            font-weight: 600;
            color: #1e293b;
        }.grid-enterprise .table tbody td:last-child{
            font-weight: 400;
            color: inherit;
        }.grid-enterprise .badge{
            font-size: 11.5px;
            font-weight: 700;
            padding: 6px 12px;
        }.grid-enterprise .badge-radius{
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-width: 80px;
            padding: 6px 12px;
            border-radius: 999px;
            background: #f3e8ff;
            color: #7c3aed;
            font-size: 12.5px;
            font-weight: 700;
        }.geo-code-chip{
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 11px;
            border-radius: 9px;
            background: #f3e8ff;
            color: #7c3aed;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .03em;
        }/* ACTION ICON BUTTONS - CENTERED */
        .geo-btn{
            width: 40px !important;
            height: 40px !important;
            padding: 0 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            border-radius: 12px !important;
            box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
            transition: all .2s ease;
        }.geo-btn i{
                margin: 0;
                font-size: 14px;
                line-height: 1;
            }.geo-btn:hover{
                transform: translateY(-2px);
                box-shadow: 0 8px 18px rgba(15, 23, 42, .14);
            }/* DATATABLES POLISH */
        .grid-enterprise .dataTables_wrapper{
            padding: 0 18px 18px;
        }.grid-enterprise .dataTables_wrapper .dataTables_length, .grid-enterprise .dataTables_wrapper .dataTables_info, .grid-enterprise .dataTables_wrapper .dataTables_paginate{
            margin-top: 14px;
            font-size: 13px;
            color: #475569;
        }.grid-enterprise .dataTables_paginate .paginate_button{
            border-radius: 8px;
            margin-left: 3px;
            padding: 5px 10px;
        }.grid-enterprise .dataTables_paginate .paginate_button.current{
            background: #7c3aed !important;
            border-color: #7c3aed !important;
            color: #fff !important;
        }/* =========================================
           FORM POLISH
        ========================================= */
        .form-label{
            font-size: 13px;
            color: #4b5563;
            margin-bottom: 8px;
        }small.text-muted{
            font-size: 12px;
            color: #94a3b8 !important;
        }.input-icon{
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #a1a1aa;
            font-size: 14px;
            pointer-events: none;
            z-index: 5;
            transition: color .2s ease;
        }.position-relative:focus-within .input-icon{
            color: #7c3aed;
        }.has-input-icon{
            padding-left: 42px !important;
        }.radius-group .form-control-modern{
            border-radius: 18px 0 0 18px;
        }.radius-group .input-group-text{
            background: #f3e8ff;
            color: #7c3aed;
            font-weight: 800;
            font-size: 13px;
            border: 1px solid #e5e7eb;
            border-left: none;
            border-radius: 0 18px 18px 0;
            padding: 0 18px;
        }.switch-card{
            border-radius: 18px;
            padding: 0 16px;
            gap: 10px;
        }.switch-card:hover{
                border-color: #ddd6fe;
                box-shadow: 0 10px 24px rgba(124,58,237,.10);
            }.switch-card .switch-info{
            margin-right: auto;
        }.switch-icon{
            flex: 0 0 auto;
            width: 38px;
            height: 38px;
            border-radius: 12px;
            display: grid;
            place-items: center;
            background: #f3e8ff;
            color: #7c3aed;
            font-size: 15px;
        }.geo-btn-outline{
            border-radius: 14px;
            padding: 12px 20px;
            font-weight: 700;
            border: 2px solid #7c3aed;
            color: #7c3aed;
            background: #fff;
            transition: all .2s ease;
        }.geo-btn-outline:hover{
                background: #7c3aed;
                color: #fff;
                transform: translateY(-2px);
                box-shadow: 0 10px 20px rgba(124,58,237,.18);
            }.geo-btn-solid{
            border: none;
            border-radius: 14px;
            padding: 12px 24px;
            font-weight: 700;
            background: linear-gradient(135deg, #15803d, #22c55e);
            box-shadow: 0 8px 20px rgba(34,197,94,.25);
            transition: all .2s ease;
        }.geo-btn-solid:hover{
                transform: translateY(-2px);
                box-shadow: 0 12px 26px rgba(34,197,94,.35);
            }.geo-btn-danger{
            border: none;
            border-radius: 14px;
            padding: 12px 24px;
            font-weight: 700;
            background: linear-gradient(135deg, #dc2626, #ef4444);
            box-shadow: 0 8px 20px rgba(239,68,68,.22);
            transition: all .2s ease;
        }.geo-btn-danger:hover{
                transform: translateY(-2px);
                box-shadow: 0 12px 26px rgba(239,68,68,.32);
            }.geo-btn-primary{
            border: none;
            border-radius: 14px;
            padding: 12px 24px;
            font-weight: 700;
            background: linear-gradient(135deg, #7c3aed, #5b21b6);
            box-shadow: 0 8px 20px rgba(124,58,237,.25);
            transition: all .2s ease;
        }.geo-btn-primary:hover{
                transform: translateY(-2px);
                box-shadow: 0 12px 26px rgba(124,58,237,.35);
            }/* GEO MODAL */
        .geo-modal-card{
            border: none;
            border-radius: 24px;
            overflow: hidden;
        }.geo-modal-header{
            background: linear-gradient(135deg, #7c3aed, #5b21b6);
            padding: 18px 24px;
        }.geo-modal-title{
            color: #fff;
            font-size: 17px;
            font-weight: 800;
        }.geo-modal-body{
            padding: 22px;
            background: #fff;
        }.geo-modal-footer{
            padding: 14px 22px;
            background: #faf8ff;
        }
    


/* ======================================================================
   FILE: Info.aspx  (scoped under body.page-info)
   ====================================================================== */

    
 
    
 
    
 
    
 .coming-soon{
            text-align: center;
            padding: 20px;
            border: 1px solid #dee2e6;
            border-radius: 10px;
            background-color: #ffffff;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }.coming-soon h1{
            font-size: 3rem;
            color: #343a40; /* Dark grey text */
        }.coming-soon p{
            font-size: 1.25rem;
            color: #6c757d; /* Medium grey text */
        }.coming-soon .btn{
            margin-top: 20px;
        }
    


/* ======================================================================
   FILE: LeaveRecord.aspx  (scoped under body.page-leaverecord)
   ====================================================================== */


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 .leave-page{
        max-width: 1280px;
        margin: 0 auto;
    }.leave-shell, .leave-grid-card{
        overflow: hidden;
        border-radius: 8px;
        background: rgba(255, 255, 255, .92);
        border: 1px solid rgba(255, 255, 255, .72);
        box-shadow: 0 18px 48px rgba(15, 23, 42, .13);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }.leave-header{
        position: relative;
        padding: 20px 22px;
        background: rgba(255, 255, 255, .86);
        border-bottom: 1px solid var(--line);
    }.leave-header::before, .leave-grid-card::before{
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 5px;
        background: linear-gradient(90deg, var(--myhris-purple), var(--myhris-accent));
    }.leave-title{
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--ink);
        font-size: 18px;
        font-weight: 900;
        line-height: 1.25;
    }.leave-title-icon{
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: #fff;
        background: linear-gradient(135deg, var(--myhris-purple), var(--myhris-purple-dark));
        box-shadow: 0 12px 24px rgba(0, 96, 17, .20);
    }.leave-subtitle{
        margin: 7px 0 0 54px;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.45;
    }.leave-badge{
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 8px 11px;
        border-radius: 8px;
        color: var(--myhris-purple-dark);
        background: var(--soft-purple);
        border: 1px solid rgba(0, 96, 17, .12);
        font-size: 12px;
        font-weight: 900;
        white-space: nowrap;
    }.leave-body{
        padding: 16px;
    }.leave-filter-card{
        margin-bottom: 12px;
        padding: 14px;
        display: flex;
        align-items: center;
        gap: 12px;
        border-radius: 8px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
    }.filter-row{
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
    }.filter-label{
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        color: var(--myhris-purple-dark);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .4px;
        text-transform: uppercase;
        white-space: nowrap;
    }.filter-label i{
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: #fff;
        background: linear-gradient(135deg, var(--myhris-purple), var(--myhris-purple-dark));
    }.filter-dropdown, body.page-leaverecord .form-control-sm{
        min-height: 40px;
        border-radius: 8px;
        border: 1px solid var(--line);
        color: var(--ink);
        background-color: #fff;
        font-size: 13px;
        transition: border-color .18s ease, box-shadow .18s ease;
    }.filter-dropdown:focus, body.page-leaverecord .form-control-sm:focus{
        border-color: rgba(0, 96, 17, .55);
        box-shadow: 0 0 0 4px rgba(0, 96, 17, .12);
    }.mini-info-card{
        padding: 10px 12px;
        border-radius: 8px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
    }.mini-info-card span{
        display: block;
        color: var(--muted);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
    }.mini-info-card p{
        margin: 0;
        color: var(--ink);
        font-weight: 900;
    }.mini-info-danger p{
        color: #991b1b;
    }.balance-card{
        height: 100%;
        overflow: hidden;
        border-radius: 8px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
    }.balance-card-header{
        padding: 13px 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #fff;
        background: linear-gradient(135deg, var(--myhris-purple), var(--myhris-purple-dark));
        font-size: 13px;
        font-weight: 900;
    }.balance-card-icon{
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: var(--myhris-purple-dark);
        background: #fff;
    }.balance-card-body{
        padding: 14px;
    }.balance-card label{
        margin-bottom: 5px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
    }.balance-value{
        color: var(--myhris-purple-dark) !important;
        background: var(--soft-purple) !important;
    }.leave-tabs{
        display: flex;
        justify-content: center;
    }.leave-tab-group{
        width: min(100%, 520px);
        padding: 5px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        border-radius: 8px;
        background: rgba(255, 255, 255, .92);
        border: 1px solid rgba(255, 255, 255, .72);
        box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
    }.leave-tab-btn{
        min-height: 40px;
        border: 0 !important;
        border-radius: 8px !important;
        color: var(--myhris-purple-dark) !important;
        background: transparent !important;
        font-size: 12.5px;
        font-weight: 900;
        box-shadow: none !important;
    }.leave-tab-btn:disabled{
        color: #fff !important;
        background: linear-gradient(135deg, var(--myhris-purple), var(--myhris-purple-dark)) !important;
        opacity: 1;
    }.leave-grid-card{
        position: relative;
        margin-top: 12px;
        padding: 14px;
    }.leave-grid-header{
        padding: 10px 4px 14px;
    }.leave-grid-title{
        display: flex;
        align-items: center;
        gap: 9px;
        color: var(--ink);
        font-size: 15px;
        font-weight: 900;
        line-height: 1.25;
    }.leave-grid-title i{
        color: var(--myhris-purple);
    }.leave-grid-subtitle{
        margin-top: 4px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
    }.gridcontent{
        max-height: calc(100svh - 330px);
        overflow: auto;
        border-radius: 8px;
        background: #fff;
        border: 1px solid var(--line);
    }.gridcontent::-webkit-scrollbar{
        width: 8px;
        height: 8px;
    }.gridcontent::-webkit-scrollbar-thumb{
        border-radius: 999px;
        background: rgba(0, 96, 17, .28);
    }.gridcontent::-webkit-scrollbar-track{
        background: #f4f7f5;
    }table.modern-fb, table.modern-al{
        min-width: 1050px;
        margin-bottom: 0;
    }.grid-head, .headergridview th, table.modern-fb thead th, table.modern-al thead th{
        position: sticky;
        top: 0;
        z-index: 4;
        color: #fff !important;
        background: linear-gradient(135deg, var(--myhris-purple), var(--myhris-purple-dark)) !important;
        border-color: rgba(255, 255, 255, .15) !important;
        font-size: 12px;
        font-weight: 900;
        text-align: center;
        white-space: nowrap;
    }table.modern-fb td, table.modern-al td{
        color: var(--ink);
        background: #fff;
        font-size: 12.5px;
        vertical-align: middle;
    }table.modern-fb tbody tr:hover td, table.modern-al tbody tr:hover td{
        background: #fbfdfc;
    }@media (max-width: 768px){
        .leave-page {
            padding-left: 0;
            padding-right: 0;
        }

        .leave-header,
        .leave-body {
            padding: 16px;
        }

        .leave-header .d-flex {
            align-items: flex-start !important;
        }

        .leave-title {
            font-size: 16px;
        }

        .leave-title-icon {
            width: 38px;
            height: 38px;
            flex-basis: 38px;
        }

        .leave-subtitle {
            margin-left: 50px;
            font-size: 12.5px;
        }

        .leave-badge {
            padding: 7px 9px;
            font-size: 11px;
        }

        .leave-filter-card,
        .filter-row {
            align-items: stretch;
            flex-direction: column;
            gap: 8px;
        }

        .filter-dropdown {
            width: 100%;
        }

        .balance-card-header {
            padding: 12px;
        }

        .balance-card-body {
            padding: 12px;
        }

        .leave-tab-group {
            width: 100%;
        }

        .leave-tab-btn {
            min-height: 42px;
            padding: 8px;
            white-space: normal;
            line-height: 1.2;
        }

        .leave-grid-card {
            padding: 12px;
        }

        .gridcontent {
            max-height: none;
            overflow: visible;
            border: 0;
            background: transparent;
        }

        .headergridview,
        table.modern-fb thead,
        table.modern-al thead {
            display: none !important;
        }

        table.modern-fb,
        table.modern-al,
        table.modern-fb tbody,
        table.modern-al tbody,
        table.modern-fb tr,
        table.modern-al tr,
        table.modern-fb td,
        table.modern-al td {
            display: block;
            width: 100%;
            min-width: 0;
            border: 0;
        }

        table.modern-fb tbody tr,
        table.modern-al tbody tr {
            position: relative;
            margin-bottom: 12px;
            padding: 14px;
            overflow: hidden;
            border-radius: 8px;
            background: #fff;
            border: 1px solid rgba(255, 255, 255, .72);
            box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
        }

        table.modern-fb tbody tr::before,
        table.modern-al tbody tr::before {
            content: "";
            position: absolute;
            inset: 0 0 auto;
            height: 4px;
            background: linear-gradient(90deg, var(--myhris-purple), var(--myhris-accent));
        }

        table.modern-fb td,
        table.modern-al td {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            padding: 8px 0;
            text-align: right;
            background: transparent;
            border-bottom: 1px dashed var(--line);
        }

        table.modern-fb td:last-child,
        table.modern-al td:last-child {
            border-bottom: 0;
        }

        table.modern-fb td::before,
        table.modern-al td::before {
            flex: 0 0 auto;
            max-width: 48%;
            color: var(--myhris-purple-dark);
            font-size: 11px;
            font-weight: 900;
            text-align: left;
            text-transform: uppercase;
            white-space: normal;
        }

        table.modern-fb tbody td:nth-of-type(1)::before {
            content: "No Trans";
        }

        table.modern-fb tbody td:nth-of-type(2)::before {
            content: "Work Start";
        }

        table.modern-fb tbody td:nth-of-type(3)::before {
            content: "Work Finish";
        }

        table.modern-fb tbody td:nth-of-type(4)::before {
            content: "Work Day";
        }

        table.modern-fb tbody td:nth-of-type(5)::before {
            content: "FB Start";
        }

        table.modern-fb tbody td:nth-of-type(6)::before {
            content: "FB Finish";
        }

        table.modern-fb tbody td:nth-of-type(7)::before {
            content: "Taken Days";
        }

        table.modern-fb tbody td:nth-of-type(8)::before {
            content: "Unpaid Leave";
        }

        table.modern-fb tbody td:nth-of-type(9)::before {
            content: "Sick";
        }

        table.modern-fb tbody td:nth-of-type(10)::before {
            content: "Public Holiday";
        }

        table.modern-fb tbody td:nth-of-type(11)::before {
            content: "FB Entitled";
        }

        table.modern-fb tbody td:nth-of-type(12)::before {
            content: "FB Balance";
        }

        table.modern-fb tbody td:nth-of-type(13)::before {
            content: "Status";
        }

        table.modern-fb tbody td:nth-of-type(14)::before {
            content: "Notes";
        }

        table.modern-al tbody td:nth-of-type(1)::before {
            content: "No Trans";
        }

        table.modern-al tbody td:nth-of-type(2)::before {
            content: "Month";
        }

        table.modern-al tbody td:nth-of-type(3)::before {
            content: "AL Start";
        }

        table.modern-al tbody td:nth-of-type(4)::before {
            content: "AL Finish";
        }

        table.modern-al tbody td:nth-of-type(5)::before {
            content: "Entitled";
        }

        table.modern-al tbody td:nth-of-type(6)::before {
            content: "Taken";
        }

        table.modern-al tbody td:nth-of-type(7)::before {
            content: "Balance";
        }

        table.modern-al tbody td:nth-of-type(8)::before {
            content: "Status";
        }

        table.modern-al tbody td:nth-of-type(9)::before {
            content: "Notes";
        }
    }@media (max-width: 380px){
        .leave-header,
        .leave-body {
            padding: 14px;
        }

        .leave-title {
            font-size: 15px;
        }

        .leave-badge {
            display: none;
        }

        .balance-card label {
            font-size: 10px;
        }

        table.modern-fb td,
        table.modern-al td {
            font-size: 12px;
        }

        table.modern-fb td::before,
        table.modern-al td::before {
            font-size: 10.5px;
        }
    }



/* ======================================================================
   FILE: Login.aspx  (scoped under body.page-login)
   ====================================================================== */

/* ===== BASE / BODY ===== */
body.page-login {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100svh;
    overflow-x: hidden;
    font-family: "Poppins", "Segoe UI", sans-serif;
    background-color: #0a0614;
    background-image:
        radial-gradient(ellipse at 12% 10%, rgba(124, 58, 237, .20), transparent 46%),
        radial-gradient(ellipse at 88% 92%, rgba(99, 102, 241, .16), transparent 46%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, .07), transparent 62%);
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.page-login,
body.page-login * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page-login::selection,
body.page-login ::selection {
    background: rgba(168, 85, 247, .35);
    color: #fff;
}

/* ===== STARS ===== */
body.page-login #stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

body.page-login .star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    animation: twinkle var(--dur) ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: var(--oa); transform: scale(.8); }
    100% { opacity: var(--ob); transform: scale(1.2); }
}

/* ===== METEOR ===== */
body.page-login .meteor {
    position: fixed;
    z-index: 1;
    pointer-events: none;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(192, 132, 252, .95), 0 0 22px rgba(168, 85, 247, .55);
}

body.page-login .meteor::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 120px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(to right, rgba(168, 85, 247, 0), rgba(192, 132, 252, .95));
    transform: translateY(-50%) rotate(75deg);
    transform-origin: right center;
}

body.page-login .mtr1 { top: -10px; left: 60%; animation: meteorL 2.6s .5s infinite; }
body.page-login .mtr2 { top: -10px; left: 30%; animation: meteorL 3.1s 2.2s infinite; }
body.page-login .mtr3 { top: -10px; left: 80%; animation: meteorL 2.9s 4s infinite; }
body.page-login .mtr4 { top: -10px; left: 10%; animation: meteorL 3.4s 6s infinite; }
body.page-login .mtr5 { top: -10px; left: 50%; animation: meteorL 2.7s 8.5s infinite; }
body.page-login .mtr6 { top: -10px; left: 70%; animation: meteorL 3.6s 11s infinite; }
body.page-login .mtr7 { top: -10px; left: 20%; animation: meteorL 2.8s 13.5s infinite; }
body.page-login .mtr8 { top: -10px; left: 90%; animation: meteorL 3.2s 16s infinite; }

@keyframes meteorL {
    0% { transform: translate3d(0, 0, 0); opacity: 0; }
    2% { opacity: 1; }
    16% { opacity: 1; }
    38% { transform: translate3d(25vw, 105vh, 0); opacity: 0; }
    100% { transform: translate3d(25vw, 105vh, 0); opacity: 0; }
}

/* ===== GLOW ORBS ===== */
body.page-login .orb {
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

body.page-login .orb1 {
    width: 500px;
    height: 500px;
    background: rgba(124, 58, 237, .14);
    top: -200px;
    left: -200px;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

body.page-login .orb2 {
    width: 450px;
    height: 450px;
    background: rgba(99, 102, 241, .11);
    bottom: -180px;
    right: -160px;
    animation: orbFloat 14s ease-in-out infinite alternate-reverse;
}

body.page-login .orb3 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, .09);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 8s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 30px); }
}

@keyframes orbPulse {
    0% { opacity: .3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: .7; transform: translate(-50%, -50%) scale(1.3); }
}

/* ===== LOGIN WRAP ===== */
body.page-login .login-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* ===== LOGIN CARD ===== */
body.page-login .login-card {
    position: relative;
    border: 1.5px solid transparent;
    border-radius: 26px;
    padding: 32px 36px 26px;
    background:
        linear-gradient(145deg, rgba(26, 10, 58, .97), rgba(38, 16, 78, .95), rgba(49, 18, 109, .93)) padding-box,
        conic-gradient(from 210deg, rgba(168, 85, 247, .22), #c084fc 16%, #a855f7 36%, #6366f1 56%, rgba(99, 102, 241, .18) 78%, rgba(168, 85, 247, .22)) border-box;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 15px 40px rgba(124, 58, 237, .18), inset 0 1px 0 rgba(255, 255, 255, .06);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: cardIn .6s ease, cardGlow 6s ease-in-out infinite alternate;
}

body.page-login .login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c084fc, #a855f7, #8b5cf6, #6366f1);
    z-index: 2;
    pointer-events: none;
}

body.page-login .login-card::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -140px;
    right: -120px;
    border-radius: 50%;
    background: radial-gradient(rgba(255, 255, 255, .08), transparent 70%);
    pointer-events: none;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(24px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardGlow {
    from { box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 15px 40px rgba(124, 58, 237, .18), inset 0 1px 0 rgba(255, 255, 255, .06); }
    to { box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 15px 50px rgba(124, 58, 237, .32), 0 0 60px rgba(168, 85, 247, .16), inset 0 1px 0 rgba(255, 255, 255, .06); }
}

/* ===== LOGO ===== */
body.page-login .logo-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 6px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .06));
    border: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 40px rgba(124, 58, 237, .2), inset 0 1px 0 rgba(255, 255, 255, .25);
}

body.page-login .logo-wrap img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .15));
}

/* ===== TITLES ===== */
body.page-login .login-title {
    text-align: center;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.5px;
    color: #f5f3ff;
    background: linear-gradient(135deg, #f5f3ff 0%, #c084fc 45%, #a855f7 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(168, 85, 247, .25));
    margin-bottom: 2px;
}

body.page-login .login-sub {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .3px;
    margin-bottom: 5px;
}

body.page-login .client-name {
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    color: #c084fc;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(168, 85, 247, .10);
    border: 1px solid rgba(168, 85, 247, .18);
    margin-bottom: 18px;
}

body.page-login .client-name::before {
    content: "\f1ad";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: #a855f7;
}

/* ===== FORM LABEL ===== */
body.page-login .form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(192, 132, 252, .75);
    margin: 0 0 6px 2px;
}

/* ===== INPUT GROUP ===== */
body.page-login .input-group-modern {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

body.page-login .input-icon {
    position: absolute;
    left: 18px;
    z-index: 2;
    color: #a855f7;
    opacity: .85;
    font-size: 14px;
    transition: color .2s, opacity .2s;
}

body.page-login .input-group-modern:focus-within .input-icon {
    color: #c084fc;
    opacity: 1;
}

body.page-login .form-input {
    width: 100%;
    height: 50px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .055);
    padding: 0 18px 0 50px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    caret-color: #a855f7;
    transition: all .25s ease;
    outline: none;
    backdrop-filter: blur(6px);
}

body.page-login .form-input::placeholder {
    color: rgba(255, 255, 255, .35);
    font-weight: 400;
}

body.page-login .form-input:hover {
    border-color: rgba(255, 255, 255, .22);
}

body.page-login .form-input:focus {
    border-color: rgba(168, 85, 247, .65);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, .15), 0 8px 24px rgba(0, 0, 0, .2);
    transform: translateY(-1px);
}

body.page-login .form-input:-webkit-autofill,
body.page-login .form-input:-webkit-autofill:hover,
body.page-login .form-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px rgba(30, 12, 60, .96) inset;
    box-shadow: 0 0 0 1000px rgba(30, 12, 60, .96) inset;
    transition: background-color 9999s ease-out 0s;
}

body.page-login .pw-toggle {
    position: absolute;
    right: 16px;
    z-index: 2;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: .2s ease;
    padding: 6px;
    line-height: 1;
}

body.page-login .pw-toggle:hover {
    transform: scale(1.1);
    color: #a855f7;
}

/* ===== CAPTCHA ===== */
body.page-login .captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

body.page-login .captcha-image {
    height: 50px;
    min-width: 120px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 4px;
    flex-shrink: 0;
}

body.page-login .captcha-row .form-input {
    padding-left: 18px;
}

/* ===== BUTTON ===== */
body.page-login .btn-login {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6, #6366f1);
    background-size: 200% 200%;
    box-shadow: 0 16px 40px rgba(124, 58, 237, .30), inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: all .3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

body.page-login .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(124, 58, 237, .42), inset 0 1px 0 rgba(255, 255, 255, .2);
    background-position: 100% 100%;
}

body.page-login .btn-login:active {
    transform: translateY(0) scale(.98);
}

body.page-login .btn-login::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, .10) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s;
}

body.page-login .btn-login:hover::after {
    transform: translateX(100%);
}

/* ===== FORGOT ===== */
body.page-login .forgot-wrap {
    text-align: center;
    margin-top: 14px;
}

body.page-login .forgot-link {
    color: rgba(255, 255, 255, .7);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

body.page-login .forgot-link:hover {
    color: #c084fc;
    text-decoration: underline;
}

/* ===== FOOTER ===== */
body.page-login .login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, .35);
}

body.page-login .login-footer i {
    color: #a855f7;
    font-size: 11px;
}

/* ===== ALERTS ===== */
body.page-login .login-card .alert {
    border-radius: 14px;
    font-size: 12.5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    body.page-login .login-wrap { padding: 12px; }
    body.page-login .login-card {
        padding: 30px 22px 28px;
        border-radius: 24px;
    }
    body.page-login .logo-wrap { width: 76px; height: 76px; border-radius: 22px; }
    body.page-login .logo-wrap img { width: 50px; height: 50px; }
    body.page-login .login-title { font-size: 24px; }
    body.page-login .form-input,
    body.page-login .btn-login { height: 50px; }
    body.page-login .form-input { font-size: 13px; border-radius: 14px; }
    body.page-login .btn-login { font-size: 14px; border-radius: 14px; }
    body.page-login .captcha-row { flex-direction: column; align-items: stretch; }
    body.page-login .captcha-image { width: 100%; height: 50px; }
}

@media (max-width: 380px) {
    body.page-login .login-card { padding: 24px 16px 22px; border-radius: 20px; }
    body.page-login .login-title { font-size: 21px; }
    body.page-login .form-input,
    body.page-login .btn-login { height: 46px; }
    body.page-login .form-input { font-size: 12.5px; padding-left: 42px; }
    body.page-login .input-icon { left: 14px; font-size: 13px; }
}

@media (min-width: 768px) and (max-height: 700px) {
    body.page-login .login-card { padding: 30px 36px 28px; }
    body.page-login .logo-wrap { width: 68px; height: 68px; }
    body.page-login .logo-wrap img { width: 44px; height: 44px; }
    body.page-login .login-title { font-size: 24px; margin-bottom: 0; }
    body.page-login .client-name { margin-bottom: 18px; }
    body.page-login .form-input,
    body.page-login .btn-login { height: 46px; }
}

@media (orientation: landscape) and (max-height: 500px) {
    body.page-login .login-wrap { padding: 8px; }
    body.page-login .login-card { padding: 18px 20px 16px; border-radius: 22px; }
    body.page-login .logo-wrap { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 2px; }
    body.page-login .logo-wrap img { width: 34px; height: 34px; }
    body.page-login .login-title { font-size: 18px; margin-bottom: 0; }
    body.page-login .login-sub,
    body.page-login .client-name { font-size: 10px; margin-bottom: 8px; }
    body.page-login .form-label { font-size: 9px; margin-bottom: 3px; }
    body.page-login .form-input,
    body.page-login .btn-login { height: 38px; font-size: 12px; border-radius: 12px; padding-left: 36px; }
    body.page-login .input-icon { left: 12px; font-size: 11px; }
    body.page-login .input-group-modern { margin-bottom: 6px; }
    body.page-login .forgot-wrap { margin-top: 10px; }
    body.page-login .login-footer { margin-top: 10px; }
}

/* ======================================================================
   FILE: Maintenance.aspx  (scoped under body.page-maintenance)
   ====================================================================== */


    
 

    
 

    
 

    
 

    
 

    
 

    
 

    
 

    
 

    
 

    
 

    
 

    
 

    
 

    
 :root{

            --purple:
                #6f42c1;

            --purple-dark:
                #4d2d90;

            --glass:
                rgba(255,255,255,.92);

        }body.page-maintenance, body.page-maintenance *{
            box-sizing: border-box;
        }body.page-maintenance{

            margin: 0;
            min-height: 100vh;

            display: flex;
            justify-content: center;
            align-items: center;

            font-family:
                'Segoe UI',
                sans-serif;

            background:
                linear-gradient(
                    135deg,
                    rgba(61,31,117,.94),
                    rgba(111,66,193,.90)
                ),
                url('Images/login-bg.jpg');

            background-size:
                cover;

            padding:
                20px;

        }.error-card{

            width: 100%;
            max-width: 560px;

            border-radius:
                30px;

            background:
                var(--glass);

            backdrop-filter:
                blur(20px);

            box-shadow:
                0 20px 60px
                rgba(0,0,0,.25);

            overflow:
                hidden;

            animation:
                fadeIn .5s ease;

        }@keyframes fadeIn{

            from {

                opacity: 0;
                transform:
                    translateY(15px);

            }

            to {

                opacity: 1;
                transform:
                    translateY(0);

            }

        }.error-header{

            padding:
                30px;

            text-align:
                center;

            background:
                linear-gradient(
                    135deg,
                    var(--purple),
                    var(--purple-dark)
                );

            color:
                white;

        }.error-icon{

            width:
                90px;

            height:
                90px;

            margin:
                auto;

            border-radius:
                50%;

            background:
                rgba(255,255,255,.18);

            display:
                flex;

            align-items:
                center;

            justify-content:
                center;

            font-size:
                38px;

            margin-bottom:
                18px;

        }.error-body{

            padding:
                28px;

        }.error-code{

            font-size:
                3rem;

            font-weight:
                800;

            color:
                var(--purple);

        }.premium-box{

            background:
                #f8f4ff;

            border:
                1px solid
                rgba(111,66,193,.15);

            border-radius:
                18px;

            padding:
                18px;

            margin-top:
                18px;

        }.premium-box h6{

            font-weight:
                700;

            color:
                var(--purple-dark);

        }.fix-item{

            display:
                flex;

            gap:
                12px;

            margin-bottom:
                10px;

            align-items:
                flex-start;

        }.fix-item i{

            color:
                var(--purple);

            margin-top:
                4px;

        }.btn-purple{

            background:
                linear-gradient(
                    135deg,
                    var(--purple),
                    var(--purple-dark)
                );

            color:
                #fff;

            border:
                none;

            border-radius:
                999px;

            padding:
                12px 24px;

            font-weight:
                600;

        }.btn-purple:hover{

            color:
                #fff;
            opacity:
                .95;

        }

    


/* ======================================================================
   FILE: ManageUsers.aspx  (scoped under body.page-manageusers)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 body.page-manageusers .form-control-sm{
            font-size: 9pt;
            padding: 3px 5px;
        }.btn-sm{
            padding: 3px 10px;
            font-size: 9pt;
        }.small-size-label{
            font-size: 9pt;
        }.table th, .table td{
            padding: 4px;
        }.table th{
            border-bottom-width: 1px;
            border-bottom-color: darkgrey;
            border-bottom-style: double;
            text-align: center;
        }.badge{
            padding: 4px 8px;
            font-size: 9pt;
        }.gridcontent{
            height: calc(100vh - 250px);
            width: 100%;
            overflow: auto;
            border-color: #efecec;
            border-width: 1px;
            border-style: solid;
            border-radius: 4px;
        }.freezeheader{
            position: sticky;
            top: -2px;
            margin-top: -2px;
            background: #0a964a;
            text-align: center;
            height: auto;
            color: #000;
            border-bottom-width: 1px;
            border-bottom-color: darkgrey;
            border-bottom-style: double;
            text-align: center;
        }.img-zoomable{
            cursor: pointer;
            transition: transform 0.3s ease;
        }.img-zoomed{
            transform: scale(2);
            position: relative;
        }.gridview-font{
            font-size: 9pt;
        }
    


/* ======================================================================
   FILE: MedicalClaim.aspx  (scoped under body.page-medicalclaim)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 .medical-portal{
            max-width: 1200px;
        }.portal-header{
            position: relative;
            margin-bottom: 22px;
            padding: 22px 24px;
            overflow: hidden;
            border-radius: 8px;
            color: var(--ink);
            background: rgba(255, 255, 255, .92);
            border: 1px solid rgba(255, 255, 255, .72);
            box-shadow: 0 18px 48px rgba(15, 23, 42, .13);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }.portal-header::before{
                content: "";
                position: absolute;
                inset: 0 0 auto;
                height: 5px;
                background: linear-gradient(90deg, var(--myhris-purple), var(--myhris-accent));
            }.portal-title{
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--ink);
            font-size: 18px;
            font-weight: 900;
            letter-spacing: 0;
            line-height: 1.25;
        }.portal-title i{
                width: 42px;
                height: 42px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border-radius: 8px;
                color: #fff;
                font-size: 18px;
                background: linear-gradient(135deg, var(--myhris-purple), var(--myhris-purple-dark));
                box-shadow: 0 12px 24px rgba(0, 96, 17, .20);
            }.portal-subtitle{
            margin-top: 8px;
            padding-left: 52px;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.45;
        }.menu-section{
            margin-bottom: 24px;
            padding: 20px;
            border-radius: 8px;
            background: rgba(255, 255, 255, .90);
            border: 1px solid rgba(255, 255, 255, .72);
            box-shadow: 0 18px 48px rgba(15, 23, 42, .12);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }.section-title{
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 14px;
            color: var(--muted);
            font-size: 11px;
            font-weight: 900;
            letter-spacing: .6px;
            text-transform: uppercase;
        }.section-title::before{
                content: "";
                width: 26px;
                height: 3px;
                border-radius: 999px;
                background: linear-gradient(90deg, var(--myhris-purple), var(--myhris-accent));
            }.app-card{
            position: relative;
            height: 142px;
            padding: 18px 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            text-align: center;
            text-decoration: none;
            color: var(--ink);
            border-radius: 8px;
            background: #fff;
            border: 1px solid var(--line);
            box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }.app-card::before{
                content: "";
                position: absolute;
                inset: 0 0 auto;
                height: 4px;
                opacity: 0;
                background: linear-gradient(90deg, var(--myhris-purple), var(--myhris-accent));
                transition: opacity .2s ease;
            }.app-card:hover{
                transform: translateY(-3px);
                color: var(--ink);
                text-decoration: none;
                border-color: rgba(0, 96, 17, .22);
                box-shadow: 0 18px 36px rgba(15, 23, 42, .14);
            }.app-card:hover::before{
                    opacity: 1;
                }.app-card .icon{
                width: 56px;
                height: 56px;
                margin-bottom: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 8px;
                color: #fff;
                font-size: 22px;
                background: linear-gradient(135deg, var(--myhris-purple), var(--myhris-purple-dark));
                box-shadow: 0 12px 24px rgba(0, 96, 17, .20);
                transition: transform .2s ease, background .2s ease;
            }.app-card:hover .icon{
                transform: translateY(-1px);
                background: linear-gradient(135deg, var(--myhris-accent), var(--myhris-accent-dark));
            }.app-card .label{
                color: var(--ink) !important;
                font-size: 13.5px;
                font-weight: 900;
                letter-spacing: 0;
                line-height: 1.25;
            }@media (max-width: 576px){
            .medical-portal {
                padding-left: 0;
                padding-right: 0;
            }

            .portal-header {
                margin-bottom: 14px;
                padding: 18px;
            }

            .portal-title {
                font-size: 16px;
            }

                .portal-title i {
                    width: 38px;
                    height: 38px;
                    font-size: 16px;
                }

            .portal-subtitle {
                padding-left: 48px;
                font-size: 12.5px;
            }

            .menu-section {
                margin-bottom: 14px;
                padding: 14px;
            }

            .app-card {
                height: 122px;
                padding: 14px 8px;
            }

                .app-card .icon {
                    width: 48px;
                    height: 48px;
                    margin-bottom: 10px;
                    font-size: 19px;
                }

                .app-card .label {
                    font-size: 12.5px;
                }
        }
    


/* ======================================================================
   FILE: MedicalClaimInfo.aspx  (scoped under body.page-medicalclaiminfo)
   ====================================================================== */



 


 


 


 


 


 


 


 


 /* ================================
       CORPORATE MINING STYLE
    ================================= */

    .coming-wrapper{
        min-height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }.coming-card{
        max-width: 720px;
        width: 100%;
        border-radius: 18px;
        background: linear-gradient(135deg,#1e293b,#334155);
        color: #fff;
        padding: 40px 35px;
        box-shadow: 0 20px 45px rgba(0,0,0,0.25);
        position: relative;
        overflow: hidden;
    }.coming-card::after{
        content: "";
        position: absolute;
        top: -50px;
        right: -50px;
        width: 180px;
        height: 180px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
    }.coming-icon{
        width: 90px;
        height: 90px;
        border-radius: 50%;
        background: linear-gradient(135deg,#f59e0b,#fbbf24);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 38px;
        margin: 0 auto 10px auto;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }.coming-title{
        font-weight: 700;
        font-size: 24px;
        text-align: center;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }.coming-subtitle{
        text-align: center;
        opacity: 0.85;
        font-size: 14px;
        margin-bottom: 25px;
    }.coming-alert{
        background: rgba(255,255,255,0.08);
        border-radius: 14px;
        padding: 20px;
        font-size: 14px;
        line-height: 1.7;
        text-align:justify;
    }.coming-alert strong{
        color: #fbbf24;
    }.coming-footer{
        text-align: center;
        margin-top: 25px;
        font-size: 13px;
        opacity: 0.7;
    }




/* ======================================================================
   FILE: Monitoring.aspx  (scoped under body.page-monitoring)
   ====================================================================== */


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 body.page-monitoring .form-control-sm{
        font-size: 11pt;
        padding: 6px 10px;
        border-radius: 6px;
        border: 1px solid #ced4da;
        transition: all 0.3s ease;
    }body.page-monitoring .form-control-sm:focus{
        border-color: #0a964a;
        box-shadow: 0 0 5px 0 #0a954a65;
    }.btn-sm{
        padding: 6px 12px;
        font-size: 11pt;
        border-radius: 6px;
        transition: all 0.3s ease;
    }.btn-sm:hover{
        transform: translateY(-2px);
        box-shadow: 0 4px 6px -1px #0003;
    }.badge{
        padding: 6px 10px;
        font-size: 10pt;
        border-radius: 6px;
    }.gridcontent{
        height: calc(100vh - 400px);
        width: 100%;
        overflow: auto;
        border: none;
        border-radius: 6px;
        box-shadow: 0 0 5px #0002;
        padding: 5px;
        background: #ffffff;
    }.freezeheader{
        position: sticky;
        top: -8px;
        background: #0a954a;
        color: #ffffff;
        text-align: center;
        height: auto;
        font-size: 11pt;
        font-weight: 500;
        border-bottom: 2px solid #066633;
    }.table-bordered tbody tr:hover{
        background: #edfef3;
        transition: background 0.3s ease;
    }.img-zoomable{
        cursor: pointer;
        transition: transform 0.3s ease;
        border-radius: 6px;
        box-shadow: 0 0 5px #0002;
    }.img-zoomable:hover{
        transform: scale(1.05);
        box-shadow: 0 0 10px #0003;
    }.card{
        border: none;
        border-radius: 6px;
        box-shadow: 0 0 10px #0002;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }.card:hover{
        transform: translateY(-2px);
        box-shadow: 0 4px 12px -1px #0003;
    }.card .card-header{
        background: #0a954a;
        color: #ffffff;
        border-bottom: none;
        padding: 10px 15px;
        border-radius: 6px 6px 0 0;
        font-size: 13pt;
        font-weight: 500;
    }.card .card-body{
        padding: 20px;
        background: #ffffff;
        border-radius: 0 0 6px 6px;
    }.small-size-label{
        font-size: 11pt;
        font-weight: 500;
        color: #666;
    }



/* ======================================================================
   FILE: MyTicket.aspx  (scoped under body.page-myticket)
   ====================================================================== */



 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 /* ================================
   ROOT STYLE
================================ */
:root{
    --myhris-purple: #198754;
    --myhris-purple-dark: #146c43;
    --ptk-soft: #f5fbf7;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
}/* ================================
   LAYOUT
================================ */
.ticket-shell{
    max-width: 1180px;
    margin: 0 auto;
}.ticket-card{
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    overflow: hidden;
}/* ================================
   HEADER
================================ */
.ticket-header{
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--myhris-purple), var(--myhris-purple-dark));
    color: #fff;
    position: relative;
}.ticket-title{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
}.ticket-title-icon{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,.18);
}.ticket-subtitle{
    font-size: 12px;
    opacity: .85;
    margin-left: 52px;
    margin-top: 4px;
}/* ================================
   GRID (CARD STYLE ROW)
================================ */
.ticket-grid .table{
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-bottom: 0;
}/* hide table header if exists */
.ticket-grid thead{
    display: none;
}.ticket-grid tr{
    transition: .2s ease;
}.ticket-grid tr:hover{
    transform: translateY(-2px);
}.ticket-grid td{
    background: #fff;
    border: none !important;
    padding: 14px 16px;
    vertical-align: middle;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
}/* rounded card row */
.ticket-grid tr td:first-child{
    border-radius: 12px 0 0 12px;
}.ticket-grid tr td:last-child{
    border-radius: 0 12px 12px 0;
}/* ================================
   CONTENT
================================ */
.ticket-no{
    font-weight: 800;
    font-size: 14px;
    color: var(--myhris-purple-dark);
}.ticket-route{
    font-size: 13px;
    color: var(--text);
    margin-top: 4px;
}.ticket-route i{
    color: var(--myhris-purple);
}.ticket-date{
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}/* ================================
   BUTTON
================================ */
.btn-ticket{
    border: none;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: .15s ease;
    text-decoration: none !important;
}.btn-ticket:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220,38,38,.25);
    color: #fff;
}/* ================================
   MOBILE CARD MODE
================================ */
@media (max-width: 768px){

    .ticket-grid tr {
        display: block;
        margin-bottom: 12px;
    }

    .ticket-grid td {
        display: block;
        width: 100%;
        border-radius: 12px !important;
        margin-bottom: 6px;
    }

    .ticket-subtitle {
        margin-left: 0;
    }
}/* ================================
   MODAL
================================ */
#pdfModal .modal-content{
    border-radius: 14px;
    overflow: hidden;
}#pdfModal .modal-body{
    height: 80vh;
    padding: 0;
}#iframePdf{
    width: 100%;
    height: 100%;
    border: 0;
}




/* ======================================================================
   FILE: Report.aspx  (scoped under body.page-report)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 body.page-report .form-control-sm{
            font-size: 9pt;
            padding: 3px 5px;
        }.btn-sm{
            padding: 3px 10px;
            font-size: 9pt;
        }.small-size-label{
            font-size: 9pt;
        }.table th, .table td{
            padding: 4px 8px;
        }.badge{
            padding: 4px 8px;
            font-size: 9pt;
        }.gridcontent{
            height: calc(100vh - 400px);
            width: 100%;
            overflow: auto;
            border-color: #efecec;
            border-width: 1px;
            border-style: solid;
            border-radius: 2px;
        }.freezeheader{
            position: sticky;
            top: 0;
            background: #0a964a;
            text-align: center;
            height: 35px;
            color: #000;
        }.img-zoomable{
            cursor: pointer;
            transition: transform 0.3s ease;
        }.img-zoomed{
            transform: scale(2);
            position: relative;
        }.gridview-font{
            font-size: 8pt;
        }
    


/* ======================================================================
   FILE: ResetPassword.aspx  (scoped under body.page-resetpassword)
   ====================================================================== */

/* ===== BASE / BODY ===== */
body.page-resetpassword {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100svh;
    overflow-x: hidden;
    font-family: "Poppins", "Segoe UI", sans-serif;
    background-color: #0a0614;
    background-image:
        radial-gradient(ellipse at 12% 10%, rgba(124, 58, 237, .20), transparent 46%),
        radial-gradient(ellipse at 88% 92%, rgba(99, 102, 241, .16), transparent 46%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, .07), transparent 62%);
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.page-resetpassword,
body.page-resetpassword * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page-resetpassword::selection,
body.page-resetpassword ::selection {
    background: rgba(168, 85, 247, .35);
    color: #fff;
}

/* ===== STARS ===== */
body.page-resetpassword #stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

body.page-resetpassword .star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    animation: twinkle var(--dur) ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: var(--oa); transform: scale(.8); }
    100% { opacity: var(--ob); transform: scale(1.2); }
}

/* ===== GLOW ORBS ===== */
body.page-resetpassword .orb {
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

body.page-resetpassword .orb1 {
    width: 500px;
    height: 500px;
    background: rgba(124, 58, 237, .14);
    top: -200px;
    left: -200px;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

body.page-resetpassword .orb2 {
    width: 450px;
    height: 450px;
    background: rgba(99, 102, 241, .11);
    bottom: -180px;
    right: -160px;
    animation: orbFloat 14s ease-in-out infinite alternate-reverse;
}

body.page-resetpassword .orb3 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, .09);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 8s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 30px); }
}

@keyframes orbPulse {
    0% { opacity: .3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: .7; transform: translate(-50%, -50%) scale(1.3); }
}

/* ===== CARD ===== */
body.page-resetpassword .card-custom {
    position: relative;
    z-index: 3;
    width: 420px;
    max-width: calc(100vw - 32px);
    border: 1.5px solid transparent;
    border-radius: 26px;
    padding: 40px 38px 38px;
    background:
        linear-gradient(145deg, rgba(26, 10, 58, .97), rgba(38, 16, 78, .95), rgba(49, 18, 109, .93)) padding-box,
        conic-gradient(from 210deg, rgba(168, 85, 247, .22), #c084fc 16%, #a855f7 36%, #6366f1 56%, rgba(99, 102, 241, .18) 78%, rgba(168, 85, 247, .22)) border-box;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 15px 40px rgba(124, 58, 237, .18), inset 0 1px 0 rgba(255, 255, 255, .06);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: cardIn .6s ease, cardGlow 6s ease-in-out infinite alternate;
}

body.page-resetpassword .card-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c084fc, #a855f7, #8b5cf6, #6366f1);
    z-index: 2;
    pointer-events: none;
}

body.page-resetpassword .card-custom::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -140px;
    right: -120px;
    border-radius: 50%;
    background: radial-gradient(rgba(255, 255, 255, .08), transparent 70%);
    pointer-events: none;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(24px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardGlow {
    from { box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 15px 40px rgba(124, 58, 237, .18), inset 0 1px 0 rgba(255, 255, 255, .06); }
    to { box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 15px 50px rgba(124, 58, 237, .32), 0 0 60px rgba(168, 85, 247, .16), inset 0 1px 0 rgba(255, 255, 255, .06); }
}

/* ===== LOGO ===== */
body.page-resetpassword .logo {
    display: block;
    width: 78px;
    height: 78px;
    object-fit: contain;
    padding: 10px;
    margin: 0 auto;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .06));
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 16px 40px rgba(124, 58, 237, .2), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ===== TITLES ===== */
body.page-resetpassword h4 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.2px;
    color: #f5f3ff;
}

body.page-resetpassword h4 i {
    color: #a855f7;
}

body.page-resetpassword .text-muted {
    color: rgba(255, 255, 255, .55) !important;
    font-size: 13px;
}

/* ===== FORM LABEL ===== */
body.page-resetpassword .form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(192, 132, 252, .75);
    margin: 0 0 8px 2px;
}

body.page-resetpassword .form-label i {
    color: #a855f7;
    font-size: 12px;
}

/* ===== INPUTS ===== */
body.page-resetpassword .form-control {
    width: 100%;
    height: 52px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .055);
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    caret-color: #a855f7;
    transition: all .25s ease;
    outline: none;
    backdrop-filter: blur(6px);
}

body.page-resetpassword .form-control::placeholder {
    color: rgba(255, 255, 255, .35);
    font-weight: 400;
}

body.page-resetpassword .form-control:hover {
    border-color: rgba(255, 255, 255, .22);
}

body.page-resetpassword .form-control:focus {
    border-color: rgba(168, 85, 247, .65);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, .15), 0 8px 24px rgba(0, 0, 0, .2);
    transform: translateY(-1px);
    color: #fff;
}

body.page-resetpassword .form-control[readonly] {
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .6);
    cursor: default;
}

body.page-resetpassword .form-control:-webkit-autofill,
body.page-resetpassword .form-control:-webkit-autofill:hover,
body.page-resetpassword .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px rgba(30, 12, 60, .96) inset;
    box-shadow: 0 0 0 1000px rgba(30, 12, 60, .96) inset;
    transition: background-color 9999s ease-out 0s;
}

body.page-resetpassword .input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

body.page-resetpassword .input-group-text {
    background: rgba(255, 255, 255, .055);
    border: 1.5px solid rgba(255, 255, 255, .12);
    border-left: 0;
    border-radius: 0 16px 16px 0;
    color: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: color .2s ease;
}

body.page-resetpassword .input-group-text:hover {
    color: #a855f7;
}

/* ===== STRENGTH BAR ===== */
body.page-resetpassword .strength-track {
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, .12);
    border-radius: 99px;
    overflow: hidden;
}

body.page-resetpassword #strengthText {
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
}

/* ===== BUTTON ===== */
body.page-resetpassword .btn-custom {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6, #6366f1);
    background-size: 200% 200%;
    box-shadow: 0 16px 40px rgba(124, 58, 237, .30), inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: all .3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

body.page-resetpassword .btn-custom:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(124, 58, 237, .42), inset 0 1px 0 rgba(255, 255, 255, .2);
    background-position: 100% 100%;
}

body.page-resetpassword .btn-custom:active {
    transform: translateY(0) scale(.98);
}

body.page-resetpassword .btn-custom:disabled {
    opacity: .55;
    cursor: not-allowed;
}

body.page-resetpassword .btn-custom::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, .10) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s;
}

body.page-resetpassword .btn-custom:hover:not(:disabled)::after {
    transform: translateX(100%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    body.page-resetpassword .card-custom {
        padding: 30px 22px 28px;
        border-radius: 24px;
    }
    body.page-resetpassword h4 { font-size: 20px; }
    body.page-resetpassword .form-control,
    body.page-resetpassword .btn-custom { height: 50px; }
}

@media (max-width: 380px) {
    body.page-resetpassword .card-custom {
        padding: 24px 16px 22px;
        border-radius: 20px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    body.page-resetpassword .card-custom { padding: 18px 20px 16px; }
    body.page-resetpassword .logo { width: 56px; height: 56px; }
    body.page-resetpassword h4 { font-size: 18px; margin-bottom: 4px; }
    body.page-resetpassword .form-label { font-size: 9px; margin-bottom: 3px; }
    body.page-resetpassword .form-control,
    body.page-resetpassword .btn-custom { height: 38px; font-size: 12px; border-radius: 12px; }
}

/* ======================================================================
   FILE: riwayatmedical.aspx  (scoped under body.page-riwayatmedical)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 /* ========================================
   MyHRIS – Riwayat Medical Claim
   Corporate Mining Style
======================================== */

        .card-history{
            border-radius: 16px;
            overflow: hidden;
            border: none;
            box-shadow: 0 8px 22px rgba(0,0,0,0.08);
            transition: .25s ease;
        }.card-history:hover{
                transform: translateY(-3px);
                box-shadow: 0 14px 32px rgba(0,0,0,0.12);
            }/* Header */
        .card-history-header{
            background: linear-gradient(135deg, #1e293b, #334155);
            color: #fff;
            padding: 14px 18px;
        }.card-history-header h5{
                margin: 0;
                font-weight: 600;
                letter-spacing: .5px;
            }/* Table */
        .table-history{
            margin-bottom: 0;
        }.table-history thead{
                background: #f1f5f9;
                font-size: 13px;
                text-transform: uppercase;
                letter-spacing: .5px;
            }.table-history th{
                border-bottom: 2px solid #e2e8f0;
                font-weight: 600;
            }.table-history td{
                vertical-align: middle;
                font-size: 14px;
            }.table-history tbody tr:hover{
                background-color: #f8fafc;
                transition: .2s ease;
            }/* Status Badge */
        .badge-status{
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12pt;
            font-weight: 600;
        }.status-progress{
            background: #e7f1ff;
            color: #0d6efd;
            font-size: 10pt;
        }.status-paid{
            background: #d1e7dd;
            color: #198754;
            font-weight: 600;
            font-size: 10pt;
        }.status-revision{
            background: #fff3cd;
            color: #856404;
            font-size: 10pt;
        }.status-rejected{
            background: #f8d7da;
            color: #842029;
            font-weight: 600;
            font-size: 10pt;
        }.status-draft{
            background: #e2e3e5;
            color: #41464b;
            font-size: 10pt;
        }/* Amount Style */
        .amount{
            font-weight: 600;
            color: #1e293b;
        }@media (max-width: 576px){

            #gvHistoryMedical td {
                font-size: 13px;
                padding: 6px;
            }

            #gvHistoryMedical .btn {
                padding: 6px 8px;
            }
        }
    


/* ======================================================================
   FILE: saldomedical.aspx  (scoped under body.page-saldomedical)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 /* ===============================
   CORPORATE MINING THEME
================================ */

        body.page-riwayatmedical{
           background: linear-gradient(135deg, #1e293b, #334155);
            color: #e2e8f0;
        }/* HEADER */
        .dashboard-header h4{
            color: #facc15;
            letter-spacing: 1px;
        }body.page-saldomedical .form-select{
            background-color: #1e293b;
            border: 1px solid #334155;
            color: #e2e8f0;
        }body.page-saldomedical .form-select:focus{
                border-color: #facc15;
                box-shadow: 0 0 0 0.15rem rgba(250,204,21,.25);
            }/* ===============================
   CARD STYLE
================================ */

        .card{
            background: #1e293b !important;
            border: 1px solid #334155 !important;
            border-radius: 16px !important;
            transition: 0.25s ease;
        }.card:hover{
                transform: translateY(-6px);
                border-color: #facc15 !important;
                box-shadow: 0 12px 28px rgba(250,204,21,0.15);
            }.card-body small{
            color: #94a3b8 !important;
        }/* ICON BOX */
        .icon-box{
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #334155;
            color: #facc15;
            font-size: 18px;
        }/* LABEL VALUE */
        .fs-5{
            color: #f8fafc !important;
        }/* BADGE */
        .badge{
            background: #334155 !important;
            color: #facc15 !important;
            border: 1px solid #475569;
            font-weight: 500;
        }/* ALERT */
        .alert{
            background: #0f172a;
            border: 1px solid #334155;
            color: #cbd5e1;
            border-radius: 12px;
        }/* ===============================
   GOLD SWITCH STYLE
================================ */

        .ios-switch{
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 6px;
        }.ios-switch span{
                position: relative;
                display: inline-flex;
                align-items: center;
            }.ios-switch input[type="radio"]{
                display: none;
            }.ios-switch label{
                position: relative;
                padding-left: 48px;
                cursor: pointer;
                font-weight: 500;
                user-select: none;
            }/* Background */
                .ios-switch label::before{
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 2px;
                    width: 42px;
                    height: 22px;
                    background-color: #334155;
                    border-radius: 20px;
                    transition: 0.3s;
                    border: 1px solid #475569;
                }/* Circle */
                .ios-switch label::after{
                    content: "";
                    position: absolute;
                    left: 3px;
                    top: 5px;
                    width: 16px;
                    height: 16px;
                    background-color: #94a3b8;
                    border-radius: 50%;
                    transition: 0.3s;
                }/* Checked */
            .ios-switch input[type="radio"]:checked + label::before{
                background-color: #facc15;
                border-color: #facc15;
            }.ios-switch input[type="radio"]:checked + label::after{
                transform: translateX(18px);
                background-color: #0f172a;
            }.ios-switch input[type="radio"]:checked + label{
                font-weight: 600;
                color: #facc15;
            }
    


/* ======================================================================
   FILE: Unauthorized.aspx  (scoped under body.page-unauthorized)
   ====================================================================== */

    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
 .access-wrapper{
            min-height: calc(100vh - 180px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }.access-card{
            max-width: 650px;
            width: 100%;
            border: none;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 12px 40px rgba(0,0,0,.08);
            background: #fff;
        }.access-header{
            background: linear-gradient(
                135deg,
                #f59e0b,
                #fbbf24
            );
            color: #fff;
            padding: 28px;
            text-align: center;
        }.access-header h2{
            margin: 0;
            font-weight: 700;
            font-size: 1.7rem;
        }.access-body{
            padding: 45px 35px;
            text-align: center;
        }.warning-icon{
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: rgba(245,158,11,.12);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
        }.warning-icon i{
            font-size: 58px;
            color: #f59e0b;
        }.access-title{
            font-size: 1.7rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 12px;
        }.access-desc{
            color: #6c757d;
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 30px;
        }.btn-home{
            min-width: 180px;
            border-radius: 12px;
            padding: 12px 22px;
            font-weight: 600;
            font-size: 15px;
            box-shadow: 0 4px 14px rgba(245,158,11,.25);
        }@media (max-width:768px){

            .access-card {
                border-radius: 18px;
            }

            .access-body {
                padding: 35px 22px;
            }

            .warning-icon {
                width: 90px;
                height: 90px;
            }

            .warning-icon i {
                font-size: 42px;
            }

            .access-title {
                font-size: 1.4rem;
            }
        }
    


/* ======================================================================
   FILE: VerifyOTP.aspx  (scoped under body.page-verifyotp)
   ====================================================================== */

/* ===== BASE / BODY ===== */
body.page-verifyotp {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100svh;
    overflow-x: hidden;
    font-family: "Poppins", "Segoe UI", sans-serif;
    background-color: #0a0614;
    background-image:
        radial-gradient(ellipse at 12% 10%, rgba(124, 58, 237, .20), transparent 46%),
        radial-gradient(ellipse at 88% 92%, rgba(99, 102, 241, .16), transparent 46%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, .07), transparent 62%);
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.page-verifyotp,
body.page-verifyotp * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page-verifyotp::selection,
body.page-verifyotp ::selection {
    background: rgba(168, 85, 247, .35);
    color: #fff;
}

/* ===== STARS ===== */
body.page-verifyotp #stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

body.page-verifyotp .star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    animation: twinkle var(--dur) ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: var(--oa); transform: scale(.8); }
    100% { opacity: var(--ob); transform: scale(1.2); }
}

/* ===== GLOW ORBS ===== */
body.page-verifyotp .orb {
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

body.page-verifyotp .orb1 {
    width: 500px;
    height: 500px;
    background: rgba(124, 58, 237, .14);
    top: -200px;
    left: -200px;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

body.page-verifyotp .orb2 {
    width: 450px;
    height: 450px;
    background: rgba(99, 102, 241, .11);
    bottom: -180px;
    right: -160px;
    animation: orbFloat 14s ease-in-out infinite alternate-reverse;
}

body.page-verifyotp .orb3 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, .09);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 8s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 30px); }
}

@keyframes orbPulse {
    0% { opacity: .3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: .7; transform: translate(-50%, -50%) scale(1.3); }
}

/* ===== CARD ===== */
body.page-verifyotp .otp-card {
    position: relative;
    z-index: 3;
    width: 420px;
    max-width: calc(100vw - 32px);
    border: 1.5px solid transparent;
    border-radius: 26px;
    padding: 40px 38px 38px;
    background:
        linear-gradient(145deg, rgba(26, 10, 58, .97), rgba(38, 16, 78, .95), rgba(49, 18, 109, .93)) padding-box,
        conic-gradient(from 210deg, rgba(168, 85, 247, .22), #c084fc 16%, #a855f7 36%, #6366f1 56%, rgba(99, 102, 241, .18) 78%, rgba(168, 85, 247, .22)) border-box;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 15px 40px rgba(124, 58, 237, .18), inset 0 1px 0 rgba(255, 255, 255, .06);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: cardIn .6s ease, cardGlow 6s ease-in-out infinite alternate;
}

body.page-verifyotp .otp-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c084fc, #a855f7, #8b5cf6, #6366f1);
    z-index: 2;
    pointer-events: none;
}

body.page-verifyotp .otp-card::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -140px;
    right: -120px;
    border-radius: 50%;
    background: radial-gradient(rgba(255, 255, 255, .08), transparent 70%);
    pointer-events: none;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(24px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardGlow {
    from { box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 15px 40px rgba(124, 58, 237, .18), inset 0 1px 0 rgba(255, 255, 255, .06); }
    to { box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 15px 50px rgba(124, 58, 237, .32), 0 0 60px rgba(168, 85, 247, .16), inset 0 1px 0 rgba(255, 255, 255, .06); }
}

/* ===== TITLES ===== */
body.page-verifyotp h4 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.2px;
    color: #f5f3ff;
    margin-bottom: 6px;
}

body.page-verifyotp h4 i {
    color: #a855f7;
}

body.page-verifyotp .text-muted {
    color: rgba(255, 255, 255, .55) !important;
    font-size: 13px;
}

/* ===== OTP INPUT ===== */
body.page-verifyotp .otp-code-input {
    width: 100%;
    height: 58px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .055);
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 10px;
    color: #fff;
    caret-color: #a855f7;
    transition: all .25s ease;
    outline: none;
    backdrop-filter: blur(6px);
}

body.page-verifyotp .otp-code-input::placeholder {
    color: rgba(255, 255, 255, .35);
    font-weight: 400;
}

body.page-verifyotp .otp-code-input:hover {
    border-color: rgba(255, 255, 255, .22);
}

body.page-verifyotp .otp-code-input:focus {
    border-color: rgba(168, 85, 247, .65);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, .15), 0 8px 24px rgba(0, 0, 0, .2);
    transform: translateY(-1px);
}

body.page-verifyotp .otp-code-input:-webkit-autofill,
body.page-verifyotp .otp-code-input:-webkit-autofill:hover,
body.page-verifyotp .otp-code-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px rgba(30, 12, 60, .96) inset;
    box-shadow: 0 0 0 1000px rgba(30, 12, 60, .96) inset;
    transition: background-color 9999s ease-out 0s;
}

body.page-verifyotp .text-danger {
    color: #f87171 !important;
}

/* ===== BUTTON ===== */
body.page-verifyotp .btn-custom {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6, #6366f1);
    background-size: 200% 200%;
    box-shadow: 0 16px 40px rgba(124, 58, 237, .30), inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: all .3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

body.page-verifyotp .btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(124, 58, 237, .42), inset 0 1px 0 rgba(255, 255, 255, .2);
    background-position: 100% 100%;
}

body.page-verifyotp .btn-custom:active {
    transform: translateY(0) scale(.98);
}

body.page-verifyotp .btn-custom::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, .10) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s;
}

body.page-verifyotp .btn-custom:hover::after {
    transform: translateX(100%);
}

/* ===== DIVIDER / NOTE ===== */
body.page-verifyotp hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .25), transparent);
    margin: 20px 0;
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    body.page-verifyotp .otp-card {
        padding: 30px 22px 28px;
        border-radius: 24px;
    }
    body.page-verifyotp h4 { font-size: 20px; }
    body.page-verifyotp .otp-code-input,
    body.page-verifyotp .btn-custom { height: 52px; }
}

@media (max-width: 380px) {
    body.page-verifyotp .otp-card {
        padding: 24px 16px 22px;
        border-radius: 20px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    body.page-verifyotp .otp-card { padding: 18px 20px 16px; }
    body.page-verifyotp h4 { font-size: 18px; margin-bottom: 4px; }
    body.page-verifyotp .otp-code-input,
    body.page-verifyotp .btn-custom { height: 42px; font-size: 20px; border-radius: 12px; }
    body.page-verifyotp hr { margin: 12px 0; }
}

/* ===== PROFILE PHOTO UPLOAD (UpdateProfile.aspx) ===== */
.profile-photo-btn{
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    border: 2.5px solid #fff;
    font-size: 16px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.profile-photo-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.28);
}


