/* Diagnostic Lab System - Frontend Styles */

/* Reset and Base Styles */
.dls-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.dls-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Buttons */
.dls-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1.5;
    text-align: center;
}

.dls-btn:hover {
    background: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-1px);
}

.dls-btn:active {
    transform: translateY(0);
}

.dls-btn-primary {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.dls-btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
}

.dls-btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

.dls-btn-secondary:hover {
    background: #545b62;
    border-color: #545b62;
    color: white;
}

.dls-btn-small {
    padding: 6px 12px;
    font-size: 13px;
}

.dls-btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

.dls-btn-load-more {
    display: block;
    width: 200px;
    margin: 30px auto;
    background: white;
    border: 2px solid #007bff;
    color: #007bff;
}

.dls-btn-load-more:hover {
    background: #007bff;
    color: white;
}

/* Search Container */
.dls-search-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dls-search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dls-search-box i {
    padding: 0 20px;
    color: #667eea;
    align-self: center;
}

.dls-search-box input {
    flex: 1;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    outline: none;
}

.dls-search-box button {
    background: #667eea;
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.dls-search-box button:hover {
    background: #5a67d8;
}

/* View Toggle */
.dls-view-toggle {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dls-test-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}
.dls-test-header p{color: #fff;}

.dls-test-header:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(100px, -100px);
}

.dls-view-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dls-view-btn:hover,
.dls-view-btn.active {
    background: white;
    color: #667eea;
    border-color: white;
}

/* Content Wrapper */
.dls-content-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

/* Sidebar Filters */
.dls-sidebar {
    flex: 0 0 280px;
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.dls-filter-section h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dls-filter-section h3 i {
    color: #667eea;
}

.dls-filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.dls-filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dls-filter-group h4 {
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 600;
}

/* Price Range */
.dls-price-range {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.dls-range-slider {
    position: relative;
    height: 4px;
    background: #dee2e6;
    border-radius: 2px;
    margin: 20px 0;
}

.dls-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    pointer-events: none;
    -webkit-appearance: none;
    background: none;
}

.dls-range-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    border: 2px solid white;
    cursor: pointer;
    -webkit-appearance: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dls-range-slider input[type="range"]::-moz-range-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dls-range-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    font-weight: 600;
    color: #333;
}


/* Checkbox Styles */
.dls-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.dls-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: color 0.3s ease;
}

.dls-checkbox-label:hover {
    color: #333;
}

.dls-checkbox-label input[type="checkbox"] {
    display: none;
}

.dls-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #dee2e6;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.dls-checkbox-label input[type="checkbox"]:checked + .dls-checkbox-custom {
    background: #007bff;
    border-color: #007bff;
}

.dls-checkbox-label input[type="checkbox"]:checked + .dls-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.dls-count {
    color: #6c757d;
    font-size: 12px;
    margin-left: 5px;
}

/* Switch Toggle */
.dls-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.dls-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.dls-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #dee2e6;
    border-radius: 34px;
    transition: .4s;
    margin-right: 10px;
}

.dls-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

.dls-switch input:checked + .dls-slider {
    background-color: #28a745;
}

.dls-switch input:checked + .dls-slider:before {
    transform: translateX(26px);
}

.dls-switch-label {
    font-size: 14px;
    color: #555;
}

/* Main Content */
.dls-main-content {
    flex: 1;
    min-width: 0;
}

.dls-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dls-results-count {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

.dls-results-count span {
    font-weight: 700;
    color: #007bff;
}

/* Sort Select */
.dls-select {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    min-width: 200px;
    transition: border-color 0.3s ease;
}

.dls-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Tests Grid/List */
.dls-tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.dls-tests-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Test Card */
.dls-test-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dls-tests-list .dls-test-card {
    flex-direction: row;
    min-height: 200px;
}

.dls-test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.dls-test-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.dls-tests-list .dls-test-image {
    flex: 0 0 250px;
    height: auto;
}

.dls-test-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dls-test-card:hover .dls-test-image img {
    transform: scale(1.05);
}

.dls-featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b6b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dls-test-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dls-test-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.dls-test-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

.dls-test-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #6c757d;
}

.dls-test-category,
.dls-test-facility {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dls-test-category i,
.dls-test-facility i {
    color: #007bff;
}

.dls-test-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.dls-price-original {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 14px;
}

.dls-price-discount {
    font-size: 20px;
    font-weight: 700;
    color: #28a745;
}

.dls-price-regular {
    font-size: 20px;
    font-weight: 700;
    color: #007bff;
}

.dls-discount-badge {
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.dls-test-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.dls-test-actions .dls-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
}

.dls-home-collection-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #28a745;
    border: 1px solid #d4edda;
    margin-bottom: 15px;
}

.dls-test-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.dls-stars {
    --rating: 0;
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: 14px;
    line-height: 1;
}

.dls-stars i {
    color: #ddd;
}

.dls-stars i:before {
    background: linear-gradient(90deg, #ffc107 var(--percent), #ddd var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dls-rating-text {
    font-size: 12px;
    color: #6c757d;
}

/* Loading Spinner */
.dls-loading-spinner {
    text-align: center;
    padding: 40px;
}

.dls-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Results */
.dls-no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dls-no-results i {
    font-size: 60px;
    color: #dee2e6;
    margin-bottom: 20px;
}

.dls-no-results h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
}

.dls-no-results p {
    color: #6c757d;
    margin-bottom: 20px;
}

/* Modal */
.dls-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dls-modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dls-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.dls-modal-close:hover {
    background: #f8f9fa;
}

/* Form Styles */
.dls-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dls-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .dls-form-row {
        flex-direction: column;
        gap: 0;
    }
}

.dls-form-group {
    flex: 1;
    margin-bottom: 20px;
}



.dls-form-group input[type="text"],
.dls-form-group input[type="email"],
.dls-form-group input[type="tel"],
.dls-form-group input[type="number"],
.dls-form-group input[type="date"],
.dls-form-group textarea,
.dls-form-group select {
    width: 90%;
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.dls-form-group input:focus,
.dls-form-group textarea:focus,
.dls-form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.dls-price-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin: 30px 0;
}

.dls-price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
}

.dls-price-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid #dee2e6;
    font-weight: 700;
    color: #333;
    font-size: 18px;
}

.dls-form-actions {
    text-align: center;
}

/* Quick Search */
.dls-quick-search {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.dls-quick-search-form {
    display: flex;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .dls-quick-search-form {
        flex-direction: column;
    }
}

.dls-quick-search-form input,
.dls-quick-search-form select {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.dls-quick-search-form button {
    padding: 12px 30px;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dls-content-wrapper {
        flex-direction: column;
    }
    
    .dls-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }
    
    .dls-tests-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .dls-search-box {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .dls-search-box i {
        display: none;
    }
    
    .dls-search-box input {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .dls-search-box button {
        padding: 15px;
        border-radius: 0 0 8px 8px;
    }
    
    .dls-results-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .dls-select {
        width: 100%;
    }
    
    .dls-tests-list .dls-test-card {
        flex-direction: column;
    }
    
    .dls-tests-list .dls-test-image {
        flex: none;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .dls-tests-grid {
        grid-template-columns: 1fr;
    }
    
    .dls-test-actions {
        flex-direction: column;
    }
    
    .dls-modal-content {
        width: 95%;
        margin: 20px auto;
    }
}

/* Animation for filter changes */
.dls-test-card {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrollbar for filter groups */
.dls-checkbox-group::-webkit-scrollbar {
    width: 6px;
}

.dls-checkbox-group::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.dls-checkbox-group::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.dls-checkbox-group::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}




/* Notification Styles */
.dls-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease;
    max-width: 350px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dls-notification-success {
    background: #28a745;
    border-left: 4px solid #1e7e34;
}

.dls-notification-error {
    background: #dc3545;
    border-left: 4px solid #bd2130;
}

.dls-notification-warning {
    background: #ffc107;
    border-left: 4px solid #d39e00;
    color: #212529;
}

.dls-notification-info {
    background: #17a2b8;
    border-left: 4px solid #117a8b;
}

/* Test Details Modal Styles */
.dls-test-details {
    padding: 20px;
}

.dls-test-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.dls-test-details-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
    flex: 1;
}

.dls-test-price {
    text-align: right;
    margin-left: 20px;
}

.dls-original-price {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.dls-discount-price {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
}

.dls-regular-price {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

.dls-test-tabs {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.dls-tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.dls-tab-btn:hover,
.dls-tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.dls-tab-content {
    display: none;
    padding: 20px 0;
}

.dls-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.dls-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.dls-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.dls-detail-item strong {
    color: #555;
}

.dls-review {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.dls-review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dls-review-author {
    font-weight: 600;
    color: #333;
}

.dls-review-date {
    color: #6c757d;
    font-size: 13px;
}

.dls-review-rating {
    margin-bottom: 10px;
}

.dls-stars-inline {
    display: inline-flex;
    gap: 2px;
}

.dls-test-details-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    margin-top: 30px;
}


/* Basic DLS Styles */
.dls-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dls-loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

.dls-error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
}

.dls-no-tests {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.dls-tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dls-test-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.dls-test-card:hover {
    transform: translateY(-5px);
}

.dls-test-image {
    height: 200px;
    overflow: hidden;
}

.dls-test-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dls-test-content {
    padding: 20px;
}

.dls-test-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.dls-test-excerpt {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.dls-test-pricing {
    margin-bottom: 15px;
}

.dls-price-original {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.dls-price-discount {
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
}

.dls-price-regular {
    color: #007bff;
    font-weight: bold;
    font-size: 18px;
}

.dls-test-actions {
    display: flex;
    gap: 10px;
}

.dls-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.dls-btn:hover {
    opacity: 0.9;
}

.dls-btn-view-details {
    background: #6c757d;
    color: white;
}

.dls-btn-primary {
    background: #007bff;
    color: white;
}

/* Modal */
.dls-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
}

.dls-modal-content {
    background: white;
    margin: 50px auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.dls-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.dls-modal-body {
    padding: 20px 0;
}

/* Filter sidebar */
.dls-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.dls-filter-group {
    margin-bottom: 20px;
}

.dls-filter-group h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.dls-price-range {
    padding: 10px;
    background: white;
    border-radius: 4px;
}

.dls-range-values {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .dls-tests-grid {
        grid-template-columns: 1fr;
    }
    
    .dls-test-actions {
        flex-direction: column;
    }
}

/* Booking Page Styles */
.dls-booking-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.dls-booking-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

.dls-booking-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dls-booking-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,197.3C672,192,768,160,864,138.7C960,117,1056,107,1152,122.7C1248,139,1344,181,1392,202.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.dls-booking-header h1 {
    margin: 0 0 15px 0;
    font-size: 42px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.dls-booking-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dls-booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

@media (max-width: 1200px) {
    .dls-booking-content {
        grid-template-columns: 1fr;
    }
}

/* Test Details Section */
.dls-test-details-section {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.dls-test-details-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.dls-test-image-large {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.dls-test-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dls-test-details-card:hover .dls-test-image-large img {
    transform: scale(1.05);
}

.dls-test-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dls-test-image-placeholder i {
    font-size: 80px;
    color: white;
    opacity: 0.8;
}

.dls-test-details-content {
    padding: 30px;
}

.dls-test-details-content h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
    color: #333;
    line-height: 1.3;
}

/* Price Display */
.dls-price-display-large {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.dls-price-original-large {
    font-size: 24px;
    color: #6c757d;
    text-decoration: line-through;
}

.dls-price-discount-large {
    font-size: 36px;
    font-weight: 800;
    color: #28a745;
}

.dls-price-regular-large {
    font-size: 36px;
    font-weight: 800;
    color: #007bff;
}

.dls-discount-badge-large {
    background: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Test Meta Details */
.dls-test-meta-details {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.dls-meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dls-meta-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.dls-meta-item i {
    font-size: 20px;
    color: #667eea;
    width: 40px;
    text-align: center;
}

.dls-meta-content {
    flex: 1;
}

.dls-meta-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.dls-meta-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.dls-available {
    color: #28a745;
    font-weight: 700;
}

/* Test Sections */
.dls-test-description,
.dls-test-features,
.dls-test-includes,
.dls-preparation-instructions {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.dls-test-description:last-child,
.dls-test-features:last-child,
.dls-test-includes:last-child,
.dls-preparation-instructions:last-child {
    border-bottom: none;
}

.dls-test-description h3,
.dls-test-features h3,
.dls-test-includes h3,
.dls-preparation-instructions h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dls-test-features ul,
.dls-test-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dls-test-features li,
.dls-test-includes li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #555;
}

.dls-test-features li i {
    color: #28a745;
}

.dls-test-includes li i {
    color: #007bff;
}

/* Preparation Instructions */
.dls-instructions-content {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.dls-instructions-content p {
    margin: 0 0 10px 0;
    color: #856404;
}

.dls-instructions-content p:last-child {
    margin-bottom: 0;
}

/* Booking Form Section */
.dls-booking-form-section {
    position: sticky;
    top: 20px;
}

.dls-booking-form-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
}

.dls-booking-form-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-bottom: 1px solid #dee2e6;
}

.dls-booking-form-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dls-booking-form-header p {
    margin: 0;
    color: #6c757d;
    font-size: 16px;
}

/* Form Styles */
.dls-form {
    padding: 30px;
}

.dls-form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f8f9fa;
}

.dls-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dls-form-section h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dls-section-description {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.dls-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .dls-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.dls-form-group {
    margin-bottom: 25px;
}


.dls-required {
    color: #dc3545;
}

/* Input with Icon */
.dls-input-with-icon {
    position: relative;
}

.dls-input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
}

.dls-input-with-icon input,
.dls-input-with-icon select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.dls-input-with-icon input:focus,
.dls-input-with-icon select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Textarea */
.dls-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
}

.dls-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Service Options */
.dls-service-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .dls-service-options {
        grid-template-columns: 1fr;
    }
}

.dls-service-option-label {
    display: block;
    cursor: pointer;
}

.dls-service-option-label input[type="radio"] {
    display: none;
}

.dls-service-option-content {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
    gap: 15px;
}

.dls-service-option-label input[type="radio"]:checked + .dls-service-option-content {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.dls-service-option-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dls-service-option-icon i {
    font-size: 24px;
    color: white;
}

.dls-service-option-details {
    flex: 1;
}

.dls-service-option-title {
    display: block;
    font-weight: 700;
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
}

.dls-service-option-desc {
    display: block;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 5px;
}

.dls-service-option-price {
    display: block;
    color: #28a745;
    font-weight: 600;
    font-size: 16px;
}

/* Home Collection Details */
.dls-home-collection-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dls-home-collection-details h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #333;
}

/* Payment Summary */
.dls-payment-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.dls-price-breakdown {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.dls-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.dls-price-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dls-price-item span:first-child {
    color: #6c757d;
    font-size: 15px;
}

.dls-price-item .dls-price {
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

.dls-price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid #dee2e6;
    font-weight: 700;
}

.dls-price-total span:first-child {
    color: #333;
    font-size: 18px;
}

.dls-price-total-amount {
    color: #28a745;
    font-size: 24px;
    font-weight: 800;
}

.dls-payment-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.dls-payment-note i {
    color: #856404;
    font-size: 18px;
    margin-top: 2px;
}

.dls-payment-note p {
    margin: 0;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

/* Terms & Submit */
.dls-form-submit-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.dls-terms-agreement {
    margin-bottom: 25px;
}

.dls-terms-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.dls-terms-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.dls-terms-text a:hover {
    text-decoration: underline;
}

.dls-terms-error {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.dls-form-actions {
    text-align: center;
}

.dls-btn-submit {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dls-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.dls-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.dls-submit-note {
    margin-top: 15px;
    color: #6c757d;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Booking Security */
.dls-booking-security {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
}

.dls-security-features h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dls-security-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dls-security-badge {
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #dee2e6;
}

.dls-security-badge i {
    color: #28a745;
}

/* Loading Booking Form */
.dls-loading-booking {
    text-align: center;
    padding: 60px 20px;
}

.dls-loading-booking i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.dls-loading-booking p {
    color: #6c757d;
    font-size: 16px;
}

/* Success Modal */
.dls-success-content {
    text-align: center;
    padding: 40px;
}

.dls-success-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
}

.dls-success-content h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
    color: #333;
}

.dls-success-content > p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.dls-booking-details-success {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
}

.dls-booking-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.dls-booking-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dls-info-label {
    color: #6c757d;
    font-size: 15px;
}

.dls-info-value {
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

.dls-success-message {
    color: #6c757d;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.dls-success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (max-width: 768px) {
    .dls-success-actions {
        flex-direction: column;
    }
}

/* Error States */
.dls-input-error {
    border-color: #dc3545 !important;
    background: #fff5f5;
}

.dls-input-error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .dls-booking-header {
        padding: 40px 20px;
    }
    
    .dls-booking-header h1 {
        font-size: 32px;
    }
    
    .dls-booking-content {
        padding: 20px;
        gap: 30px;
    }
    
    .dls-form,
    .dls-booking-form-header,
    .dls-booking-security {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .dls-booking-page {
        padding: 10px;
    }
    
    .dls-booking-container {
        border-radius: 8px;
    }
    
    .dls-booking-header {
        padding: 30px 15px;
    }
    
    .dls-booking-header h1 {
        font-size: 28px;
    }
    
    .dls-test-details-content,
    .dls-form {
        padding: 20px;
    }
    
    .dls-price-display-large {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .dls-service-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dls-booking-header h1 {
        font-size: 24px;
    }
    
    .dls-booking-header p {
        font-size: 16px;
    }
    
    .dls-price-discount-large,
    .dls-price-regular-large {
        font-size: 28px;
    }
    
    .dls-success-actions .dls-btn {
        width: 100%;
    }
}