        :root {
            --primary-color: #000080;
            --secondary-color: #d4af37;
            --bg-color: #f4f7f6;
            --text-main: #333;
            --card-bg: #fff;
        }
        body { margin: 0; font-family: 'Outfit', sans-serif; background: var(--bg-color); color: var(--text-main); }
        .navbar { background: var(--primary-color); padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 4px solid var(--secondary-color); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
        .logo-wrap { display: flex; align-items: center; gap: 15px; }
        .logo-wrap img { height: 50px; }
        .logo-text { color: var(--secondary-color); font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
        .logo-text span { color: #fff; font-size: 0.9rem; display: block; font-weight: 500; }
        
        .main-container { max-width: 900px; margin: 3rem auto; padding: 0 20px; }
        
        .search-card {
            background: var(--card-bg); padding: 2.5rem; border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,128,0.08); text-align: center;
            border-top: 5px solid var(--secondary-color);
        }
        .search-card h2 { margin-top: 0; color: var(--primary-color); }
        .search-box { display: flex; gap: 10px; margin-top: 1.5rem; justify-content: center; }
        .search-box input {
            width: 60%; padding: 15px; border: 2px solid #ddd; border-radius: 8px;
            font-size: 1.1rem; font-family: inherit; transition: border-color 0.3s;
        }
        .search-box input:focus { border-color: var(--primary-color); outline: none; }
        .search-box button {
            background: var(--primary-color); color: #fff; border: none; padding: 0 25px;
            border-radius: 8px; font-weight: bold; font-size: 1.1rem; cursor: pointer;
            transition: background 0.3s;
        }
        .search-box button:hover { background: #000050; }
        
        .modal { display:none; position:fixed; z-index:2000; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,0.6); align-items:center; justify-content:center; }
        .modal-content { background:#fff; padding:2rem; border-radius:12px; max-width:450px; width:90%; position:relative; border-top: 5px solid var(--secondary-color); }

        .patient-header {
            background: var(--primary-color); color: #fff; padding: 1.5rem; border-radius: 10px;
            margin-top: 2rem; display: none; justify-content: space-between; align-items: center;
        }
        .patient-header h3 { margin: 0; color: var(--secondary-color); }

        .order-card {
            background: var(--card-bg); border-radius: 10px; margin-top: 1.5rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05); overflow: hidden;
            border-left: 5px solid var(--primary-color);
        }
        .order-header {
            padding: 1.5rem; display: flex; justify-content: space-between; align-items: center;
            border-bottom: 1px solid #eee; background: #fafafa;
        }
        .btn-print {
            background: var(--primary-color); color: var(--card-bg); padding: 8px 15px;
            text-decoration: none; border-radius: 6px; font-weight: bold; font-size: 0.9rem;
        }
        
        .test-list { padding: 1.5rem; }
        
        table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.95rem; }
        th { background: #f0f2f5; color: var(--primary-color); padding: 10px; text-align: left; }
        td { padding: 10px; border-bottom: 1px solid #eee; }
        
        .flag-high { color: #fff; background: #D30000; padding: 3px 8px; border-radius: 4px; font-weight: bold; font-size: 0.8rem; }
        .flag-low { color: var(--primary-color); background: #ffe082; padding: 3px 8px; border-radius: 4px; font-weight: bold; border: 1px solid var(--secondary-color); font-size: 0.8rem; }
        .flag-normal { font-weight: 600; color: #333; }
        
        .balance-warning {
            background: #ffebee; color: #c62828; padding: 15px; border-radius: 8px;
            margin-top: 15px; font-weight: bold; text-align: center; border: 1px solid #ffcdd2;
        }
