*,:after,:before{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f0f2f5;min-height:100vh;color:#1a1a2e}.card{background:#fff;border-radius:12px;box-shadow:0 2px 16px rgba(0,0,0,.1);padding:2rem;width:100%;max-width:480px;margin:auto}.card-wide{max-width:640px}.page-center{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.5rem 1rem}h1{font-size:1.6rem;font-weight:700;margin-bottom:.25rem}h2{font-size:1.1rem;font-weight:500;color:#555;margin-bottom:1.5rem}.form-group{display:flex;flex-direction:column;gap:.3rem;margin-bottom:1rem}.form-row{display:flex;gap:.75rem}.form-row .form-group{flex:1 1}label{font-size:.85rem;font-weight:600;color:#333}input:not([type=checkbox]):not([type=file]),select,textarea{padding:.65rem .85rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:1rem;outline:none;transition:border-color .2s;width:100%;-webkit-appearance:none;background:#fff}input:focus,select:focus,textarea:focus{border-color:#2563eb}textarea{resize:vertical;min-height:100px}.btn{display:block;width:100%;padding:.8rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s,opacity .2s;min-height:48px;text-decoration:none;text-align:center}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:#2563eb;color:#fff}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-secondary{background:#f3f4f6;color:#333;margin-top:.5rem}.btn-secondary:hover:not(:disabled){background:#e5e7eb}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-success{background:#16a34a;color:#fff}.btn-success:hover:not(:disabled){background:#15803d}.btn-inline{display:inline-block;width:auto;padding:.5rem 1.2rem}.type-toggle{display:flex;background:#f3f4f6;border-radius:8px;padding:4px;margin-bottom:1.5rem;gap:4px}.type-btn{flex:1 1;padding:.6rem;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;background:transparent;color:#666;transition:all .2s;min-height:44px}.type-btn.active{background:#2563eb;color:#fff}.checkbox-row{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;font-size:.9rem;color:#444;cursor:pointer;min-height:44px}.checkbox-row input[type=checkbox]{width:18px;height:18px;cursor:pointer;flex-shrink:0}.error-msg{color:#ef4444;background:#fef2f2;border-radius:6px;border:1px solid #fecaca}.error-msg,.success-msg{font-size:.85rem;padding:.6rem .8rem;margin-bottom:1rem}.success-msg{color:#16a34a;background:#f0fdf4;border-radius:6px;border:1px solid #bbf7d0}.info-msg{color:#2563eb;font-size:.85rem;padding:.6rem .8rem;background:#eff6ff;border-radius:6px;margin-bottom:1rem;border:1px solid #bfdbfe}.link-row{text-align:center;margin-top:1rem;font-size:.9rem;color:#555}.link-row a{color:#2563eb;font-weight:600;text-decoration:none}.link-row a:hover{text-decoration:underline}.divider{border:none;border-top:1px solid #e5e7eb;margin:1.2rem 0}.logo-area{text-align:center;margin-bottom:1.5rem}.logo-area .logo-icon{font-size:2.5rem}.section-title{font-size:.9rem;font-weight:700;color:#2563eb;margin-bottom:.75rem;margin-top:.5rem;text-transform:uppercase;letter-spacing:.03em}.dashboard-wrap{max-width:700px;margin:0 auto;padding:1.5rem 1rem}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;gap:.75rem}.user-badge{font-size:.85rem;background:#dbeafe;color:#2563eb;padding:.3rem .75rem;border-radius:20px;font-weight:600}.request-list{display:flex;flex-direction:column;gap:.75rem}.request-card{background:#fff;border-radius:10px;padding:1rem 1.25rem;box-shadow:0 1px 8px rgba(0,0,0,.06);border-left:4px solid #2563eb}.request-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.request-card-route{font-size:.95rem;font-weight:600;color:#1a1a2e}.request-card-details{font-size:.85rem;color:#555;line-height:1.6}.request-card-details span{display:block}.badge{display:inline-block;padding:.2rem .6rem;border-radius:12px;font-size:.75rem;font-weight:600}.badge-pending{background:#fef3c7;color:#d97706}.badge-accepted{background:#dbeafe;color:#2563eb}.badge-completed{background:#dcfce7;color:#16a34a}.badge-cancelled{background:#fef2f2;color:#ef4444}.badge-active{background:#dcfce7;color:#16a34a}.badge-blocked{background:#fef2f2;color:#ef4444}.badge-approved{background:#dbeafe;color:#2563eb}.badge-not-approved{background:#fef3c7;color:#d97706}.badge-company{background:#dbeafe;color:#2563eb}.badge-driver{background:#f3e8ff;color:#7c3aed}.badge-whatsapp{background:#dcfce7;color:#16a34a}.empty-state{text-align:center;padding:3rem 1rem;color:#888}.empty-state .empty-icon{font-size:3rem;margin-bottom:.75rem}.empty-state p{font-size:.95rem}.admin-wrap{max-width:1100px;margin:0 auto;padding:1.5rem 1rem}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:.75rem}.admin-header h1{font-size:1.3rem}.admin-nav{display:flex;gap:.5rem;margin-bottom:1.5rem;flex-wrap:wrap}.admin-nav a{padding:.5rem 1rem;border-radius:8px;text-decoration:none;font-weight:600;font-size:.85rem;color:#555;background:#f3f4f6;transition:all .2s}.admin-nav a.active,.admin-nav a:hover{background:#2563eb;color:#fff}.admin-toolbar{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.admin-toolbar input,.admin-toolbar select{max-width:260px}.admin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:1rem;gap:1rem;margin-bottom:1.5rem}.stat-card{background:#fff;border-radius:10px;padding:1.25rem;box-shadow:0 1px 8px rgba(0,0,0,.06);text-align:center}.stat-card .stat-value{font-size:2rem;font-weight:700;color:#2563eb}.stat-card .stat-label{font-size:.85rem;color:#666;margin-top:.25rem}.admin-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.admin-table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.08);font-size:.9rem}.admin-table td,.admin-table th{padding:.7rem .85rem;text-align:left;border-bottom:1px solid #e5e7eb}.admin-table th{background:#f9fafb;font-weight:600;font-size:.8rem;color:#555;text-transform:uppercase;letter-spacing:.03em}.admin-table tr:last-child td{border-bottom:none}.admin-table tr:hover td{background:#f8fafc}.action-btns{display:flex;gap:.35rem;flex-wrap:wrap}.btn-sm{padding:.3rem .65rem;font-size:.78rem;border-radius:6px;border:none;cursor:pointer;font-weight:600;min-height:32px;white-space:nowrap}.btn-edit{background:#dbeafe;color:#2563eb}.btn-edit:hover{background:#bfdbfe}.btn-block{background:#fef3c7;color:#d97706}.btn-block:hover{background:#fde68a}.btn-delete{background:#fef2f2;color:#ef4444}.btn-delete:hover{background:#fecaca}.btn-approve{background:#dcfce7;color:#16a34a}.btn-approve:hover{background:#bbf7d0}.btn-accept{background:#dcfce7;color:#16a34a}.btn-accept:hover{background:#bbf7d0}.pagination{display:flex;justify-content:center;align-items:center;gap:.5rem;margin-top:1rem;font-size:.9rem}.pagination button{padding:.4rem .8rem;border:1.5px solid #d1d5db;border-radius:6px;background:#fff;cursor:pointer;font-weight:600}.pagination button:disabled{opacity:.4;cursor:not-allowed}.pagination button:hover:not(:disabled){background:#f3f4f6}.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:12px;padding:1.5rem;max-width:600px;width:100%;max-height:85vh;overflow-y:auto;position:relative}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.modal-header h2{font-size:1.1rem;margin:0}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666;padding:.25rem;line-height:1}.btn-detail{padding:.3rem .7rem;font-size:.78rem;border-radius:6px;border:none;cursor:pointer;font-weight:600;min-height:32px;background:#e0e7ff;color:#3730a3;white-space:nowrap}.btn-detail:hover{background:#c7d2fe}.detail-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:1rem;gap:1rem}.detail-section{background:#f9fafb;border-radius:8px;padding:.85rem}.detail-section h3{font-size:.8rem;font-weight:700;color:#2563eb;text-transform:uppercase;letter-spacing:.03em;margin-bottom:.5rem;padding-bottom:.35rem;border-bottom:1px solid #e5e7eb}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:.25rem 0;font-size:.85rem}.detail-label{font-weight:600;color:#555;flex-shrink:0;margin-right:.5rem}.detail-row span:last-child{text-align:right;word-break:break-word}@media (max-width:600px){.detail-grid{grid-template-columns:1fr}.modal-content{padding:1rem}}@media (max-width:520px){.page-center{align-items:flex-start;padding:1rem .75rem}.card{padding:1.5rem 1rem;border-radius:10px;box-shadow:0 1px 8px rgba(0,0,0,.08)}h1{font-size:1.35rem}h2{font-size:1rem;margin-bottom:1.2rem}.dashboard-wrap{padding:1rem .75rem}.dashboard-header{flex-wrap:wrap}.form-row{flex-direction:column;gap:0}.logo-area{margin-bottom:1rem}.logo-area .logo-icon{font-size:2rem}.admin-wrap{padding:1rem .5rem}.admin-table{font-size:.8rem}.admin-table td,.admin-table th{padding:.5rem}.admin-nav{gap:.35rem}.admin-nav a{padding:.4rem .7rem;font-size:.8rem}}@media (max-width:360px){.card{padding:1.25rem .85rem}h1{font-size:1.2rem}.btn{font-size:.95rem}}