:root {
    --primary-color: #4299e1;
    --primary-dark: #3182ce;
    --text-dark: #2d3748;
    --text-light: #718096;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --danger-color: #e53e3e;
}

/* Lab Results Hero Section */
.lab-results-hero {
    background: linear-gradient(rgba(66, 153, 225, 0.1), rgba(66, 153, 225, 0.2));
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.lab-results-hero h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.lab-results-hero p {
    color: var(--text-light);
    font-size: 18px;
}

/* Lab Results Container */
.lab-results-container {
    padding: 30px 0;
}

/* Filter Section */
.filter-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-input {
    flex: 1;
    min-width: 200px;
}

.filter-input select,
.filter-input input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
}

/* Results Cards */
.result-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.test-info h3 {
    margin: 0;
    font-size: 18px;
    color: var(--text-dark);
}

.test-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: var(--text-light);
}

.result-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-normal {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success-color);
}

.status-attention {
    background: rgba(237, 137, 54, 0.1);
    color: var(--warning-color);
}

.status-critical {
    background: rgba(229, 62, 62, 0.1);
    color: var(--danger-color);
}

.result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.detail-item {
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
}

.detail-item h4 {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 5px;
}

.detail-item p {
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

.result-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f7fafc;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .lab-results-hero {
        padding: 40px 0;
    }

    .lab-results-hero h1 {
        font-size: 28px;
    }

    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .result-details {
        grid-template-columns: 1fr;
    }

    .result-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}