/* =========================================
   GLOBAL RESET & BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #f7f9fc;
    color: #0f1b33;
    line-height: 1.6;
}

img {
    max-width: 100%;
    border-radius: 12px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
    width: 100%;
    background: #ffffffee;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e6e9f0;
    padding: 20px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text strong {
    font-size: 20px;
    font-weight: 700;
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.logo-img {
  width: auto;        
  max-height: 50px;        
  width: auto;
}

.logo-text span {
    font-size: 12px;
    color: #444;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: #333;
    font-size: 15px;
    transition: 0.25s;
}

.nav-links a:hover {
    color: #1e3a8a;
    font-weight: 600;
}

/* =========================================
   HERO SECTION 
========================================= */
.hero-section {
    height: 90vh;
    background: url("images/hero-bg.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-left: 70px;
    color: white;
}

.hero-content {
    max-width: 600px;
}

.hero-tag {
    background: #1e3a8a;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-content .primary {
    color: #60a5fa;
}

.hero-content p {
    max-width: 550px;
    margin-bottom: 25px;
}


.hero-buttons {
    position: relative;
    margin-bottom: 20px;
    z-index: 20;      /* ensures buttons sit above the stats card */
}


.hero-buttons a {
    padding: 12px 24px;
    border: 1px solid #fff;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.25s;
}

.hero-buttons a:hover {
    background: #fff;
    color: #1e3a8a;
}

.hero-btn {
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease;
    border: none;
}

/* Primary blue button */
.hero-btn.primary {
    background: #1e3a8a;
    color: #fff;
    border: 1px solid #1e3a8a;
}

.hero-btn.primary:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

/* Outline button */
.hero-btn.outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.hero-btn.outline:hover {
    background: #fff;
    color: #1e3a8a;
}

/* =========================================
   STATS BAR
========================================= */
.stats-bar {
    display: flex;
    justify-content: space-around;
    width: 85%;
    margin-top: 60px !important;
    background: #fff;
    padding: 25px 0;
    border-radius: 16px;
    box-shadow: 0px 5px 22px rgba(0,0,0,0.09);
    position: center;
    z-index: 10;

}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1e3a8a;
}

/* =========================================
   SECTION HEADINGS
========================================= */
.subheading {
    text-align: center;
    color: #1e3a8a;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 800;
    color: #0f1b33;
}

.section-desc {
    text-align: center;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 15px;
}

/* =========================================
   SERVICES SECTION
========================================= */
.services-section {
    padding: 80px 70px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    padding: 35px 28px;
    border-radius: 18px;
    border: 1px solid #ebeff5;
    box-shadow: 0px 4px 14px rgba(0,0,0,0.04);
    transition: 0.25s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 26px rgba(0,0,0,0.08);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: #eef2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: #6b7280;
}

/* =========================================
   INDUSTRIES (Version A Two‑Column)
========================================= */
.industries-section {
    padding: 80px 70px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 18px 25px;
    margin-top: 35px;
}

/* Individual card */
.industry-card {
    background: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #e6e9f0;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.05);
}

/* Icon circle */
.industry-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-card span {
    font-weight: 600;
    color: #0f1b33;
}

.industries-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.industries-left {
    flex: 1;
}

.industry-desc {
    margin: 10px 0 30px 0;
    color: #6b7280;
    max-width: 520px;
}

.industries-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tag {
    padding: 10px 18px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.05);
    font-size: 14px;
    color: #1e3a8a;
}

/* RIGHT SIDE */
.industries-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.industry-image-box {
    position: relative;
}

.industry-image-box img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.12);
}

/* FLOATING CARD */
.floating-card {
    position: absolute;
    bottom: -25px;
    left: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    display: flex;
    gap: 15px;
    width: 300px;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.12);
}

.floating-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    font-size: 20px;
}

/* =============================
   CONTACT SECTION — VERSION A
============================= */

.contact-wrapper {
    padding: 80px 70px;
}

.contact-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    width: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0px 8px 26px rgba(0,0,0,0.10);
}

/* LEFT SIDE — BLUE PANEL */
.contact-left {
    flex: 1;
    background: #0d3d9e;
    color: white;
    padding: 45px 35px;
}

.contact-left h2 {
    margin-bottom: 15px;
    font-size: 28px;
}

.contact-left p {
    color: #e0e7ff;
    margin-bottom: 30px;
    font-size: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.info-icon {
    font-size: 22px;
    background: #1e3a8a;
    padding: 10px;
    border-radius: 10px;
}

/* RIGHT SIDE — WHITE PANEL */
.contact-right {
    flex: 1.3;
    padding: 45px 40px;
}

.contact-right h3 {
    margin-bottom: 25px;
    font-size: 20px;
    color: #0f1b33;
}

/* FORM GRID */
.two-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d3dae6;
    border-radius: 8px;
    font-size: 15px;
}

.contact-form textarea {
    height: 140px;
    resize: none;
}

/* BUTTON */
.contact-btn {
    background: #1e3a8a;
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.contact-btn:hover {
    background: #3b82f6;
}

/* =========================================
   FOOTER
========================================= */
.footer-section {
    background: #0f1b33;
    color: #e5e7eb;
    padding: 60px 70px 30px;
    margin-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 10px;
    font-size: 17px;
}

.footer-copy {
    text-align: center;
    margin-top: 25px;
    opacity: 0.6;
    font-size: 13px;
}

.footer-col a {
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.8;
    transition: 0.25s;
}

.footer-col a:hover {
    color: #ffffff;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {
    .industries-container {
        flex-direction: column;
    }
}

@media (max-width: 800px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-img {
        max-height: 40px;
    }


    
.hero-section {
    position: relative;
}

/* Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    font-size: 28px;
    cursor: pointer;
}

/* Subtext */
.modal-subtext {
    color: #6b7280;
    margin-bottom: 20px;
    margin-top: 8px;
}

/* Grid layout */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.modal-grid .full {
    grid-column: span 2;
}

.modal-grid input,
.modal-grid select,
.modal-grid textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 15px;
}

.modal-grid textarea {
    height: 120px;
}

/* Submit button */
.modal-submit {
    margin-top: 25px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #1e3a8a;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.modal-submit:hover {
    background: #3b82f6;
}

/* ================================
   ADMIN LOGIN PAGE (PERFECT MATCH)
================================ */

.admin-login-body {
    background: #f2f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Inter", sans-serif;
}

.admin-login-container {
    text-align: center;
    width: 380px;
}

.admin-icon img {
    background: #1e3a8a;
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 20px;
}

.admin-title {
    font-size: 30px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 5px;
}

.admin-sub {
    color: #6b7280;
    margin-bottom: 25px;
}

/* White form card */
.login-form {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0px 6px 30px rgba(0,0,0,0.12);
    text-align: left;
}

.login-form label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #1f2937;
}

/* Input wrapper with icon */
.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 20px;
    background: #f9fafb;
}

.input-icon {
    font-size: 18px;
    margin-right: 10px;
    color: #6b7280;
}

.input-wrapper input {
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
    width: 100%;
}

.admin-submit {
    width: 100%;
    padding: 12px;
    background: #1e3a8a;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    margin-top: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.admin-submit:hover {
    background: #244ccf;
}

.error-box {
    background: #fee2e2;
    color: #b91c1c;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}

/* =============================
   ADMIN DASHBOARD UI
============================= */
.admin-dashboard-body {
    background: #f7f9fc;
    font-family: "Inter", sans-serif;
}

/* TOP BAR */
.admin-topbar {
    background: #ffffff;
    padding: 18px 40px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-icon {
    width: 32px;
    margin-right: 10px;
}

.admin-left {
    display: flex;
    align-items: center;
}

.admin-title {
    font-size: 20px;
    font-weight: 700;
}

.admin-right {
    font-size: 14px;
    color: #555;
    display: flex;
    gap: 15px;
}

.logout-link {
    color: #1e3a8a;
    text-decoration: none;
}

/* MAIN */
.admin-main {
    padding: 40px;
}

/* METRICS */
.metrics-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #e3e8f1;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.05);
}

.metric-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
    color: white;
}
.metric-icon.blue { background: #3b82f6; }
.metric-icon.yellow { background: #facc15; }
.metric-icon.purple { background: #a855f7; }
.metric-icon.green { background: #22c55e; }

.metric-label {
    font-size: 14px;
    color: #555;
}

.metric-info h3 {
    font-size: 22px;
    margin-top: 3px;
}

/* TABS */
.admin-tabs {
    margin-bottom: 20px;
}

.tab {
    padding: 8px 18px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f3f4f6;
    cursor: pointer;
    margin-right: 8px;
    transition: .2s;
}

.tab.active {
    background: #1e3a8a;
    color: white;
}

/* TABLE CARD */
.admin-table-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    box-shadow: 0px 4px 16px rgba(0,0,0,0.06);
    width: 100%;
}

.table-subtext {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

/* TABLE */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.admin-table th {
    text-align: left;
    padding: 12px;
    color: #6b7280;
    font-size: 13px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table td {
    padding: 15px 12px;
    font-size: 14px;
    color: #111;
    border-bottom: 1px solid #f1f5f9;
}

/* STATUS BADGES */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-badge.pending {
    background: #fef9c3;
    color: #a16207;
}

.status-badge.approved {
    background: #dcfce7;
    color: #15803d;
}

/* ACTION SELECT */
.action-select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}
/* TAB CONTENT CONTROL */

.tab-content {
    display: none !important;
}

.tab-content.active {
    display: block !important;
}
/* ============================
   SIDEBAR LAYOUT (A3 SYSTEM)
============================ */
.admin-dashboard-body {
    display: flex;
    font-family: "Inter", sans-serif;
}

/* SIDEBAR */
.admin-sidebar {
    width: 230px;
    background: #1e3a8a;
    color: white;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    position: fixed;
    left: 0;
    top: 0;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-icon {
    width: 50px;
    margin-bottom: 10px;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    background: transparent;
    color: white;
    border: none;
    text-align: left;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255,255,255,0.2);
}

.sidebar-link.logout {
    margin-top: 20px;
    background: #dc2626;
}

.sidebar-link.logout:hover {
    background: #ef4444;
}

/* CONTENT AREA */
.admin-content {
    margin-left: 240px;
    padding: 30px;
    width: calc(100% - 240px);
}

/* MAIN SECTIONS */
.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.modal-header{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom: 10px;
}
.modal-close{
  background:transparent; border:0; font-size:28px; cursor:pointer;
}

.modal-subtext{ color:#6b7280; margin: 8px 0 16px; }

.modal-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.modal-grid .full{ grid-column: 1 / -1; }

.modal-grid input, .modal-grid select, .modal-grid textarea{
  width:100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}
.modal-grid textarea{ min-height: 110px; resize: vertical; }

.modal-submit{
  margin-top: 14px;
  width:100%;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: #1e3a8a;
  color:#fff;
  font-weight: 700;
  cursor:pointer;
}
.modal-submit:hover{ background:#3b82f6; }

.row-actions{
  display:flex;
  gap: 8px;
  align-items:center;
  flex-wrap: wrap;
}

.btn-mini{
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background:#fff;
  cursor:pointer;
  font-weight:600;
  font-size: 13px;
}

.btn-edit{ border-color:#93c5fd; }
.btn-assign{ border-color:#86efac; }
.btn-delete{ border-color:#fca5a5; color:#b91c1c; }
}
/* -------ADMIN LOGIN PAGE – Gencare Solutions----- */

.admin-login-body {
    background: #f3f6fb;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Inter", sans-serif;
}

.admin-login-container {
    text-align: center;
    width: 360px;
}

.admin-icon img {
    background: #1e3a8a;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.admin-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 5px;
}

.admin-sub {
    color: #6b7280;
    margin-bottom: 30px;
}

/* LOGIN FORM CARD */
.login-form {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.12);
    text-align: left;
}

.login-form label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #1f2937;
}

/* Form Inputs */
.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 20px;
    background: #f9fafb;
}

.input-icon {
    font-size: 18px;
    margin-right: 10px;
    color: #6b7280;
}

.input-wrapper input {
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
    width: 100%;
}

/* Submit Button */
.admin-submit {
    width: 100%;
    padding: 12px;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.admin-submit:hover {
    background: #2745c7;
}

/* Error Box */
.error-box {
    background: #fee2e2;
    color: #b91c1c;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}
/* === SHOW/HIDE PASSWORD TOGGLE==== */
.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    font-size: 18px;
    cursor: pointer;
    color: #6b7280;
    user-select: none;
    transition: 0.2s;
}

.toggle-password:hover {
    color: #1e3a8a;
}

/* =========================================================
    ADMIN DASHBOARD LAYOUT (RESTORED)
========================================================= */

.admin-dashboard-body {
    display: flex;
    background: #f7f9fc;
    font-family: "Inter", sans-serif;
}

/* SIDEBAR */
.admin-sidebar {
    width: 240px;
    height: 100vh;
    background: #1e3a8a;
    color: white;
    padding: 25px 18px;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 25px;
}

.sidebar-header img {
    width: 48px;
    margin-bottom: 10px;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-link {
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    text-align: left;
    transition: .2s;
    font-size: 15px;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255,255,255,0.18);
}

.sidebar-link.logout {
    background: #dc2626;
}
.sidebar-link.logout:hover {
    background: #ef4444;
}

/* MAIN SECTION */
.admin-content {
    margin-left: 240px;
    width: calc(100% - 240px);
    padding: 35px;
}

/* SECTION CONTAINER */
.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

/* TOPBAR (IF YOU STILL USE IT) */
.admin-topbar {
    background: #ffffff;
    padding: 18px 40px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* METRIC CARDS */
.metrics-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    flex: 1;
    background: white;
    padding: 22px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e3e8f1;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.05);
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: #1e3a8a;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 22px;
}

/* TABS */
.admin-tabs {
    margin-bottom: 20px;
}

.tab {
    padding: 10px 18px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 8px;
    font-size: 14px;
    transition: .2s;
}

.tab.active {
    background: #1e3a8a;
    color: white;
}

/* TAB CONTENT CONTROL */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* TABLE CARD */
.admin-table-card {
    background: white;
    padding: 26px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.table-subtext {
    color: #777;
    font-size: 14px;
    margin-bottom: 12px;
}

/* TABLE */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.admin-table th {
    text-align: left;
    padding: 12px;
    color: #6b7280;
    font-size: 13px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

/* STATUS BADGES */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-badge.pending { background: #fef9c3; color: #a16207; }
.status-badge.approved { background: #dcfce7; color: #15803d; }
.status-badge.completed { background:#d1fae5; color:#047857; }
.status-badge.in progress { background:#dbeafe; color:#1d4ed8; }

/* MINI BUTTONS */
.row-actions {
    display: flex;
    gap: 8px;
}

.btn-mini {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    background: white;
    border: 1px solid #d1d5db;
    cursor: pointer;
}

.btn-delete { border-color:#ef4444; color:#b91c1c; }
.btn-edit { border-color:#60a5fa; }
.btn-assign { border-color:#86efac; }

/* PREVIEW GRID (Dashboard) */
.admin-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 20px;
}

.preview-card {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

.preview-card-full {
    grid-column: 1 / -1;
}

/* MINI TABLE */
.mini-table {
    width:100%;
    border-collapse: collapse;
}
.mini-table th {
    font-size: 12px;
    color:#6b7280;
    border-bottom:1px solid #e5e7eb;
    padding: 8px 6px;
}
.mini-table td {
    padding: 10px 6px;
    border-bottom:1px solid #eef2f7;
    font-size: 13px;
}

.muted { color:#6b7280; }

#section-providers .admin-table-card {
    width: 100%;
    display: block;
}
#section-providers table {
    width: 100%;
}
.pagination {
    margin-top: 18px;
    display: flex;
    gap: 8px;
}

.page-btn {
    padding: 8px 14px;
    border-radius: 8px;
    background: #e5e7eb;
    border: 1px solid #cbd5e1;
    color: #111;
    font-size: 14px;
}

.page-btn:hover {
    background: #d1d5db;
}

.page-btn.active {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}
/*  GLOBAL MODAL FIX — FORCE HIDE AND CENTER */

.modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;

    background: rgba(0,0,0,0.55) !important;

    display: none !important;              /*  hide by default */
    justify-content: center !important;
    align-items: center !important;

    z-index: 99999 !important;
}

.modal-overlay.active {
    display: flex !important;               /*  show when active */
}

.modal-box {
    background: #fff !important;
    width: 90% !important;
    max-width: 700px !important;
    border-radius: 14px !important;
    padding: 26px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.25) !important;
}
/* ============================================================
   FINAL MOBILE RESPONSIVE FIX PACK
============================================================ */
@media (max-width: 480px) {

    /* Prevent global overflow */
    html, body {
        overflow-x: hidden !important;
    }
    * {
        max-width: 100% !important;
    }

    /* Sidebar width fix */
    .admin-sidebar {
        width: 150px !important;
    }
    .admin-content {
        margin-left: 150px !important;
        width: calc(100% - 150px) !important;
        padding: 15px !important;
    }

    /* Metric cards fix */
    .metrics-row {
        flex-direction: column !important;
    }
    .metric-card {
        width: 100% !important;
    }

    /* Preview grid fix */
    .admin-preview-grid {
        grid-template-columns: 1fr !important;
    }

    /* Table scrolling fix */
    .table-wrap {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .admin-table {
        min-width: 600px !important;
    }

    /* Modal width fix */
    .modal-box {
        width: 95% !important;
        max-width: 95% !important;
        padding: 18px !important;
    }

    /* Login page fix */
    .admin-login-container {
        width: 90% !important;
    }
}