/**
 * Delmont Hospital - Doctors Directory & Profile Styles
 */

/* ==========================================================================
   1. Doctors Filter Bar
   ========================================================================== */
.delmont-doctors-filter-bar {
    background-color: #F4F8FA;
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 35px;
    box-shadow: 0 2px 8px rgba(0, 48, 89, 0.05);
}

.delmont-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.delmont-filter-item label {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #003059;
    margin-bottom: 8px;
}

.delmont-filter-item .delmont-select,
.delmont-filter-item .delmont-input {
    width: 100%;
    height: 44px;
    padding: 8px 14px;
    font-size: 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    color: #444444;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.delmont-filter-item .delmont-select:focus,
.delmont-filter-item .delmont-input:focus {
    border-color: #1278E6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(18, 120, 230, 0.15);
}

.delmont-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.delmont-btn-filter {
    background-color: #1278E6 !important;
    border-color: #1278E6 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    height: 44px !important;
    padding: 0 24px !important;
    border-radius: 4px !important;
    margin: 0 !important;
}

.delmont-btn-filter:hover {
    background-color: #004E87 !important;
    border-color: #004E87 !important;
}

.delmont-btn-reset {
    height: 44px !important;
    padding: 0 18px !important;
    border-radius: 4px !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.delmont-doctors-results-header {
    margin-bottom: 25px;
}

.delmont-results-count {
    font-size: 15px;
    font-weight: 600;
    color: #666666;
    margin-bottom: 0;
}

/* ==========================================================================
   2. Doctors Cards Grid
   ========================================================================== */
.delmont-doctors-grid {
    margin-bottom: 50px;
}

.delmont-doctor-card {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.delmont-doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 48, 89, 0.1);
    border-color: #1278E6;
}

.delmont-doctor-thumb {
    width: 100%;
    height: 240px;
    background-color: #F4F8FA;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delmont-doctor-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.delmont-doctor-card:hover .delmont-doctor-thumb img {
    transform: scale(1.03);
}

.delmont-doctor-body {
    padding: 25px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.delmont-doctor-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.delmont-doctor-name a {
    color: #003059;
    text-decoration: none;
}

.delmont-doctor-name a:hover {
    color: #1278E6;
}

.delmont-doctor-qualifications {
    font-size: 14px;
    font-weight: 600;
    color: #004E87;
    margin-bottom: 15px;
}

.delmont-meta-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #003059;
    margin-bottom: 4px;
}

.delmont-meta-val,
.delmont-sessional-status {
    font-size: 14px;
    color: #444444;
    margin-bottom: 4px;
    line-height: 1.4;
}

.delmont-doctor-loc-info {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.delmont-doctor-phone-box {
    margin-bottom: 12px;
    font-size: 14px;
}

.delmont-doctor-phone-box a {
    color: #1278E6;
    font-weight: 600;
    text-decoration: none;
}

.delmont-doctor-spec-info {
    margin-bottom: 16px;
    flex-grow: 1;
}

.delmont-specialties-list {
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 0;
}

.delmont-doctor-action {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.delmont-view-profile-link {
    font-size: 14px;
    font-weight: 700;
    color: #1278E6;
    text-decoration: none;
    display: inline-block;
}

.delmont-view-profile-link:hover {
    color: #004E87;
    text-decoration: underline;
}

/* ==========================================================================
   3. Single Doctor Profile Layout
   ========================================================================== */
.delmont-single-doctor-wrapper {
    padding: 50px 0;
}

.delmont-doctor-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #F4F8FA;
    padding-bottom: 20px;
}

.delmont-doctor-title {
    font-size: 32px;
    font-weight: 700;
    color: #003059;
    margin-bottom: 6px;
}

.delmont-doctor-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #004E87;
    margin-bottom: 0;
}

.delmont-single-doctor-layout {
    margin-top: 20px;
    margin-bottom: 40px;
}

.delmont-doctor-sidebar-card {
    background-color: #F4F8FA;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    padding: 25px 20px;
    box-shadow: 0 2px 6px rgba(0, 48, 89, 0.05);
}

.delmont-sidebar-portrait {
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.delmont-sidebar-portrait img {
    width: 100%;
    height: auto;
    display: block;
}

.delmont-sidebar-info-block {
    margin-bottom: 18px;
}

.delmont-sidebar-info-block h4 {
    font-size: 14px;
    font-weight: 700;
    color: #003059;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.delmont-sidebar-info-block p {
    font-size: 15px;
    color: #444444;
    margin-bottom: 4px;
    line-height: 1.5;
}

.delmont-sidebar-info-block a {
    color: #1278E6;
    font-weight: 600;
}

.delmont-doctor-main-content {
    background: #ffffff;
}

.delmont-doctor-bio {
    font-size: 17px;
    line-height: 1.75;
    color: #444444;
    margin-bottom: 40px;
}

.delmont-doctor-bio p {
    margin-bottom: 1.3em;
}

.delmont-doctor-bio h2,
.delmont-doctor-bio h3 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
}

.delmont-doctor-bio ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.delmont-doctor-bio li {
    margin-bottom: 8px;
}

/* Specialties Badges */
.delmont-doctor-specialties-box {
    background-color: #F4F8FA;
    padding: 30px;
    border-radius: 4px;
    border-left: 4px solid #1278E6;
}

.delmont-doctor-specialties-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #003059;
    margin-bottom: 15px;
}

.delmont-specialties-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.delmont-specialty-badge {
    background: #ffffff;
    border: 1px solid #d0d7de;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #004E87;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   4. Responsive Adjustments
   ========================================================================== */
@media (max-width: 991px) {
    .delmont-doctor-sidebar-card {
        max-width: 450px;
    }
}

@media (max-width: 767px) {
    .delmont-doctors-filter-bar {
        padding: 20px 15px;
    }
    .delmont-doctor-title {
        font-size: 24px;
    }
    .delmont-doctor-bio {
        font-size: 16px;
    }
    .delmont-doctor-specialties-box {
        padding: 20px 15px;
    }
}