/* ===========================================================
   DoctorSpotHub Main Style
   BinaryBeansLB 2026
=========================================================== */

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

html{
    height:100%;
}

body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:#f5fbfb;
    color:#15323d;
    line-height:1.6;
}

/* Main Content */

.wrap{
    flex:1;
    width:100%;
    padding:25px 6%;
}

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

.top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 6%;
    background:#fff;
    border-bottom:4px solid #0fb9ad;
    position:sticky;
    top:0;
    left:0;
    width:100%;
    box-sizing:border-box;
    z-index:999;
}
.brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#2377bd;
    font-weight:900;
    font-size:24px;
}

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

.top nav{
    display:flex;
    flex-wrap:wrap;
}

.top nav a{
    margin:0 8px;
    color:#2377bd;
    text-decoration:none;
    font-weight:bold;
    transition:.2s;
}

.top nav a:hover{
    color:#0fb9ad;
}

/* ================= HERO ================= */

.hero{
    padding:45px 6%;
    display:grid;
    grid-template-columns:1.4fr .6fr;
    gap:25px;
    align-items:center;
}

.hero h1{
    color:#2377bd;
    font-size:42px;
    margin-bottom:15px;
}

.hero p{
    margin-bottom:20px;
}

/* ================= BUTTONS ================= */

.btn,
button{
    background:#0fb9ad;
    color:#fff;
    border:none;
    border-radius:10px;
    padding:12px 18px;
    font-weight:bold;
    cursor:pointer;
    text-decoration:none;
    transition:.25s;
}

.btn:hover,
button:hover{
    background:#0d9d93;
}

/* ================= FORMS ================= */

input,
textarea,
select{
    width:100%;
    padding:12px;
    margin:8px 0;
    border:1px solid #cde;
    border-radius:10px;
    outline:none;
    font-size:15px;
}

input:focus,
textarea:focus,
select:focus{
    border-color:#0fb9ad;
}

textarea{
    min-height:120px;
    resize:vertical;
}

/* ================= CARDS ================= */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
}

.card{
    background:#fff;
    border-radius:18px;
    padding:18px;
    box-shadow:0 8px 22px rgba(0,0,0,.06);
}

/* ================= SLIDER ================= */

.slide-row{
    display:flex;
    overflow-x:auto;
    gap:16px;
    padding:10px 0 20px;
    scroll-snap-type:x mandatory;
}

.slide-row::-webkit-scrollbar{
    height:8px;
}

.slide-row::-webkit-scrollbar-thumb{
    background:#0fb9ad;
    border-radius:20px;
}

.slide-card{
    min-width:300px;
    max-width:360px;
    background:#fff;
    border-radius:18px;
    padding:16px;
    box-shadow:0 8px 22px rgba(0,0,0,.06);
    scroll-snap-align:start;
}

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

.doctor-line{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
    color:#2377bd;
    font-weight:bold;
}

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

/* ================= DASHBOARD ================= */

.dash{
    flex:1;
    display:grid;
    grid-template-columns:220px 1fr;
    min-height:80vh;
}

.side{
    background:#15323d;
    padding:20px;
}

.side a{
    display:block;
    color:#fff;
    text-decoration:none;
    padding:12px;
    border-bottom:1px solid rgba(255,255,255,.15);
    transition:.2s;
}

.side a:hover{
    background:#2377bd;
}

/* ================= CHAT ================= */

.chat-box{
    height:420px;
    overflow:auto;
    background:#fff;
    border-radius:15px;
    padding:15px;
    border:1px solid #ddd;
}

.msg{
    max-width:75%;
    margin:8px 0;
    padding:10px;
    border-radius:12px;
    background:#e8f5ff;
}

.me{
    margin-left:auto;
    background:#d7fff9;
}

/* ================= ADS ================= */

.ad{
    background:#fff7d6;
    border:1px dashed #d7a100;
    border-radius:14px;
    padding:15px;
    text-align:center;
}

/* ================= HOSPITAL ================= */

.hospital-search{
    background:#e9fffd;
    border-radius:18px;
    padding:25px;
}

/* ================= PROFILE ================= */

.profile-layout{
    display:grid;
    grid-template-columns:1fr 360px;
    gap:22px;
}

.contact-panel{
    position:sticky;
    top:95px;
}

.doctor-profile-hero{
    background:linear-gradient(135deg,#e9fffd,#fff);
}

.success{
    background:#e2fff2;
    color:#09623e;
    border-radius:10px;
    padding:12px;
}

/* ================= TABLES ================= */

table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

table th{
    background:#2377bd;
    color:#fff;
    padding:12px;
}

table td{
    padding:12px;
    border-bottom:1px solid #eee;
}

.doctor-warning{
    margin-top:12px;
    padding:12px;
    background:#fff3cd;
    color:#6b4e00;
    border:1px solid #ffe08a;
    border-radius:10px;
    font-size:14px;
    line-height:1.5;
}
/* ================= FOOTER ================= */

.footer{
    margin-top:auto;
    width:100%;
    background:#15323d;
    color:#fff;
    text-align:center;
    padding:22px;
    border-top:4px solid #0fb9ad;
}

.footer a{
    color:#fff;
    text-decoration:none;
}

.footer a:hover{
    color:#0fb9ad;
}

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

@media(max-width:900px){

    .profile-layout{
        grid-template-columns:1fr;
    }

    .contact-panel{
        position:static;
    }

}

@media(max-width:800px){

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

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

    .top{
        flex-direction:column;
        gap:12px;
    }

    .top nav{
        justify-content:center;
    }

    .hero h1{
        font-size:32px;
    }

    .slide-card{
        min-width:260px;
    }

}