/* ===================================
   RSOP WP Theme - Doctor Profile Single Page
   Executive 2-Column Integrated Layout
   =================================== */

.doctor-single-main {
    background-color: #f8f9fa;
    padding: 30px 0 60px;
}

/* Breadcrumb Navigation */
.doctor-breadcrumb {
    max-width: 1100px;
    margin: 0 auto 20px;
}

.doctor-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    text-decoration: none;
}

.doctor-breadcrumb a:hover {
    color: var(--primary-color, #d09d28);
    border-color: var(--primary-color, #d09d28);
    box-shadow: 0 4px 10px rgba(208, 157, 40, 0.15);
}

/* Profile Card Container Wrapper */
.doctor-profile-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* 2-Column Article Container */
.doctor-profile-single, .doctor-profile-single * {
    box-sizing: border-box;
}

.doctor-profile-single.doctor-two-columns {
    display: grid;
    grid-template-columns: 340px 1fr;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    align-items: stretch;
}

/* Left Column Styling */
.doctor-col-left {
    background: linear-gradient(180deg, rgba(208, 157, 40, 0.08) 0%, rgba(208, 157, 40, 0.02) 100%);
    padding: 40px 30px;
    border-right: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.doctor-photo-card {
    position: relative;
    width: 190px;
    height: 190px;
    margin-bottom: 20px;
}

.doctor-photo-card .doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(208, 157, 40, 0.25);
}

.doctor-status-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.doctor-identity {
    margin-bottom: 25px;
    width: 100%;
}

.doctor-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark, #1a1a1a);
    margin-bottom: 10px;
    line-height: 1.3;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.doctor-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color, #d09d28);
    background: rgba(208, 157, 40, 0.12);
    padding: 6px 16px;
    border-radius: 25px;
    border: 1px solid rgba(208, 157, 40, 0.25);
}

/* Quick Details List */
.doctor-quick-details {
    width: 100%;
    text-align: left;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(208, 157, 40, 0.1);
    color: var(--primary-color, #d09d28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888888;
    font-weight: 700;
}

.detail-val {
    font-size: 0.92rem;
    font-weight: 700;
    color: #222222;
}

.detail-val a {
    color: var(--primary-color, #d09d28);
    text-decoration: none;
}

.detail-val a:hover {
    text-decoration: underline;
}

.doctor-left-actions {
    width: 100%;
    margin-top: auto;
}

.btn-block {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #d09d28 0%, #b8861f 100%);
    color: #ffffff;
    border: none;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(208, 157, 40, 0.3);
    transition: all 0.3s ease;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 157, 40, 0.4);
    color: #ffffff;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35) !important;
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #28e06c 0%, #149c8c 100%) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
    color: #ffffff !important;
}

/* Right Column Styling */
.doctor-col-right {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.doctor-card-section {
    position: relative;
}

.card-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark, #1a1a1a);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(208, 157, 40, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-section-title i {
    color: var(--primary-color, #d09d28);
}

/* Schedule Section */
.doctor-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
    margin-top: 15px;
}

.schedule-card {
    background: #f8f9fa;
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    padding: 16px 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.schedule-card.schedule-active {
    background: linear-gradient(135deg, rgba(208, 157, 40, 0.08) 0%, #ffffff 100%);
    border-color: rgba(208, 157, 40, 0.3);
}

.schedule-card.schedule-active:hover {
    border-color: var(--primary-color, #d09d28);
    box-shadow: 0 6px 18px rgba(208, 157, 40, 0.15);
    transform: translateY(-3px);
}

.schedule-day-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-day-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color, #d09d28);
}

.schedule-day-time .time-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.88rem;
    color: #2b2b2b;
    word-break: normal;
    overflow-wrap: break-word;
}

.schedule-card.schedule-off {
    opacity: 0.65;
    background: #f1f3f5;
}

.badge-off {
    font-size: 0.8rem;
    color: #868e96;
    font-weight: 500;
    font-style: italic;
}

.doctor-schedule-note {
    margin-top: 18px;
    padding: 14px 18px;
    background: rgba(208, 157, 40, 0.08);
    border-left: 4px solid var(--primary-color, #d09d28);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Education List Box */
.education-list-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edu-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    background: #f8f9fa;
    padding: 14px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color, #d09d28);
}

.edu-item i {
    color: var(--primary-color, #d09d28);
    font-size: 1.1rem;
    margin-top: 3px;
}

/* Section Content Bio */
.section-content {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-light, #666);
}

.section-content p {
    margin-bottom: 15px;
}

/* Shortcode Schedule Table */
.rsop-schedule-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.rsop-schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.92rem;
    text-align: left;
}

.rsop-schedule-table th, 
.rsop-schedule-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.rsop-schedule-table th {
    background: #2c3e50;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.rsop-schedule-table td.doc-info-td strong a {
    color: var(--primary-color, #d09d28);
    font-size: 1rem;
    text-decoration: none;
}

.rsop-schedule-table td.doc-info-td strong a:hover {
    text-decoration: underline;
}

.doc-spec-sub {
    font-size: 0.82rem;
    color: #6c757d;
    margin-top: 3px;
}

.rsop-schedule-table td.cell-active {
    font-weight: 600;
    color: #2b2b2b;
    background: rgba(208, 157, 40, 0.04);
}

.rsop-schedule-table td.cell-off {
    color: #adb5bd;
    text-align: center;
}

/* Responsive Rules */
@media (max-width: 992px) {
    .doctor-profile-single.doctor-two-columns {
        grid-template-columns: 1fr;
    }

    .doctor-col-left {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
        padding: 30px 20px;
    }

    .doctor-col-right {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .doctor-schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 440px) {
    .doctor-schedule-grid {
        grid-template-columns: 1fr;
    }
}
