@import "https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap";:root{color:#1e293b;font-synthesis:none;text-rendering:optimizelegibility;background:#f5f7fb;font-family:Cairo,sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{min-width:320px;min-height:100vh}button,input,select{font:inherit}.dashboard{width:min(1200px,94%);margin:40px auto}.dashboard__header{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:24px;padding:28px}.dashboard__header h1{color:#0f172a;font-size:26px;font-weight:800}.dashboard__header p{color:#64748b;margin-top:6px;font-size:14px}.dashboard__form,.dashboard__records{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:24px;padding:28px}.dashboard__form h2,.dashboard__records h2{margin-bottom:20px;font-size:19px;font-weight:700}@media (width<=600px){.dashboard{width:94%;margin:20px auto}.dashboard__header,.dashboard__form,.dashboard__records{padding:18px}}.record-form{flex-direction:column;gap:28px;display:flex}.form-section{border-bottom:1px solid #e2e8f0;padding-bottom:24px}.form-section h3{color:#334155;margin-bottom:18px;font-size:16px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.form-group{flex-direction:column;gap:8px;display:flex}.form-group label{color:#475569;font-size:13px;font-weight:600}.form-group input{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;height:44px;padding:0 12px;transition:border-color .2s,box-shadow .2s}.form-group input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.submit-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;align-self:flex-start;min-width:150px;padding:12px 24px;font-weight:700;transition:background .2s}.submit-button:hover{background:#1d4ed8}@media (width<=600px){.form-grid{grid-template-columns:1fr}.submit-button{width:100%}}.records-list{flex-direction:column;gap:20px;display:flex}.records-list__toolbar input{background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;max-width:450px;height:44px;padding:0 14px;font-size:14px}.records-list__toolbar input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.records-list__empty{text-align:center;color:#64748b;border:1px dashed #cbd5e1;border-radius:10px;padding:35px 15px;font-size:14px}.records-table-wrapper{border:1px solid #e2e8f0;border-radius:10px;width:100%;overflow-x:auto}.records-table{border-collapse:collapse;text-align:right;width:100%;min-width:1050px;font-size:13px}.records-table th{color:#475569;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:15px 12px;font-weight:700}.records-table td{color:#64748b;border-bottom:1px solid #f1f5f9;padding:14px 12px}.records-table tbody tr:last-child td{border-bottom:none}.records-table__empty{text-align:center;color:#94a3b8!important;padding:35px 15px!important}.record-actions{gap:8px;display:flex}.record-actions button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:7px 12px;font-size:12px}.record-actions button:hover{background:#f1f5f9}.document-page{width:100%;min-height:100vh;margin:0;padding:0}.document-frame{border:none;width:100%;height:1200px;min-height:100vh;display:block}.qr-modal{z-index:1000;background:#000000a6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.qr-modal__content{text-align:center;background:#fff;border-radius:16px;flex-direction:column;align-items:center;gap:15px;width:100%;max-width:420px;padding:35px 20px;display:flex;position:relative}.qr-modal__content h2{color:#222;margin:0}.qr-modal__content p{color:#555;margin:0}.qr-modal__close{cursor:pointer;color:#333;background:0 0;border:none;position:absolute;top:12px;left:12px}
