/* Professional Doctor Avatars with Initials */
.doctor-avatar-professional {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    position: relative !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Ensure avatar container on homepage has correct size */
.avatar {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 1rem !important;
    position: relative !important;
}

.doctor-avatar-professional::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.3) 0%, transparent 60%) !important;
    pointer-events: none !important;
}

.doctor-initials {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: white !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Hover effects */
.doctor-card-detailed:hover .doctor-avatar-professional {
    transform: scale(1.08) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
}

/* Responsive sizing */
@media (max-width: 768px) {
    .doctor-initials {
        font-size: 1.2rem !important;
    }
}

/* Ensure proper sizing in the doctor image container */
.doctor-image {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 1rem !important;
    position: relative !important;
}

.doctor-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid #D4AF37 !important;
}

/* Professional look for the entire card */
.doctor-card-detailed {
    background: white !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    border: 1px solid #f0f0f0 !important;
}

.doctor-card-detailed:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-4px) !important;
}

/* Clean typography */
.doctor-name {
    color: #2c3e50 !important;
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

.doctor-specialty {
    color: #D4AF37 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    display: block !important;
    margin-bottom: 0.75rem !important;
}

.doctor-bio {
    color: #6c757d !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
}

.doctor-details {
    border-top: 1px solid #f0f0f0 !important;
    padding-top: 1rem !important;
    margin-top: 1rem !important;
}

.doctor-detail {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #6c757d !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
}

.doctor-detail i {
    color: #388e3c !important;
    width: 20px !important;
}
