/* Lab Report Verification - Frontend Styles */

.lrv-verification-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lrv-verification-form h3 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.lrv-verification-form p {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.lrv-form-group {
    margin-bottom: 20px;
}

.lrv-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.lrv-form-group input[type="text"],
.lrv-form-group input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.lrv-form-group input:focus {
    outline: none;
    border-color: #0073aa;
}

.lrv-button {
    background: #0073aa;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.lrv-button:hover {
    background: #005a87;
}

.lrv-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
}

/* Report Display Styles */
.lrv-report-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.lrv-report-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.lrv-report-header h1 {
    margin: 0 0 10px 0;
    color: #333;
}

.lrv-report-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.lrv-report-info span {
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

.lrv-report-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.lrv-field {
    margin-bottom: 25px;
}

.lrv-field strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lrv-method,
.lrv-results,
.lrv-notes {
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #0073aa;
    border-radius: 0 4px 4px 0;
    line-height: 1.6;
}

.lrv-results {
    border-left-color: #28a745;
}

.lrv-report-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.lrv-product-images h4,
.lrv-report-actions h4,
.lrv-qr-code h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.lrv-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.lrv-images-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #ddd;
    transition: transform 0.3s ease;
}

.lrv-images-grid img:hover {
    transform: scale(1.05);
}

.lrv-report-actions {
    margin: 30px 0;
}

.lrv-report-actions .lrv-button {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 14px;
}

.lrv-qr-code {
    text-align: center;
}

.lrv-qr-code #qr-code-display {
    margin: 15px 0;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lrv-report-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .lrv-verification-form {
        margin: 20px;
        padding: 20px;
    }
    
    .lrv-report-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .lrv-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

/* Print Styles */
@media print {
    .lrv-report-actions,
    .lrv-qr-code {
        display: none;
    }
    
    .lrv-report-container {
        box-shadow: none;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .lrv-report-content {
        grid-template-columns: 1fr;
    }
}
