/* Modal and Content Structure */
#labTestModal .modal-dialog.appointment-modal {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    height: auto;
}

#labTestModal .modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

#labTestModal .modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.step-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Scrollable Content - Dynamic Height */
#step1Content .scrollable-content,
#step2Content .scrollable-content,
#step3Content .scrollable-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    min-height: 0;
}

.patient-details {
    margin-left: -18px !important;
}

#selectedPatientInfo .patient-details {
    margin-left: 0 !important;
}

/* Collection Option Styles */
.collection-option {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #747474;
}

.collection-option:hover {
    border-color: #00A8E0;
    background: #e7f3ff;
}

.collection-option.active {
    background: #00A8E0;
    border-color: #00A8E0;
    color: white;
}

.collection-option i {
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
}

.collection-option span {
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Styles */
.time-container {
    margin-top: -15px;
}

/* Lab Test Cards */
.lab-test-cards {
    padding: 0;
}

.lab-test-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    border-radius: 4px;
    box-shadow: 1px 3px 1px rgba(60, 64, 67, 0.15);
    transition: all 0.2s ease;
}

.lab-test-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #00A8E0;
}

.lab-test-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: #00A8E0;
    border-radius: 4px 0 0 4px;
    height: 100%;
    background: #00A8E0;
    background-image: linear-gradient(-42.653deg, transparent 45%, rgba(255, 255, 255, 0.3) 45%, rgba(255, 255, 255, 0.3) 55%, transparent 55%),
        linear-gradient(-42.653deg, transparent 35%, rgba(255, 255, 255, 0.3) 35%, rgba(255, 255, 255, 0.3) 40%, transparent 40%),
        linear-gradient(-42.653deg, transparent 60%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.3) 65%, transparent 65%);
}

.lab-test-name {
    font-size: 16px;
    font-weight: 600;
    color: #0C0C0C;
    margin: 0;
}

.lab-test-description {
    font-size: 13px;
    color: #747474;
    margin: 0;
}

.lab-test-description .lab-provider {
    font-weight: 500;
    color: #747474;
}

.lab-test-description .price {
    font-weight: 700;
    color: #00A8E0;
    font-size: 16px;
}

/* Lab Test Header */
.lab-test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.edit-all-tests-btn {
    background: #00A8E0;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border: #00A8E0;
}

.edit-all-tests-btn:hover {
    background: #0090c4;
    color: white;
}

.lab-test-card .edit-btn {
    display: none;
}

/* View More Button */
.view-more-btn {
    text-align: center;
    padding: 12px;
    color: #00A8E0;
    font-weight: 500;
    cursor: pointer;
    border-top: 1px solid #e3e6ea;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.view-more-btn:hover {
    background: #f8f9fa;
}

.view-more-btn.expanded {
    border-top: none;
    margin-top: 0;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .horizontal-date-navigation {
        padding: 0;
    }
}

/* SVG color transitions */
.collection-option:not(.active) svg path {
    fill: #747474;
}

.collection-option.active svg path {
    fill: white;
}