/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    padding: 20px;
    color: #333;
}

.container, .report-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* Test Rows */
.test-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
    margin-bottom: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-remove {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-remove:hover {
    background-color: #c0392b;
}

/* Report Styles */
.info-table, .results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.info-table td, .results-table th, .results-table td {
    padding: 1px;
    border: 1px solid #ddd;
}

.results-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
}

.results-table tr:nth-child(even) {
   /* background-color: #f8f9fa; */
}

.results-table tr:hover {
    background-color: #f1f1f1;
}

.doctor-signature {
    margin-top: 60px;
    text-align: right;
    padding-right: 50px;
}

.signature {
    margin-bottom: 50px;
    border-bottom: 1px solid #333;
    padding-bottom: 50px;
    font-weight: bold;
    color: #2c3e50;
}

.designation {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 5px;
}

.report-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #7f8c8d;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        padding: 0;
    }
    
    .report-container {
        box-shadow: none;
        padding: 5px 10px;
        max-width: 100%;
    }
    
    .info-table td, .results-table th, .results-table td {
        border: 1px solid #000;
    }

    .btn-primary, .btn-secondary, .btn-remove {
        display: none;
    }
}

.signature-img {
    width: 220px;
    height: auto;
    display: block;
    margin: 0 0 10px auto;
    filter: grayscale(0.7) contrast(1.2);
}

.signature-name {
    font-weight: bold;
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 0;
    margin-top: 0;
} 