
:root {
    --primary: #2c3e50;
    --accent: #3498db;
    --bg: #f4f7f6;
    --white: #ffffff;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--bg); color: var(--primary); margin: 0; padding: 20px; }

.container { display: grid; grid-template-columns: 400px 1fr; gap: 30px; max-width: 1200px; margin: 0 auto; }

/* Form Styles */
.form-card { background: var(--white); padding: 25px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); height: fit-content; }
.form-group { margin-bottom: 15px; display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 5px; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select { padding: 10px; border: 1px solid #ddd; border-radius: 6px; }
.hidden-input { display: none; margin-top: 10px; padding: 10px; border: 1px solid var(--accent); border-radius: 6px; }
.btn-submit { width: 100%; padding: 12px; background: var(--primary); color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.btn-submit:hover { background: var(--accent); }

/* Table Styles */
.table-section { background: var(--white); padding: 25px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.table-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.btn-print { padding: 10px 20px; background: #27ae60; color: white; border: none; border-radius: 6px; cursor: pointer; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 12px; border-bottom: 2px solid var(--primary); }
td { padding: 12px; border-bottom: 1px solid #eee; }
.btn-delete { background: #e74c3c; color: white; border: none; border-radius: 4px; cursor: pointer; }

/* Print Only Styles */
.print-only { display: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.gallery-img { width: 100%; height: 150px; object-fit: cover; border: 1px solid #ccc; }

@media print {
    .container, .btn-print, .btn-delete { display: none !important; }
    .print-only { display: block !important; }
    body { background: white; padding: 0; }
    .report-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
    .report-table th, .report-table td { border: 1px solid black; padding: 8px; text-align: left; }
    .report-header { text-align: center; border-bottom: 3px double black; margin-bottom: 20px; }
}
