body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    font-weight: 600;
}

.inspection-item, .gas-inspection-item {
    border-bottom: 1px solid #dee2e6;
    padding: 10px 0;
}

.inspection-item:last-child, .gas-inspection-item:last-child {
    border-bottom: none;
}

.photo-upload-box {
    text-align: center;
    padding: 10px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    background: #fafafa;
}

.photo-upload-box:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

.preview-img {
    border-radius: 4px;
    border: 1px solid #ddd;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.badge {
    padding: 0.5em 1em;
    font-size: 1rem;
}

#crop_container {
    height: 400px;
}

.range-hood-item {
    background: #fff;
}

.photo-grid, .gas-photo-grid {
    margin-top: 10px;
}

.fail-section {
    background: #fff3cd;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.gas-fail-section {
    background: #fff3cd;
    padding: 10px;
    border-radius: 4px;
}

.form-check-inline {
    margin-right: 1rem;
}

.photo-grid-cell .card {
    min-height: 300px;
    border: 2px dashed #ccc;
}

.photo-grid-cell .card:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.grid-photo-canvas {
    border: 1px solid #ddd;
    cursor: crosshair;
    max-width: 100%;
}

.grid-photo-canvas:hover {
    border-color: #007bff;
}

.grid-photo-tools {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

#photo_grid_checkboxes {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

button:disabled {
    cursor: not-allowed;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

header h1 {
    margin: 0;
    color: white;
}
