:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#475569;background:#f6f7fb;line-height:1.5;font-weight:400}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at left top,rgba(226,232,240,.95) 0,rgba(226,232,240,.95) 180px,transparent 181px),#f6f7fb;color:#475569}body:before,body:after{content:"";position:fixed;pointer-events:none;z-index:0}body:before{left:30px;bottom:80px;width:90px;height:90px;border:6px solid rgba(139,92,246,.35);transform:rotate(45deg);border-radius:18px}body:after{right:40px;top:260px;width:120px;height:120px;border:20px solid rgba(251,191,36,.18);border-radius:999px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{border:0;border-radius:14px;padding:.8rem 1.1rem;cursor:pointer;background:linear-gradient(90deg,#8b5cf6,#6366f1);color:#fff;transition:.2s ease}button:hover{transform:translateY(-1px)}button:disabled{opacity:.6;cursor:not-allowed;transform:none}.secondary-button{background:#f8fafc;color:#475569;border:1px solid #e2e8f0}.danger-button{background:linear-gradient(90deg,#fb7185,#f43f5e)}input,select,textarea{width:100%;margin-top:.4rem;border:1px solid #e2e8f0;border-radius:14px;padding:.82rem .95rem;background:#fff;color:#334155;outline:none}select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:3.25rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%2364758b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:calc(100% - 1.1rem) center;background-size:14px 9px}input:focus,select:focus,textarea:focus{border-color:#c4b5fd;box-shadow:0 0 0 4px #8b5cf61f}.app-shell{position:relative;z-index:1;min-height:100vh;display:grid;grid-template-columns:270px 1fr;gap:24px;width:100%;max-width:none;margin:0;padding:38px 24px}.sidebar,.app-content-wrap,.card,.login-card{box-shadow:0 20px 60px #0f172a14}.sidebar{padding:0;overflow:hidden;border-radius:28px;background:#fff}.sidebar-top{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#8b5cf6,#6366f1);padding:24px 22px;color:#fff}.brand-block{display:flex;flex-direction:column;gap:.15rem}.brand-block--fancy{flex-direction:row;align-items:center;gap:12px}.brand-logo{display:grid;place-items:center;width:46px;height:46px;border-radius:999px;background:#ffffff2e;font-size:1.25rem;font-weight:800}.brand-title{display:block;font-size:1.05rem;font-weight:800}.brand-subtitle,.muted-label,.header-note,.page-header p,.card p,.card small,.user-phone,.trip-meta,.sidebar-section-title{color:#94a3b8}.sidebar-section-title{padding:28px 22px 10px;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.nav-list{display:flex;flex-direction:column;gap:6px;padding:0 16px 18px}.nav-item{display:flex;align-items:center;gap:12px;padding:.95rem 1rem;border-radius:18px;color:#64748b;font-weight:600}.nav-item.active,.nav-item:hover{background:#f5f3ff;color:#7c3aed}.nav-icon{width:18px;text-align:center}.icon-ghost,.header-icon-button{padding:0;background:transparent;color:inherit;border:0;width:38px;height:38px;border-radius:999px;display:grid;place-items:center}.app-content-wrap{overflow:hidden;border-radius:28px;background:#fff}.header-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:20px 22px;border-bottom:1px solid #f1f5f9;background:#fff}.header-search-wrap{position:relative;width:320px}.header-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#94a3b8}.header-search{margin-top:0;padding-left:38px;background:#f8fafc;border:0}.header-actions,.user-box{display:flex;align-items:center;gap:.75rem}.notification-button{position:relative}.notification-dot{position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:999px;background:#8b5cf6}.user-box--card{border-radius:999px;background:#f8fafc;padding:6px 8px 6px 6px}.user-avatar{width:40px;height:40px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(90deg,#0f172a,#334155);color:#fff;font-size:.9rem;font-weight:700}.user-name{font-size:.92rem;font-weight:700;color:#334155}.user-phone{font-size:.78rem}.compact-button{padding:.62rem .85rem;border-radius:999px}.app-content{padding:1.5rem;background:linear-gradient(180deg,#f5f3ff 0,#f5f3ff 128px,#fff 54px)}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.page-header h1,.section-card h3{margin:0;color:#334155}.page-header h1{font-size:1.45rem;line-height:1.05}.page-header__copy{transform:translateY(-10px)}.page-header__actions{display:flex;align-items:center;gap:8px}.page-header p{margin:.3rem 0 0}.tab-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.section-title{margin:0;color:#334155;font-size:1.1rem}.section-subtitle{margin:6px 0 0;color:#94a3b8;font-size:.92rem}.checkbox-field{display:flex;align-items:center;gap:12px;margin-top:1.9rem}.checkbox-field input[type=checkbox]{width:18px;height:18px;margin:0}.dashboard-grid,.stats-grid,.content-grid{display:grid;gap:1rem}.dashboard-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1.45fr);gap:24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid--styled{gap:18px}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:#fff;border:1px solid #eef2f7;border-radius:24px;padding:1.25rem}.card--soft{box-shadow:0 12px 40px #0f172a0f}.stat-card{display:flex;justify-content:space-between;align-items:flex-start;border-radius:22px;padding:1.4rem 1.35rem;color:#fff}.stat-card strong{display:block;font-size:2rem;line-height:1;margin-bottom:.35rem}.stat-card__icon{display:none}.stat-card--green{background:linear-gradient(90deg,#4ade80,#22c55e)}.stat-card--orange{background:linear-gradient(90deg,#fb923c,#f97316)}.stat-card--blue{background:linear-gradient(90deg,#38bdf8,#0ea5e9)}.stat-card--yellow{background:linear-gradient(90deg,#facc15,#f59e0b)}.stat-card--pink{background:linear-gradient(90deg,#fb7185,#f43f5e)}.stat-card--purple{background:linear-gradient(90deg,#c084fc,#a855f7)}.section-card__header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.soft-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.42rem .8rem;background:#ede9fe;color:#7c3aed;font-size:.85rem;font-weight:700}.soft-badge--gray{background:#f8fafc;color:#64748b}.trip-list,.notification-list,.quick-actions{display:grid;gap:12px}.trip-row,.notification-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #eef2f7;border-radius:18px;padding:14px 16px;background:#fff}.trip-route{font-weight:700;color:#334155}.trip-meta{margin-top:4px;font-size:.9rem}.chart-card{min-height:420px}.mini-search{border:1px solid #e2e8f0;border-radius:12px;padding:.7rem .95rem;background:#fff;color:#94a3b8;font-size:.92rem}.chart-area{display:flex;align-items:flex-end;gap:18px;height:280px;padding-top:14px}.chart-column{display:flex;flex:1;flex-direction:column;align-items:center;gap:10px;font-size:.74rem;color:#94a3b8}.chart-bars{display:flex;align-items:flex-end;justify-content:center;gap:8px;height:100%;width:100%}.chart-bar{width:14px;border-radius:999px}.chart-bar--purple{background:#c084fc}.chart-bar--yellow{background:#facc15}.chart-legend{display:flex;gap:18px;justify-content:center;font-size:.92rem;color:#64748b}.legend-dot{display:inline-block;width:10px;height:10px;border-radius:999px;margin-right:8px}.legend-dot--purple{background:#c084fc}.legend-dot--yellow{background:#facc15}.notification-row{justify-content:flex-start;color:#475569}.quick-action-button{text-align:left;padding:1rem}.toolbar-card{margin-bottom:1rem}.toolbar-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.inline-error{margin-bottom:1rem}.error-box{border-radius:16px;padding:.875rem 1rem;background:#fb71851f;border:1px solid rgba(251,113,133,.28);color:#be123c}.table-card,.modal-card{background:#fff}.table-empty{padding:2rem 0;text-align:center;color:#94a3b8}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:14px 12px;border-bottom:1px solid #eef2f7;text-align:left;vertical-align:middle}.data-table th{color:#94a3b8;font-size:.84rem;font-weight:700}.data-table td{color:#334155}.row-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.icon-action-button{width:46px;height:46px;padding:0;display:inline-grid;place-items:center;border-radius:14px;background:#f8fafc;color:#475569;border:1px solid #e2e8f0;box-shadow:none}.icon-action-button svg{width:18px;height:18px}.icon-action-button:hover{background:#f5f3ff;color:#7c3aed;border-color:#ddd6fe}.icon-action-button--danger{background:#fff1f2;color:#e11d48;border-color:#fecdd3}.icon-action-button--danger:hover{background:#ffe4e6;color:#be123c;border-color:#fda4af}.icon-action-button--ghost{background:transparent;color:#64748b;border-color:transparent;box-shadow:none}.icon-action-button--ghost:hover{background:#f8fafc;color:#334155;border-color:#e2e8f0}.icon-link-button{text-decoration:none}.ui-chip{display:inline-flex;align-items:center;justify-content:center;min-height:30px;border-radius:999px;padding:.35rem .8rem;font-size:.8rem;font-weight:700;line-height:1;white-space:nowrap}.ui-chip--default,.ui-chip--neutral{background:#eef2ff;color:#4f46e5}.ui-chip--success{background:#dcfce7;color:#15803d}.ui-chip--info{background:#dbeafe;color:#1d4ed8}.ui-chip--warning{background:#fef3c7;color:#b45309}.ui-chip--purple{background:#ede9fe;color:#7c3aed}.chip-stack{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border-radius:999px;padding:.35rem .75rem;font-size:.82rem;font-weight:700;white-space:nowrap}.status-badge.active,.status-badge.working,.status-badge.completed,.status-badge.delivered{background:#dcfce7;color:#15803d}.status-badge.queued,.status-badge.awaiting_payment,.status-badge.idle,.status-badge.inactive{background:#fef3c7;color:#b45309}.status-badge.loaded,.status-badge.in_transit,.status-badge.service{background:#dbeafe;color:#1d4ed8}.status-badge.archived,.status-badge.disbanded,.status-badge.cancelled{background:#e2e8f0;color:#475569}.status-badge.repair{background:#fee2e2;color:#b91c1c}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#0f172a5c;z-index:10}.modal-card{width:min(920px,100%);max-height:90vh;overflow:auto;border-radius:24px;padding:22px;box-shadow:0 20px 60px #0f172a33}.modal-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:1rem}.modal-header>.secondary-button,.modal-header>.icon-action-button{width:42px;height:42px;padding:0;min-width:42px;font-size:0;border-radius:999px}.modal-header h2{margin:0;color:#334155}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-actions,.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:18px}.login-page{min-height:100vh;display:grid;place-items:center;padding:1.5rem;background:#f6f7fb}.login-card{width:min(100%,420px);display:flex;flex-direction:column;gap:1rem;background:#fff;border-radius:24px;padding:1.5rem}.login-card h1{margin:0;color:#334155}label{display:block}.recaptcha-box{min-height:78px}.page-loader{min-height:100vh;display:grid;place-items:center;font-size:1.125rem;color:#475569;background:#f6f7fb}@media (max-width: 1200px){.dashboard-grid,.two-columns{grid-template-columns:1fr}}@media (max-width: 980px){.app-shell{grid-template-columns:1fr}.sidebar{border-radius:24px}.stats-grid,.form-grid{grid-template-columns:1fr}}@media (max-width: 720px){.header-bar,.page-header,.modal-header,.toolbar-row{grid-template-columns:1fr;display:grid}.header-search-wrap{width:100%}.user-box--card,.row-actions,.form-actions{flex-wrap:wrap}.app-shell{padding:18px}.app-content{padding:1rem}}.compact-stats{margin-bottom:1rem}.compact-stats .stat-card{min-height:110px}.stats-grid--plain .stat-card{background:#fff;color:#334155;border:1px solid #eef2f7}.stats-grid--plain .muted-label,.stats-grid--plain .stat-card small{color:#94a3b8}.table-meta{margin-top:4px;font-size:12px;color:#94a3b8}.brand-logo--image{object-fit:contain;padding:6px}.confirm-modal-card{width:min(460px,100%);border-radius:28px;background:#fff;padding:24px;box-shadow:0 26px 80px #0f172a38;border:1px solid rgba(226,232,240,.9)}.confirm-modal__badge{display:inline-flex;align-items:center;border-radius:999px;padding:.35rem .8rem;background:#f5f3ff;color:#7c3aed;font-size:.78rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.confirm-modal-card h3{margin:14px 0 10px;color:#0f172a;font-size:1.35rem}.confirm-modal__text{color:#64748b;font-size:.96rem;line-height:1.65}.confirm-modal__actions{margin-top:24px;display:flex;justify-content:flex-end;gap:12px}@media (max-width: 720px){.confirm-modal__actions{flex-direction:column-reverse}}.trip-details-card{padding:1.25rem}.trip-tabs{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.trip-tab{background:#f8fafc;color:#64748b;border:1px solid #e2e8f0}.trip-tab.active{background:#f5f3ff;color:#7c3aed;border-color:#ddd6fe}.trip-tab-panel{display:grid;gap:1rem}.section-toolbar{display:flex;justify-content:flex-end}.details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.detail-item{border:1px solid #eef2f7;border-radius:20px;padding:1rem 1.1rem;background:#fbfdff}.detail-item span{display:block;font-size:.85rem;color:#94a3b8;margin-bottom:.35rem}.detail-item strong{color:#0f172a}.modal-card--wide{width:min(960px,calc(100vw - 32px))}.form-grid--triple{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid-span-2{grid-column:span 2}@media (max-width: 900px){.form-grid--triple,.form-grid-span-2{grid-column:auto}.form-grid--triple{grid-template-columns:1fr}}.inline-link-button{display:inline-flex;align-items:center;justify-content:center}.notification-count{position:absolute;top:-4px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:#8b5cf6;color:#fff;font-size:.68rem;font-weight:700;line-height:1;border:2px solid #fff}.notifications-card{display:grid;gap:16px}.notifications-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.notification-list--stacked{gap:14px}.notification-card{border:1px solid #eef2f7;border-radius:20px;padding:16px;background:#fff;display:grid;gap:12px}.notification-card--unread{border-color:#ddd6fe;box-shadow:0 10px 30px #8b5cf614}.notification-card--read{opacity:.92}.notification-card__meta,.notification-card__content,.notification-card__actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.notification-card__meta{color:#94a3b8;font-size:.84rem}.notification-card__content{align-items:flex-start}.notification-card h3{margin:0 0 6px;color:#334155}.notification-card p{margin:0 0 8px;color:#475569}.notification-card small{color:#94a3b8}.notification-card__actions{flex-wrap:wrap;justify-content:flex-end}.table-link{color:#334155;font-weight:700}.table-link:hover{color:#7c3aed}.form-grid--double{grid-template-columns:repeat(2,minmax(0,1fr))}.points-section{margin-top:1rem;border-top:1px solid #eef2ff;padding-top:1rem}.points-list{display:grid;gap:1rem}.point-card{border:1px solid #e2e8f0;border-radius:18px;padding:1rem;background:#f8fafc}.point-card__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.compact-points-list{display:grid;gap:.75rem}.compact-point-card{border:1px solid #e2e8f0;border-radius:16px;padding:.85rem 1rem;background:#f8fafc}.compact-point-card__top{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.compact-point-card__actions{display:inline-flex;align-items:center;gap:.75rem;flex-wrap:wrap;font-size:.86rem}.compact-point-card__address{margin-top:.35rem;font-weight:600;color:#0f172a}.compact-point-card__note{margin-top:.35rem;font-size:.86rem;color:#64748b}
