/* 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 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%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Title & info */
.dd-card-title h3 {
    margin: 0 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: #009da1;
    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
--------------------------------*/

/* Page container */
.doctor-profile {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: inherit;
}

/* Header - image & basic info */
.doctor-header {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Doctor image */
.doctor-photo img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
}

/* Info section */
.doctor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-info h1 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #222;
}

.designation {
    font-weight: 500;
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.specialties {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #444;
}

.meta span strong {
    color: #009da1;
}

/* ------------------------------
   COMMON CARD STYLE
--------------------------------*/
.card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.card h2 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.card p,
.card div {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.profile-book-btn{
    display: flex;
    justify-content: center;
     margin: 64px 0; /* Optional: vertical spacing */
}
.profile-book-btn .book-btn{
    background-color: #009da1;;
}
.profile-book-btn .book-btn:hover{
    background-color: #b80067;;
}
/* ------------------------------
   RESPONSIVE ADJUSTMENTS
--------------------------------*/
@media (max-width: 768px) {
    .doctor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .doctor-photo img {
        width: 150px;
        height: 150px;
    }
}
