/* AWAMI LABORATORY PATIENT PORTAL */

:root {
  --primary:#008c8c;
  --primary-dark:#007474;
  --primary-light:#e8f7f7;
  --text-dark:#172033;
  --text-muted:#718096;
  --border:#e4e9ee;
  --background:#f6f9fb;
  --success:#159947;
  --success-bg:#e9f8ef;
  --warning:#d88900;
  --warning-bg:#fff6df;
  --pending:#2167d5;
  --pending-bg:#eaf2ff;
}

* { box-sizing:border-box; }

body {
  margin:0;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--background);
  color:var(--text-dark);
}

.loginBody {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    
}

.main-navbar {
    height: 78px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.navbar-inner {
  width:100%;
  max-width:1440px;
  margin:auto;
  padding:0 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand { display:flex;align-items:center;gap:12px; }
.brand-icon {
  width:46px;height:46px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  color:var(--primary);background:var(--primary-light);font-size:27px;
}
.brand-name {font-size:21px;font-weight:700;color:var(--primary);line-height:1.1;letter-spacing:.3px;}
.brand-subtitle {font-size:11px;color:#52606d;letter-spacing:1.5px;font-weight:600;}

.desktop-nav {display:flex;align-items:center;gap:30px;}
.nav-link-custom {color:#334155;font-size:15px;font-weight:500;padding:8px 0;}
.nav-link-custom:hover,.nav-link-custom.active {color:var(--primary);}
.nav-link-custom.active {font-weight:600;}

.patient-info {display:flex;align-items:center;gap:10px;margin-left:25px;}
.patient-avatar {
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#edf2f7;color:#64748b;font-weight:600;
}
.patient-name{font-size:14px;font-weight:600;}
.patient-mr{font-size:12px;color:var(--text-muted);}
.mobile-menu-button{border:0;background:transparent;font-size:25px;color:#334155;}

.page-wrapper {min-height:calc(100vh - 78px);padding:50px 25px;}
.page-container{max-width:1200px;margin:auto;}

.access-screen{max-width:460px;margin:45px auto 0;}
.access-card {
  background:#fff;border:1px solid var(--border);border-radius:18px;
  padding:35px;box-shadow:0 10px 40px rgba(15,23,42,.06);
}
.access-icon {
  width:82px;height:82px;border-radius:50%;margin:-82px auto 25px;
  background:#fff;border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color:var(--primary);font-size:36px;
  box-shadow:0 5px 20px rgba(15,23,42,.06);
}
.access-title{text-align:center;font-size:(--text-muted);line-height:1.7 ;margin-bottom:2px;}

.form-label{font-size:14px;font-weight:600;margin-bottom:8px;}
.input-group-custom{pospx;}

.form-label{font-size:14px;font-weight:600;margin-bottom:8px;}
.input-group-custom{position:relative;margin-bottom:22px;}
.input-icon {
  position:absolute;left:16px;top:50%;transform:translateY(-50%);
  color:#82909d;font-size:18px;z-index:5;
}
.custom-input {
  width:100%;height:54px;border:1px solid #d9e0e6;border-radius:9px;
  padding:0 15px 0 48px;font-size:15px;outline:none;transition:.2s;
}
.custom-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(0,140,140,.10);}

.btn-primary-custom {
  width:100%;height:54px;border:0;border-radius:9px;
  background:var(--primary);color:#fff;font-weight:600;font-size:15px;transition:.2s;
}
.btn-primary-custom:hover{background:var(--primary-dark);transform:translateY(-1px);}

.security-message {
  margin-top:25px;padding:15px;border:1px solid #dcecf1;background:#f5fbfc;
  border-radius:9px;color:#176b70;font-size:13px;display:flex;align-items:center;gap:10px;
}
.demo-note{margin-top:18px;text-align:center;color:#94a3b8;font-size:12px;}

.page-heading{margin-bottom:25px;}
.page-heading h1{font-size:28px;font-weight:700;margin-bottom:6px;}
.page-heading p{color:var(--text-muted);margin:0;}

.invoice-card {
  background:linear-gradient(110deg,#f0fbfb 0%,#fff 75%);
  border:1px solid #bbb;border-radius:14px;padding:25px;margin-bottom:22px;
}
.invoice-icon {
  width:58px;height:58px;border-radius:50%;background:#dff4f2;color:var(--primary);
  display:flex;align-items:center;justify-content:center;font-size:26px;
}
.invoice-label{color:var(--text-muted);font-size:13px;margin-bottom:3px;}
.invoice-number{color:var(--primary);font-size:23px;font-weight:700;}
.patient-detail-label{font-size:12px;color:var(--text-muted);margin-bottom:3px;}
.patient-detail-value{font-size:15px;font-weight:600;}


.status-completed
{
    color:white;
    background-color:green;
    padding:2%;
}

.status-in-process
{
    color:white;
    background-color:orange;
    padding:2%;
}

.content-card {
    /*background:#fff;border:1px solid var(--border);border-radius:14px;*/
    background: #fff;
    border: 1px solid #bbbbbb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(15,23,42,.03);
}
.card-header-custom {
  padding:22px 24px;display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid var(--border);background:#fff;
}
.card-title{font-size:18px;font-weight:700;margin:0;}
.card-subtitle{color:var(--text-muted);font-size:13px;margin-top:3px;}

.test-table{width:100%;margin:0;}
.test-table th {
  padding:14px 24px;color:#667085;font-size:12px;font-weight:600;
  text-transform:uppercase;letter-spacing:.4px;background:#fafcfd;border-bottom:1px solid var(--border);
}
.test-table td{padding:16px 24px;vertical-align:middle;border-bottom:1px solid #edf0f2;}
.test-table tr:last-child td{border-bottom:0;}
.test-name{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;}
.test-icon {
  width:38px;height:38px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  background:#f7f1f1;color:#e45757;font-size:17px;flex-shrink:0;
}

.status{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:20px;font-size:12px;font-weight:600;}
.status-dot{width:7px;height:7px;border-radius:50%;}
.status-completed{color:#117a3a;background:var(--success-bg);}
.status-completed .status-dot{background:var(--success);}
.status-process{color:#a86400;background:var(--warning-bg);}
.status-process .status-dot{background:#f0a000;}
.status-pending{color:#1859b8;background:var(--pending-bg);}
.status-pending .status-dot{background:var(--pending);}

.btn-report {
  border:1px solid #dbe3e8;background:#fff;color:#176f74;border-radius:8px;
  padding:8px 13px;font-size:13px;font-weight:600;white-space:nowrap;transition:.2s; text-decoration: none;
}
.btn-report:hover{background:var(--primary-light);border-color:#b7dddd;color:var(--primary-dark); text-decoration: none; }
.btn-report i{margin-right:5px;}

.completed-report {
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 24px;border-bottom:1px solid #edf0f2;
}
.completed-report:last-child{border-bottom:0;}
.report-left{display:flex;align-items:center;gap:13px;}
.report-icon {
  width:38px;height:38px;border-radius:8px;background:#edfafa;color:var(--primary);
  display:flex;align-items:center;justify-content:center;
}
.report-name{font-size:14px;font-weight:600;}
.report-date{font-size:12px;color:var(--text-muted);margin-top:3px;}

footer{text-align:center;padding:30px 20px;color:#94a3b8;font-size:12px;}

.custom-alert{display:none;padding:12px 15px;border-radius:8px;margin-bottom:20px;font-size:14px;}
.custom-alert.error{background:#fff1f1;border:1px solid #ffd0d0;color:#a22b2b;}
.custom-alert.success{background:#ecfaf1;border:1px solid #c9eed7;color:#19733c;}

.report-modal{border:0;border-radius:15px;}
.report-modal-icon{width:60px;height:60px;font-size:25px;}
.text-primary-custom{color:var(--primary)!important;}
.report-download-btn{max-width:250px;}

@media(max-width:991px){
  .desktop-nav{display:none;}
  .navbar-inner{padding:0 18px;}
  .page-wrapper{padding:30px 15px;}
  .access-screen{margin-top:40px;}
}

@media(max-width:767px){
  .main-navbar{height:68px;}
  .brand-icon{width:40px;height:40px;font-size:22px;}
  .brand-name{font-size:18px;}
  .brand-subtitle{font-size:9px;}
  .page-wrapper{min-height:calc(100vh - 68px);padding:25px 12px;}
  .access-card{padding:30px 20px;border-radius:14px;}
  .access-icon{width:70px;height:70px;font-size:30px;margin:-65px auto 20px;}
  .access-title{font-size:24px;}
  .invoice-card{padding:20px;}
  .invoice-number{font-size:19px;}
  .invoice-icon{width:50px;height:50px;}
  .page-heading h1{font-size:24px;}
  .card-header-custom{padding:18px;}
  .card-title{font-size:16px;}

  .test-table thead{display:none;}
  .test-table,.test-table tbody,.test-table tr,.test-table td{display:block;width:100%;}
  .test-table tr{padding:16px;border-bottom:1px solid var(--border);}
  .test-table tr:last-child{border-bottom:0;}
  .test-table td{padding:0;border:0;}
  .test-table td:first-child{margin-bottom:12px;}
  .test-table td:nth-child(2){display:inline-block;width:auto;margin-right:8px;}
  .test-table td:nth-child(3){display:inline-block;width:auto;margin-top:8px;}
  .test-name{font-size:14px;}

  .completed-report{padding:15px;align-items:flex-start;gap:10px;}
  .report-name{font-size:13px;line-height:1.3;}
  .btn-report{padding:7px 9px;font-size:12px;}
}

@media(max-width:450px){
  .access-card{padding:25px 16px;}
  .invoice-card .row{row-gap:18px;}
  .report-left{min-width:0;}
}
