:root{
    --topbar-height:52px;
    --navy:#123462;
    --navy-2:#0f2d56;
    --blue:#2f65df;
    --blue-2:#1f58d8;
    --text:#18243a;
    --muted:#6c7890;
    --line:#e8edf4;
    --bg:#ffffff;
    --green:#20a866;
    --orange:#ff9f1c;
    --red:#ff4b4b;
    --purple:#7954e8;
    --sidebar-width:272px;
}
.dropdown-menu {
      display: none;
      position: absolute;
      right: 0;
      top: 110%;
      background-color: #ffffff;
      min-width: 200px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
      border-radius: 8px;
      padding: 6px 0;
      z-index: 1000;
      border: 1px solid #eef0f6;
  }

  .dropdown-menu.show {
      display: block;
  }

  .dropdown-item {
      display: block;
      width: 100%;
      padding: 10px 16px;
      text-align: left;
      background: none;
      border: none;
      color: #333333;
      font-size: 14px;
      text-decoration: none;
      cursor: pointer;
      box-sizing: border-box;
      font-family: inherit;
  }

  .dropdown-menu a {
      text-decoration: none;
      color: #333333;
      display: block;
      padding: 10px 16px;
      font-size: 14px;
  }

  .dropdown-menu a:hover, .dropdown-item:hover {
      background-color: #f4f6f9;
  }

  .dropdown-menu .delete-btn {
      color: #dc3545;
  }

  .dropdown-menu .logout-btn {
      color: #164dad;
      font-weight: 500;
  }
.topbar{
    height:var(--topbar-height);
    border-bottom:1px solid #d8dde5;
    box-shadow:0 1px 4px rgba(0,0,0,.13);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 26px;
    background:#fff;
}
.topbar .doctors-tools .search{
    width: 300px;
    margin-top: .5rem;
}
.admin-user{
    display:flex;
    align-items:center;
    gap:8px;font-size:15px;
    color:#222
}
.admin-avatar{
    width:31px;
    height:31px;
    border-radius:50%;
    background:#1756a9;
    color:#fff;
    display:grid;
    place-items:center;
    font-size:18px;
}
.admin-user .chev{font-size:10px;margin-left:1px}


        .auth-buttoncont{
            background-color: #1260ec;
            width: 7rem;
            border: white 1px solid;
            height: 2.5rem;
            color: #cce2fa;
            border-radius: 6px;
            font-size: 20px;
            font: 700;
        }
        .auth-button:hover{
            background: #1852c9;
            
        }
        .auth-buttonlogin{
            border-radius: 6px;
            border: 1px white solid;
            width: 7rem;
            height: 2rem;
            margin-top: 2rem;
            margin-left: 5rem;
            font-size: 18px;
            font-weight: 700;
            font-family: 'Times New Roman', Times, serif;
            color: red;
            transition: 0.5s;
        }
        .auth-buttonlogin:hover{
            background: rgb(245, 90, 90);
            color: white;
            border: white 1px solid;
        }
        .login-page {
            width: 100%;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-container {
            width: 90%;
            max-width: 1100px;
            min-height: 600px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 80px;
        }

        /* ================= LEFT SIDE ================= */

        .branding {
            width: 52%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .logo {
            width: 330px;
            height: auto;
            object-fit: contain;
        }

        .features {
            width: 360px;
            margin-top: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature {
            flex: 1;
            text-align: center;
            padding: 0 12px;
        }

        .feature:not(:last-child) {
            border-right: 2px solid #d5d5d5;
        }

        .feature-icon {
            width: 52px;
            height: 52px;
            margin: 0 auto 8px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 25px;
            font-weight: bold;
        }

        .blue {
            background: #2864d7;
        }

        .green {
            background: #28a55c;
        }

        .feature p {
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
        }

        .feature:first-child p,
        .feature:last-child p {
            color: #2864d7;
        }

        .feature:nth-child(2) p {
            color: #229c58;
        }

        /* ================= RIGHT SIDE ================= */

        .login-form-container {
            width: 350px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .login-title {
            font-size: 23px;
            font-weight: 700;
            margin-bottom: 38px;
            position: relative;
        }

        .login-title::after {
            content: "";
            position: absolute;
            width: 72px;
            height: 4px;
            background: #2864e8;
            border-radius: 5px;
            bottom: -7px;
            left: 50%;
            transform: translateX(-50%);
        }

        .login-form {
            width: 100%;
        }

        .form-group {
            width: 100%;
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            margin-left: 10px;
            margin-bottom: 7px;
            font-size: 14px;
            color: #222;
        }

        .form-group input {
            width: 100%;
            height: 36px;
            border: 1px solid #777;
            border-radius: 11px;
            background: #f8fafc;
            outline: none;
            padding: 0 12px;
            font-size: 14px;
        }

        .form-group input:focus {
            border-color: #2864e8;
            box-shadow: 0 0 0 2px rgba(40, 100, 232, 0.1);
        }

        .forgot-password {
            width: 100%;
            text-align: right;
            margin-top: -2px;
            margin-bottom: 5px;
        }

        .forgot-password a {
            color: #ff4b35;
            text-decoration: none;
            font-size: 13px;
        }

        .forgot-password a:hover {
            text-decoration: underline;
        }

        .login-btn {
            display: block;
            width: 113px;
            height: 28px;
            margin: 0 auto;
            border: none;
            border-radius: 20px;
            background: #2864e8;
            color: white;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s ease;
        }

        .login-btn:hover {
            background: #1852c9;
            transform: translateY(-1px);
        }

        .signup-text {
            margin-top: 17px;
            font-size: 13px;
            color: #333;
            text-align: center;
        }

        .signup-text a {
            color: #2864e8;
            text-decoration: none;
        }

        .signup-text a:hover {
            text-decoration: underline;
        }

        /* ================= RESPONSIVE ================= */

        @media (max-width: 850px) {

            .login-container {
                flex-direction: column;
                justify-content: center;
                gap: 40px;
                padding: 40px 20px;
            }

            .branding {
                width: 100%;
            }

            .logo {
                width: 280px;
            }

            .login-form-container {
                width: 350px;
                max-width: 100%;
            }
        }

        @media (max-width: 450px) {

            .login-container {
                gap: 30px;
            }

            .logo {
                width: 230px;
            }

            .features {
                width: 100%;
            }

            .feature {
                padding: 0 5px;
            }

            .feature-icon {
                width: 45px;
                height: 45px;
                font-size: 20px;
            }

            .feature p {
                font-size: 10px;
            }

            .login-form-container {
                width: 100%;
            }

            .login-title {
                font-size: 21px;
            }
        }





/* =======================

   General Reset
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #111111;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   Dashboard Layout
========================= */

.dashboard {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.topbar{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:5px;
}
.topbar h3{
    font-size:24px;
    font-weight:600;
}
.welcome{
    background:#9AD0F8;
    border-radius:18px;
    padding:30px 35px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    min-height:150px;
    width: 95%;
    height: 11.5rem;
    justify-self: center;
    margin-top: 2rem;

    
}
.welcome h1{
    font: size 28p;
    font-weight:600;
    color:#1b1b1b;
    margin-bottom:10px;
}
.welcome p{
    color:#666;
    font-size:16px;
}
.welcome img{
    width:180px;
    object-fit:contain;
}
.welcome-card 
.stats{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.cards{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    margin-bottom:30px;
}

.card{
    border-radius:16px;
    padding: 22px;
    width: 430px;
    height: 100px;
    margin-left: 35px;
    display:flex;
    align-items:center;
    gap: 6px;
    box-shadow:0 8px 18px rgba(0,0,0,.05);
    transition:.3s;
    padding:20px 35px;
}

.card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 30px rgba(0,0,0,.10);
}
/*=======statistics======*/

.icon{
    width: 55px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    color: #fffcfc;
}
.blue{
    background:#2f80ed;
}
.green{
    background:#28a745;
}
.navy{
    background:#315efb;
}
.card{
    background: #F4FAFF;
}
.card small{
    display:block;
    color:#888;
    margin-bottom:8px;
    font-size:13px;
}
.card h2{
    font-size:34px;
    font-weight:700;
    color:#222;
}

/* ==========Sidebar===*/

.sidebar {
    width: 347px;
    height: 100vh;
    background-color: #f2f9ff;
    position: fixed;
    left: 0;
    top: 0;
    padding: 40px 19px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);

    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar{
    display: none;
}



/* =========================
   Logo
========================= */


.logo {
    margin-bottom: 50px;
    display: flex;

}
.logo h2{
    font-size: 35px;
    font-weight: 700;
    color: #095eff;
}
.logo span{
    color: #10B981;
}
.logo p{
    font-weight: 500;
    color: #111;
}


/* =========================
   Navigation
========================= */

.navigation {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 25%;
}

.nav-item {
    width: 266px;
    height: 53px;
    margin-left: 0;
    padding: 0 14px;
    border-radius: 10px;

    display: flex;
    align-items: center;

    font-size: 22px;
    font-weight: 500;

    transition: 0.2s ease;
}

.nav-item i {
    width: 48px;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.nav-item:hover {
    background-color: #e2efff;
}


/* Active Navigation */

.nav-item.active {
     background-color: #2864e8;
    color: #ffffff;
}

.nav-item.active:hover {
    background-color: #2864e8;
}


/* =========================
   Logout
========================= */

.logout-container {
    margin-top: auto;
    margin-bottom: 45px;
}

.logout {
    display: flex;
    align-items: center;
    gap: 28px;

    margin-left: 13px;

    color: #ff0000;
    font-size: 21px;
    font-weight: 500;
}

.logout i {
    font-size: 24px;
}


/* =========================
   Main Content
========================= */

.main-content {
    margin-left: 347px;
    width: calc(100% - 347px);
    min-height: 100vh;
    background-color: #ffffff;
}


/* =========================
   Top Header
========================= */

.top-header {
    height: 58px;
    padding: 0 55px 0 25px;
    background-color: #f2f9ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}


.top-header h2 {
    font-size: 27px;
    font-weight: 600;
}
.profile-img img{
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: #3175ff 1px solid;
    
    box-shadow:
        0 8px 20px rgba(30, 100, 220, 0.12);
}

/* =========================
   User Section
========================= */

.user-section {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-left: 70%;
}

.notification-button {
    border: none;
    background: transparent;
    cursor: pointer;

    font-size: 25px;
    color: #111111;
}

.user-name {
    font-size: 21px;
    font-weight: 400;
}


/* =========================
   Main Page Content
========================= */



/* =========================================
   DOCTORS CONTENT
========================================= */

.doctors-content {
    width: 95%;
    margin: auto;
    margin-top: 1.5rem;
}


/* =========================================
   DOCTORS TITLE
========================================= */

.doctors-title {
    text-align:left;
    color: #1765c0;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    
}


/* =========================================
   SEARCH BAR
========================================= */

.doctor-search {
    width: 100%;
    height: 40px;
    border: 1.5px solid #1680ff;
    border-radius: 20px;
    background: #f7fbff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 2rem;
    
   
}

.doctor-search i {
    color: #777f87;
    font-size: 19px;
    margin-right: 15px;
}

.doctor-search input {
    width: 100%;
    height: 100%;

    border: none;
    outline: none;

    background: transparent;

    font-size: 12px;
    color: #333;
}

.doctor-search input::placeholder {
    color: #888;
}


/* =========================================
   BLUE BANNER
========================================= */

.doctor-banner {
    height: 170px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    background: linear-gradient(
        110deg,
        #1958e8,
        #1260ec,
        #1e57dc
    );

    color: white;
    margin-top: 02rem;
    margin-bottom: 1.5rem;
}


/* Banner Text */

.banner-text {
    position: relative;
    z-index: 2;

    padding: 30px 35px;
}

.banner-label {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 15px;
    font-weight: 600;
}

.banner-label span {
    width: 11px;
    height: 11px;

    display: block;

    background: #9cc5ff;
    border-radius: 50%;
}

.banner-text h2 {
    font-size: 43px;
    line-height: 1.1;

    font-weight: 700;

    margin-top: 24px;
}

.banner-text h2 strong {
    color: #9ec5ff;
}


/* Decorative Circles */

.banner-circle {
    position: absolute;

    border: 1px solid rgba(255, 255, 255, 0.4);

    border-radius: 50%;
}

.circle-1 {
    width: 190px;
    height: 190px;

    right: -17px;
    top: -92px;
}

.circle-2 {
    width: 155px;
    height: 155px;

    right: 40px;
    top: -75px;
}


/* =========================================
   DOCTORS GRID
========================================= */

.doctors-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    width: 100%;
}


/* =========================================
   DOCTOR ITEM
========================================= */

.doctor-item {
    text-align: center;
}


/* =========================================
   DOCTOR CARD
========================================= */

.doctor-card {
    height: 308px;

    border: 1px solid #cce2fa;
    border-radius: 20px;

    background: #f5faff;

    padding: 20px 10px 15px;

    transition: 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 20px rgba(30, 100, 220, 0.12);
}


/* =========================================
   DOCTOR IMAGE
========================================= */

.doctor-photo {
    width: 178px;
    height: 178px;

    margin: 0 auto 12px;

    border-radius: 50%;

    overflow: hidden;

    background: #dfe6ee;
}

.doctor-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================
   DOCTOR NAME
========================================= */

.doctor-card h3 {
    font-size: 18px;
    font-weight: 600;

    color: #111;

    margin-top: 10px;
}

.doctor-card p {
    color: #095eff;

    font-size: 16px;

    margin-top: 4px;
}


/* =========================================
   VIEW PROFILE BUTTON
========================================= */

.profile-button {
    width: 100%;
    height: 49px;

    margin-top: 18px;

    border: none;
    border-radius: 9px;

    background: #2864e8;

    color: white;

    font-size: 20px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.profile-button:hover {
    background: #1453d2;
}


/* =========================================
   BOOK BUTTON
========================================= */

.book-button {
    width: 100px;
    height: 49px;

    margin-top: 8px;

    border: 1.5px solid #1765ff;

    border-radius: 30px;

    background: white;

    color: #1765ff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.book-button:hover {
    background: #1765ff;
    color: white;
}


/* =========================================
   BOTTOM INSTRUCTION
========================================= */

.doctor-instruction {
    text-align: center;

    margin-top: 37px;

    font-size: 17px;

    color: #1e293b;
}

.doctor-instruction strong {
    font-weight: 700;
}
.table-area{

    background:#ffffff;

    border-radius:18px;

    padding:20px;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

    overflow-x:auto;
}

table{

    width:95%;
    margin: auto;
    margin-top: 20px;
    border-collapse:collapse;
    min-width:600px;
}

/*=========================================
            TABLE HEADER
==========================================*/

thead{

    background:#f5f7fb; 
}

thead th{
    font-size:18px;
    font-weight:600;
    color:#000000;
    text-align: left;
    padding-left: 15px;
    

}

/*==========TABLE BODY=================*/

tbody td{

    padding:20px 18px;
    border-bottom:1px solid #eeeeee;
    font-size:15px;
    color:#444;
    margin: auto;

}
tbody td img{
    width: 8rem;
    height: 5rem;
    border-radius: 1rem;
}
.cart-img{
    display: flex;
    gap: 0.5rem;
}
.cart-img p{
    align-self: center;
}

.green1{
    color: green;
    font-weight: 500;
}

tbody tr{

    transition:.3s;
}

tbody tr:hover{

    background:#f8fbff;
}
#green{
    color: #10B981;
}
.cont{
    width:90%;
    height: 350px;
    border: #111 solid 1px;
    justify-self: center;
}
/*========Tab Buttons=======*/
.tabs{
    display: flex;
    justify-content: space-evenly;
    width: 95%;
    margin: auto;
    gap: 8rem;
}
.tabs button{
    color: #111111;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    background: white;
    border: none;
}
.tabs button:hover{
    border-bottom: #095eff 2px solid;

}

.tab-btn{
    background: #f5f5f5;
    color: #333;
    border: none;
    padding: 10px 20px;
}
.tab-btn.active{
    background: none;
    color: rgb(23, 89, 230);
    border-radius: 5px;
    border-bottom: #095eff 2px solid;
}
/* =========================================
   PHARMACY CONTENT
========================================= */

.pharmacy-content {
    width: 95%;
    margin: auto;
    height: 8.5rem;
}


/* =========================================
   PHARMACY TITLE
========================================= */

.pharmacy-title {
    text-align:left;
    color: #1765c0;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px;
    margin-top: 1.5rem;
     
}


/* =========================================
   SEARCH BAR
========================================= */

.medicine-search {
    width: 100%;
    height: 40px;
    border: 1.5px solid #1680ff;
    border-radius: 20px;
    background: #f7fbff;
    box-shadow:0 8px 18px rgba(0,0,0,.05);
    display: flex;
    align-items: center;
     
    padding: 0 20px;
    margin-bottom: 4%;
}

.medicine-search i {
    color: #777f87;
    font-size: 19px;
    margin-right: 15px;
}

.medicine-search input {
    width: 100%;
    height: 100%;

    border: none;
    outline: none;

    background: transparent;

    font-size: 12px;
    color: #333;
}

.medicine-search input::placeholder {
    color: #888;
}
/*================images section================*/

.image-section{
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    margin: auto;
    padding: 0 40px 40px;
    width: 100%;
}

@media (max-width: 1400px) {
    .image-section {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .image-section {
        flex-wrap: wrap;
    }
}

@media (max-width: 800px) {
    .image-section {
        flex-wrap: wrap;
    }
}
.image{
    border: #D9EBFF 1px solid;
    background: #F4FAFF;
    height: auto;
    margin: 0;
    padding: 21px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 18px;
    box-shadow:0 8px 18px rgba(0,0,0,.05);
    transition: none;
    flex: 0 0 18rem;
    min-width: 220px;
}
.image img{
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
}
.text{
    justify-items: center;
}
.text h2{   
    font-size: 20px;
    margin-top: 1rem;
}
.text h3{
    font-weight: 600;
}
.image .add-to-cart{
    color: white;
    background: #095eff;
    width: 8rem;
    border-radius: 10px;
    font-weight: 600;
    height: 3rem;
    border: none;
    margin-top: 1rem;
    font-size: 20px;
    transition: all 0.3s;
}
.cart-badge{
    
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 50%;
    background: red;
    color: white;
    font-weight: 600;
    text-align: center;

    
}

button .add-to-cart{
    justify-self: center;
}
.image button:hover{
    background: #bfdcff;
    border: #0026ff;
    color: #0026ff;
}
.image .drug-details{
    color: #095eff;
    background: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    height: 3rem;
    margin-top: 1rem;
    font-size: 20px;
    transition: all 0.3s;

}

/*=======View more section after clicking button in pharmacy=====*/

.view{
    display: flex;
    justify-content: space-between;
    padding-left: 5rem;
}
.right button{
    background: none;
    border: none;
    color: #095eff;
    justify-self: center;
    font-size: 20px;
    font-weight: 600;
    padding-left: 2rem;
}
.right button:hover{
    color: rgb(255, 62, 62);
    background: none;
    border-radius: 6px;
}
.right{
    width: 40%;
    padding: 1rem 5rem;
    border: #D9EBFF 1px solid;
    background: #F4FAFF;
   
    border-radius: 12px;
    margin-top: 1rem 2rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.right-image{
    width: 98%;
}
.right-image img{
    width: 95%;
    border-radius: 10px;

}
.left{
    width: 60%;
}
.view-more-text h2{
    color: #095eff;
    font-weight: 700;
    font-size: 20px;
    
}
.view-more-text{
    width: 80%;
    justify-self: center;
}
.view-more-details{
    width: 80%;
    justify-self: center;
    color: wheat;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.view-more-details h3{
    color: #095eff;
    margin-top: 10px;
}

/*=========Incrimentation Button=========*/

.incriment{
    display: flex;
    justify-content: center;
    gap: 0px;
}
.incriment button{
    border: #000000 1px solid;
    height: auto;
    width: 5rem;
    background-color: white;
   height: 90vh;
    height: 2rem;
}

.quantity-box{
    display:flex;
    align-items:center;
    gap:10px;
}

.qty-btn{
    width:40px;
    height:40px;
    border:1px solid #d1d5db;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
    font-size:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
}

.qty-btn:hover{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
}

#qty{
    min-width:30px;
    text-align:center;
    font-size:18px;
    font-weight:600;
}

/*======cart section=======*/
.cart-section{
    border: #fff4f4 1px solid;
    border-radius: 12px;
    width: 95%;
    margin-top: 2rem;
    justify-self: center;
    box-shadow: 0 6px 10px rgba(0,0,0,.1);
    box-shadow:
        inset 0 0 0 2px #dbeafe,
        0 5px 15px rgba(0,0,0,.08);
}
.cart-section-table{
    width: 95%;
    margin: auto;
    padding: 20px 10px;
}
.totals{
    border-radius: 12px;
    width: 95%;
    margin: auto;
    padding: 0px 50px;
     box-shadow:
        inset 0 0 0 2px #dbeafe,
        0 5px 15px rgba(0,0,0,.08);
   
}
/*========checkout Button=====*/
.checkout-btn{

    width:20%;
    display:flex;
    margin: auto;
    margin-top: 1rem;
    justify-content:center;
    align-items:center;
    gap:12px;
    padding:16px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:12px;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    transition:.3s ease;
}

.checkout-btn:hover{

    background:#1d4ed8;
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(37,99,235,.3);
}
/*=========================================================
   lab tests PAGE CONTENT
========================================================= */

.page-content {

    width: 95%;
    margin: auto;

}


.page-title {
    text-align:left;
    color: #1765c0;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px;
    margin-top: 1.5rem;
}


/* =========================================================
   SEARCH
========================================================= */

.search-container {

    height: 40px;

    width: 100%;

    border: 1.5px solid #2385ff;

    border-radius: 20px;

    display: flex;

    align-items: center;

    padding: 0 18px;

    margin-bottom: 37px;

    background: #f8fbff;

}


.search-icon {

    font-size: 15px;

    color: #707780;

    line-height: 1;

}


.search-container input {

    border: none;

    outline: none;

    background: transparent;

    flex: 1;

    height: 100%;

    font-size: 18px;

    margin-left: 10px;

}


/* =========================================================
   TEST SECTION
========================================================= */

.test-section h3 {

    font-size: 20px;

    font-weight: 600;

    margin-bottom: 0;

}


.instruction {

    font-size: 19px;

    color: #242b38;

    margin-bottom: 19px;

}


/* =========================================================
   TEST GRID
========================================================= */

.test-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(180px, 1fr));

    gap: 28px;

}


/* =========================================================
   TEST CARD
========================================================= */

.test-card {

    background: #eeeeee;

    border-radius: 18px;

    padding: 9px 9px 13px 9px;

    cursor: pointer;

    position: relative;

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.test-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .12);

}


.test-card.selected {

    background: #eeeeee;

}


/* =========================================================
   CHECKBOX
========================================================= */

.checkbox-container {

    height: 25px;

    display: flex;

    align-items: center;

}


.test-checkbox {

    appearance: none;

    width: 19px;

    height: 19px;

    border: 2px solid #202020;

    border-radius: 2px;

    cursor: pointer;

    position: relative;

    background: #fff;

}


.test-checkbox:checked {

    background: #242424;

    border-color: #242424;

}


.test-checkbox:checked::after {

    content: "✓";

    position: absolute;

    color: white;

    font-size: 14px;

    font-weight: bold;

    left: 2px;

    top: -1px;

}


/* =========================================================
   TEST IMAGE
========================================================= */

.test-image {

    width: 100%;

    height: 137px;

    object-fit: cover;

    border-radius: 11px;

    display: block;

    margin-bottom: 34px;

}


/* =========================================================
   TEST INFORMATION
========================================================= */

.test-information {

    padding: 0 1px;

}


.test-information h4 {

    font-size: 20px;

    font-weight: 700;

    line-height: 24px;

    color: #050505;

    text-align: center;

}


.test-information p {

    font-size: 16px;

    color: #727272;

    line-height: 20px;

    text-align: center;

}


.test-information strong {

    display: block;

    margin-top: 4px;

    color: #008c19;

    font-size: 20px;

    font-weight: 600;

    text-align: center;

}


/* =========================================================
   BOOK BUTTON
========================================================= */

.dnc{
    display: flex;
    justify-content: center;
    margin-top: 10%;
}

.bookbutton {

    width: 100px;

    height: 40px;

    border: none;

    border-radius: 40px;

    background: #2b66e8;

    color: white;

    font-size: 20px;

    font-weight: 600;

    cursor: pointer;

    transition: all .2s ease;


}


.bookbutton:hover {

    background: #1857dc;

    transform: translateY(-2px);

    box-shadow:
        0 7px 15px rgba(43, 102, 232, .25);

}


.bookbutton:active {

    transform: scale(.98);

}





/* =========================================================
   HISTORY section
========================================================= */



.history-container{
    width:95%;
    margin: auto;
}

.history-header{
    text-align:left;
    margin: 0 0 42px;
    
}

.history-header h1{
    font-size:40px;
    color:#1565c0;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight:700;
}

.history-header p{
    color:#666;
    font-size:18px;
}

.history-table{
    width:100%;
}

.table-header{
    display:grid;
    grid-template-columns:2fr 1.5fr 2fr 1fr 1fr;
    background:#eef3fb;
    padding:18px 25px;
    font-weight:600;
    color:#666;
    border-radius:12px;
    margin-bottom:20px;
}

.history-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    margin-bottom:25px;
    border:1px solid #e4ebf5;
    box-shadow:0 8px 18px rgba(0,0,0,.05);
}

.history-row{
    display:grid;
    grid-template-columns:2fr 1.5fr 2fr 1fr 1fr;
    align-items:center;
    gap:15px;
    padding:20px 25px;
}

.history-id{
    display:flex;
    align-items:center;
    gap:15px;
    font-weight:600;
}

.icon-box{
    width:55px;
    height:55px;
    background:#edf5ff;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#1565c0;
    font-size:22px;
}

.history-book{
    color:#333;
    line-height:1.7;
}

.status{
    padding:8px 18px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.completed{
    background:#dff8e7;
    color:#1f8f49;
}

.delivered{
    background:#e4f1ff;
    color:#1565c0;
}

.view-btn{
    border:none;
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    padding:11px 18px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.view-btn:hover{
    background:#1565c0;
    color:#fff;
}

.arrow{
    transition:.3s;
}

.history-details{
    max-height:0;
    overflow:hidden;
    transition:.5s ease;
    background:#f8fbff;
}

.history-details.show{
    max-height:700px;
    padding:25px;
}

.detail-title{
    font-size:20px;
    color:#1565c0;
    font-weight:600;
    margin-bottom:25px;
}

.detail-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.detail-box{
    background:#fff;
    border-radius:12px;
    padding:25px;
    border:1px solid #e8eef8;
}

.detail-box p{
    font-weight:600;
    color:#444;
    margin-bottom:5px;
}

.detail-box span{
    color:#666;
}

.doctor{
    display:flex;
    align-items:center;
    gap:20px;
}

.doctor img{
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
}

.doctor h3{
    margin-bottom:8px;
}

.doctor small{
    color:#888;
}



/*==========================
    NOTIFICATION MAIN LAYOUT
===========================*/

.notification-wrapper{
    display:flex;
    gap:25px;
    padding:25px;
    min-height:calc(100vh - 100px);
}

/*==========================
    LEFT PANEL
===========================*/

.notification-list{
    width:35%;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    border:1px solid #e6ecf5;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.notification-card{
    display:flex;
    align-items:flex-start;
    gap:18px;
    padding:20px;
    cursor:pointer;
    transition:.3s;
    border-bottom:1px solid #eef2f7;
}

.notification-card:last-child{
    border-bottom:none;
}

.notification-card:hover{
    background:#f6f9ff;
}

.notification-card.active{
    background:#eef5ff;
    border-left:5px solid #2f80ed;
}

.notification-icon{
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    font-size:24px;
}

.notification-icon.purple{
    background:#f3ebff;
    color:#7b3fe4;
}

.notification-info{
    flex:1;
}

.notification-info h4{
    color:#24344d;
    font-size:17px;
    margin-bottom:8px;
}

.notification-info p{
    color:#69778d;
    line-height:1.6;
    font-size:14px;
    margin-bottom:12px;
}

.notification-info span{
    color:#9aa8ba;
    font-size:13px;
}

/*==========================
    RIGHT PANEL
===========================*/

.notification-details{
    flex:1;
    background:#fff;
    border-radius:15px;
    padding:35px;
    border:1px solid #e6ecf5;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

#resultTitle h2{
    color:#22324a;
    margin-bottom:8px;
    font-size:28px;
}

#resultTitle small{
    color:#8b98aa;
    font-size:14px;
}

.notification-details hr{
    margin:30px 0;
    border:none;
    border-top:1px solid #edf2f7;
}

.intro{
    color:#58667d;
    line-height:1.9;
    margin-bottom:25px;
    font-size:15px;
}

/*==========================
    RESULT CARD
===========================*/

.result-box{
    background:linear-gradient(135deg,#f6f0ff,#fff7f8);
    border-radius:12px;
    padding:25px;
}

.result-box .row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid rgba(0,0,0,.06);
}

.result-box .row:last-child{
    border-bottom:none;
}

.result-box span{
    color:#65748b;
}

.result-box strong{
    color:#22324a;
    font-weight:600;
}

.completed{
    color:#16a34a !important;
}

/*==========================
    INFO BOX
===========================*/

.info-box{
    margin-top:25px;
    background:#eef6ff;
    color:#2d6cdf;
    padding:18px;
    border-radius:10px;
    display:flex;
    gap:12px;
    align-items:flex-start;
    line-height:1.7;
}

.info-box i{
    margin-top:3px;
}

/*==========================
    BUTTON
===========================*/

.button-group{
    margin-top:30px;
}

.download-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#2f80ed;
    color:#fff;
    text-decoration:none;
    padding:14px 28px;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.download-btn:hover{
    background:#1d6fe0;
    transform:translateY(-2px);
}

/* =========================
   Responsive Layout
========================= */

@media (max-width: 1400px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doctors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .test-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .history-row,
    .table-header {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .notification-wrapper {
        flex-wrap: wrap;
    }

    .notification-list,
    .notification-details {
        width: 100%;
    }

    .view {
        flex-wrap: wrap;
        gap: 20px;
    }

    .right,
    .left {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 1100px) {
    .dashboard {
        display: block;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px 16px;
        box-shadow: none;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .topbar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .welcome {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        height: auto;
        padding: 24px;
    }

    .welcome img {
        width: 140px;
        margin-top: 20px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card {
        width: auto;
        margin-left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .top-header {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .user-section {
        padding-left: 0;
        gap: 20px;
        width: 100%;
        justify-content: flex-start;
    }

    .doctors-title,
    .pharmacy-title,
    .page-title,
    .history-header h1 {
        font-size: 28px;
    }

    .doctor-banner {
        height: auto;
        padding-bottom: 30px;
    }

    .banner-text h2 {
        font-size: 32px;
    }

    .image-section {
        flex-wrap: wrap;
        justify-content: center;
    }

    .image {
        flex: 1 1 220px;
        min-width: 220px;
        max-width: 100%;
    }

    .checkout-btn {
        width: 100%;
    }

    .tabs {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .history-row,
    .table-header {
        grid-template-columns: 1fr;
        padding: 18px 15px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .notification-wrapper {
        padding: 20px 0;
    }

    .notification-details {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .topbar h3 {
        font-size: 20px;
    }

    .welcome h1 {
        font-size: 26px;
    }

    .welcome p,
    .doctor-card h3,
    .doctor-card p,
    .nav-item {
        font-size: 16px;
    }

    .navigation {
        gap: 16px;
    }

    .top-header h2 {
        font-size: 22px;
    }

    .doctor-search input,
    .medicine-search input,
    .search-container input {
        font-size: 14px;
    }

    .card {
        padding: 18px;
    }

    .banner-label {
        font-size: 14px;
    }

    .doctors-grid,
    .test-grid,
    .history-row,
    .table-header,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .image {
        min-width: auto;
        width: 100%;
    }

    .table-area table {
        min-width: unset;
    }

    .history-header h1 {
        font-size: 32px;
    }

    .notification-wrapper {
        flex-direction: column;
    }

    .info-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    .checkout-btn {
        padding: 14px;
    }
}
