.doctor-holder {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin-top: 150px;
}

.doctor-card {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: row;
}

/* Bild-Bereich */
.doctor-image-container {
    position: relative;
    flex: 0 0 250px;
    background: #E6E9EE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-card .person {
    width: 100%;
    height: 100%;
    display: block;
    text-align: center;
    user-select: none;
}
.doctor-card .person img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

/* Text-Bereich */
.doctor-info {
    width: 100%;
    margin-left: 0;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.doctor-info div {
    margin-left: 0;
    width: 100%;
}

.doctor-info h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.doctor-specialties {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.doctor-details {
    margin-top: 1rem;
    display: flex;
    flex-direction: start;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.doctor-details div {
    margin: 0;
    display: flex;
    flex-direction: column;
}
.doctor-details div span {
    margin-left: 0;
}

.doctor-details div span:first-child {
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: #333;
}

.doctor-address,
.doctor-payment {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.doctor-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: none;
    gap: 1rem;
}

.btn {
    width: 100%;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-video {
    background-color: #2643ff; /* Blau */
}
.btn-video:hover {
    background-color: #1d36cc;
}

.btn-appointment {
    background-color: #00a87e; /* Grün */
}
.btn-appointment:hover {
    background-color: #008e68;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .doctor-card {
    flex-direction: column;
    }

    /* Desktop-Bild ausblenden, Mobile-Bild einblenden */
    .desktop-image {
    display: none;
    }
    .mobile-image {
    display: block;
    }

    .doctor-image-container {
    flex: 0 0 auto;
    width: 100%;
    }

    .doctor-holder {
        width: 90%;
        max-width: 1200px;
        margin-top: 50px;
    }
    
    .doctor-actions {
        margin-top: 1.5rem;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

#loadMoreBtn {
    position: absolute;
    left: calc(50% - 150px);
    bottom: -100px;
    width: 300px;
    height: 50px;
    z-index: 99999;
    user-select: none;
    cursor: pointer;
    background-color: #2643ff; /* Blau */
    border: none;
    border-radius: 5px;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

footer {
    margin-top: 130px !important;
}

.loading-placeholder {
    background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.doctor-card.loading {
    padding: 30px 20px;
    box-sizing: border-box;
}
.doctor-card.loading .doctor-image-container, 
.doctor-card.loading .doctor-info div, 
.doctor-card.loading .doctor-actions a {
    height: 20px;
    width: 100%;
    border-radius: 4px;
}
.doctor-card.loading .doctor-image-container {
    height: 250px;
    width: 500px;
}

.doctor-details div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
}

.container .doctor-details .material-symbols-outlined {
    font-size: 20px !important;
    color: #ffd700;
}

.container .doctor-details .material-symbols-outlined.empty {
    color: #ccc;
}

.rating-count {
    color: #1d1d1f;
    font-weight: 500;
    margin-top: 4px;
}
