/* Search bar */
.dd-search-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    margin-top: 20px;
}
.dd-search-wrap input{
    width: 50% ;
}
.dd-search-wrap select{
    width: 30% !important;
}
.dd-search-wrap button{
    width: 10% !important;
    background: #ad3048;
    color: white;
}
.dd-search-wrap input,
.dd-search-wrap select,
.dd-search-wrap button {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Grid wrapper for multiple cards */
.dd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.dd-grid > .dd-card {
    height: 100%; /* Helps grid cards align */
}

/* Card base styles */
.dd-card {
    display: flex;
    flex-direction: column; /* Separate top and bottom vertically */
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 360px; /* Adjust for consistent size */
    color: inherit;
    text-decoration: none;
}

.dd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* The link fills the card */
.dd-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* Card Top - content area */
.dd-card-top {
    flex: 1; /* grow to take available vertical space */
    /*display: flex;*/
    gap: 15px;
    padding: 20px;
    align-items: flex-start;
}

/* Profile image */
.dd-card-top img {
    width: 90px;
    height: 90px;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}

/* Title & info */
.dd-card-title h3 {

    margin: 10px 0 4px;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.dd-designation {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.dd-department {
    font-weight: 600;
    font-size: 13px;
    color: #ad3048;
    margin-right: 5px;
}

.dd-tags {
    display: inline;
    font-size: 13px;
    color: #444;
}

.dd-experience,
.dd-fees {
    font-size: 13px;
    color: #777;
    margin-top: 6px;
}

/* Card Bottom - stays fixed at bottom */
.dd-card-bottom {
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid #eee;
    font-weight: 600;
    font-size: 14px;
    color: #009da1;
    margin-top: auto; /* Pin to bottom */
}

.dd-card-bottom div {
    cursor: pointer;
    transition: color 0.2s ease;
}

.dd-card-bottom div:hover {
    color: #b80067;
}

/* No results */
.dd-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
}

.content-header.content-header-left{
    display: none !important;
}


/* ------------------------------
   DOCTOR PROFILE PAGE LAYOUT
--------------------------------*/

/* --- 1. HERO BACKGROUND (The Red Strip) --- */
.doctor-hero-bg {
    background: linear-gradient(90deg, #7c0021 0%, #4a0014 100%);
    height: 180px; /* Height of the colored strip */
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 0;
}

/* --- 2. CONTAINER --- */
.doctor-profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* To sit on top of background */
    z-index: 1;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #2d3436;
}

/* --- 3. FLOATING CARD (Main Magic) --- */
.profile-float-card {
    background: #fff;
    margin-top: 60px; /* Pushes card down to overlap */
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 30px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.pfc-row {
    display: flex;
    gap: 30px;
}

/* Avatar Styling */
.pfc-avatar-col {
    flex-shrink: 0;
}

.pfc-avatar-wrapper img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
    border: 5px solid #fff; /* White border to separate from background */
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    background: #eee;
}

/* Info Styling */
.pfc-info-col {
    flex-grow: 1;
}

.doc-badge {
    display: inline-block;
    background: #e3fcef;
    color: #00a854;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-title {
    margin: 0 0 5px;
    font-size: 30px;
    font-weight: 800;
    color: #2d3436;
}

.doc-job {
    font-size: 16px;
    color: #7c0021;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Tags */
.doc-tags .tag {
    display: inline-block;
    background: #f1f3f5;
    color: #495057;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 6px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Stats Grid (Boxes) */
.doc-stats-grid {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffbfb;
    border: 1px solid #fce8ed;
    padding: 10px 15px;
    border-radius: 8px;
}

.stat-icon {
    font-size: 20px;
    color: #7c0021;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.s-label { font-size: 11px; text-transform: uppercase; color: #888; font-weight: 700; }
.s-value { font-size: 15px; font-weight: 700; color: #333; }

/* Action Column */
.pfc-action-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    min-width: 200px;
}

.btn-gradient {
    background: linear-gradient(135deg, #7c0021 0%, #b3002d 100%);
    color: #520016 !important;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(124, 0, 33, 0.25);
    transition: transform 0.2s;
    text-align: center;
}

.btn-gradient:hover {
     color: #520016;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(124, 0, 33, 0.35);
}

.action-note {
    margin-top: 10px;
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
}

/* --- 4. DETAILS SECTION --- */
.profile-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.panel-heading {
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.panel-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    height: 18px;
    width: 4px;
    background: #7c0021;
    border-radius: 2px;
}

.text-body {
    line-height: 1.8;
    color: #636e72;
    font-size: 16px;
}

/* Timeline Style for Education/Awards */
.dr-timeline-box {
    background: #fff;
    margin-bottom: 30px;
}

.dr-timeline-item {
    position: relative;
    padding-left: 25px;
    border-left: 2px solid #eee;
    margin-left: 5px;
    padding-bottom: 20px;
}

.tl-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #7c0021;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #fce8ed;
}

.tl-content {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 850px) {
    .pfc-row { flex-direction: column; text-align: center; }
    .pfc-info-col { align-items: center; display: flex; flex-direction: column; }
    .doc-stats-grid { width: 100%; justify-content: center; }
    .stat-box { flex: 1; justify-content: center; }
    .pfc-action-col { align-items: center; width: 100%; margin-top: 20px; }
    .profile-details-grid { grid-template-columns: 1fr; }
    .pfc-avatar-wrapper img { margin-top: -80px; } /* Pulls image up on mobile too */
}

/* Wrapper center */
#dd-load-more-wrap {
    text-align: center;
    margin: 40px 0;
}

/* Button style */
#dd-load-more {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    background: #ad3048;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.3s ease;
}


/* minimal css */
/* Wrapper */
.ls-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

/* Input Container */
.ls-input-container {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 5px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.ls-input-container:focus-within {
    border-color: #007bff;
    box-shadow: 0 4px 10px rgba(0,123,255,0.1);
}

/* The Input Field */
#ls-input {
    flex-grow: 1;
    border: none !important;
    background: transparent !important;
    padding: 12px 10px;
    font-size: 15px;
    color: #333;
    outline: none !important;
    box-shadow: none !important;
}

/* Icons */
.ls-icon-search svg { vertical-align: middle; }
.ls-action-icon { cursor: pointer; padding: 5px; }

/* Spinner Animation */
.ls-spinner { animation: ls-spin 1s linear infinite; }
@keyframes ls-spin { 100% { transform: rotate(360deg); } }

/* Dropdown Container */
.ls-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 999;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #f0f0f0;
}

/* Category Header (Doctor / Specialty) */
.ls-category-header {
    background: #fafafa;
    color: #777; /* Muted color like screenshot */
    font-size: 13px;
    font-weight: 600;
    padding: 8px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Search Items */
.ls-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
}

.ls-item:hover {
    background: #f4f8fb; /* Light blue hover */
}

/* Avatar Images */
.ls-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.ls-avatar-placeholder {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e0f2f1;
    color: #00695c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
}

/* Specialty Icon Box */
.ls-icon-box {
    width: 30px;
    height: 30px;
    background: #2cbdbd; /* Teal color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

/* Text */
.ls-name {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}
.ls-no-results { padding: 15px; color: #999; text-align: center; }
/* minimal css end */