/* --- Main Card Styles --- */
.case-study-card {
    background-color: #2980b9; /* Màu nền xanh */
    border-radius: 15px;
    padding: 20px;
    padding-bottom: 30px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.case-study-card .card-header {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px 15px;
    font-weight: bold;
    font-size: 1.1em;
}
/* --- Image Comparison Slider Styles --- */
.image-comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    cursor: col-resize;
}
.image-comparison-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.image-comparison-slider .image-wrapper-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}
.image-comparison-slider .slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #2980b9;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 10;
}
.image-comparison-slider .slider-handle::before {
    content: '◀';
    color: white;
    font-size: 14px;
    transform: translateX(-2px);
}
.image-comparison-slider .slider-handle::after {
    content: '▶';
    color: white;
    font-size: 14px;
    transform: translateX(2px);
}
.image-comparison-slider .slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
}
/* --- Patient Info Styles --- */
.patient-info {
    position: relative;
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
}
.patient-avatar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 20;
}
.patient-info h4 {
    color: white;
    font-size: 1.4em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.patient-info ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
.patient-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 1.05em;
    line-height: 1.4;
}
.patient-info ul li .info-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
.patient-info .info-icon {
    width: 18px;
    height: 18px;
}
.patient-info ul li {
    margin-left: 0;
}