:root { --ace-blue: #040942; --ace-dark: #040942; --ace-orange: #FF7200; --ace-yellow: #FF7200; --ink: #FF7200; --muted: #ffd0aa; --paper: #040942; --card: #0b145b; }
* { box-sizing: border-box; }
html { font-size: 14px; position: relative; min-height: 100%; scroll-behavior: smooth; }
@media (min-width: 768px) { html { font-size: 16px; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
.ticket-terminal { min-height: 100vh; max-width: 1180px; margin: auto; padding: 1rem clamp(1.25rem, 4vw, 3.5rem); display: flex; flex-direction: column; }
.terminal-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.15rem; border-bottom: 1px solid rgba(255,114,0,.35); }.terminal-header-actions { display: flex; align-items: center; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: .8rem; min-width: 0; }.brand-logo { width: 190px; max-height: 60px; object-fit: contain; object-position: left center; }.brand-divider { width: 1px; height: 30px; background: rgba(255,114,0,.45); }.brand-label { color: var(--ink); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.terminal-status { display: flex; align-items: center; gap: .45rem; color: var(--ace-orange); font-size: .82rem; font-weight: 700; }.terminal-status i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ace-orange); box-shadow: 0 0 0 4px rgba(255,114,0,.2); }
.recent-tickets-link { color: var(--ace-orange); font-size: .85rem; font-weight: 700; text-decoration: none; }.recent-tickets-link:hover { color: #ff9138; text-decoration: underline; }
.welcome { margin: clamp(1.5rem, 4vh, 3rem) 0 1.5rem; }.eyebrow { color: var(--ace-orange); font-size: .78rem; font-weight: 800; letter-spacing: .2em; }.welcome h1 { margin: .5rem 0 .35rem; color: var(--ace-orange); font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.04em; }.welcome p { margin-bottom: 0; color: var(--muted); font-size: 1.2rem; }
.ticket-form { display: block; width: 100%; }.selection-step { width: 100%; }.service-grid, #service-step { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; align-items: stretch; }.service-button { min-height: 145px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid rgba(255,114,0,.25); border-radius: 1rem; padding: 1.1rem 1.25rem; background: var(--card); color: var(--ink); text-align: left; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.25); transition: transform .15s, border-color .15s, box-shadow .15s; cursor: pointer; touch-action: manipulation; }.service-button:hover, .service-button:focus { border-color: var(--ace-orange); transform: translateY(-3px); outline: none; }.service-button:hover { box-shadow: 0 .75rem 1.75rem rgba(0,0,0,.35); }.service-button:active { transform: scale(.98); }.service-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ace-orange); color: var(--ace-blue); font-size: 1.4rem; margin-bottom: .75rem; }.service-name, .service-description, .service-action { display: block; }.service-name { font-size: 1.15rem; font-weight: 700; }.service-description { min-height: 2rem; margin: .3rem 0 .75rem; color: var(--muted); }.service-action { margin-top: auto; color: var(--ace-orange); font-size: .8rem; font-weight: 700; }
.back-button { border: 0; background: transparent; color: var(--ace-orange); font-size: 1rem; font-weight: 700; padding: .5rem 0 1rem; cursor: pointer; }.phone-card { max-width: 620px; margin: auto; padding: 2rem; border-radius: 1.25rem; background: var(--card); box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.25); }.phone-card h2 { color: var(--ace-orange); font-size: 1.7rem; }.phone-card p { color: var(--muted); }.phone-card .form-control { width: 100%; margin: 1.5rem 0; padding: 1rem; border: 1px solid rgba(255,114,0,.45); border-radius: .65rem; background: var(--paper); color: var(--ink); }.phone-card .form-control:focus { border-color: var(--ace-orange); outline: 3px solid rgba(255,114,0,.2); }.confirm-button { width: 100%; border: 0; border-radius: .75rem; padding: 1.1rem; background: var(--ace-orange); color: var(--ace-blue); font-size: 1.1rem; font-weight: 700; cursor: pointer; }.confirm-button:hover { background: #ff9138; }.confirm-button:disabled { opacity: .65; cursor: wait; }
.alert { margin: 1.5rem auto; padding: 1rem; border-radius: .75rem; }.alert-danger { color: #8a3c2e; background: #fbe5da; }.alert-success { color: var(--ace-dark); background: #e1f2ee; }.ticket-receipt { max-width: 320px; margin: 2rem auto; padding: 1.5rem; border: 1px dashed var(--ace-blue); background: white; text-align: center; }.receipt-brand { color: var(--ace-blue); font-weight: 800; letter-spacing: .12em; }.receipt-title { margin-top: 1rem; }.receipt-number { color: var(--ace-orange); font-size: 4rem; font-weight: 800; }.receipt-service { font-weight: 700; }.receipt-date { margin-top: 1rem; color: var(--muted); font-size: .85rem; }
.recent-tickets { margin: 3rem auto 1rem; width: min(100%, 850px); padding: 1.5rem; border: 1px solid rgba(255,114,0,.25); border-radius: 1rem; background: var(--card); }.recent-tickets h2 { margin: 0 0 1rem; color: var(--ace-orange); font-size: 1.35rem; }.recent-empty { margin: 0; color: var(--muted); }.recent-ticket-list { display: grid; gap: .65rem; }.recent-ticket { display: grid; grid-template-columns: .7fr 1.5fr 1fr 1fr; gap: 1rem; align-items: center; padding: .8rem 1rem; border-radius: .6rem; background: rgba(4,9,66,.65); color: var(--muted); }.recent-ticket strong { color: var(--ace-orange); font-size: 1.15rem; }.recent-ticket span { font-size: .9rem; }
.recent-tickets-panel { margin: clamp(3rem, 8vh, 6rem) auto 2rem; width: min(100%, 900px); padding: 2rem; border-radius: 1.25rem; background: var(--card); box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.25); }.recent-tickets-panel h1 { margin: .75rem 0 .5rem; color: var(--ace-orange); }.recent-tickets-panel > p { color: var(--muted); }.recent-tickets-login { max-width: 440px; margin-top: 1.5rem; }.recent-tickets-login label { display: block; margin-bottom: .5rem; color: var(--muted); font-weight: 700; }.recent-tickets-login input { margin-bottom: 1rem; padding: .9rem; background: var(--paper); color: var(--ink); border-color: rgba(255,114,0,.45); }.recent-tickets-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.5rem 0; }.recent-tickets-toolbar p { margin: 0; color: var(--muted); }
.ticket-alert-backdrop { position: fixed; inset: 0; z-index: 1050; display: grid; place-items: center; padding: 1.5rem; background: rgba(7,86,93,.68); }.ticket-alert { width: min(100%, 460px); padding: 2.5rem 2rem 2rem; border-radius: 1.5rem; background: var(--paper); color: var(--ink); text-align: center; box-shadow: 0 1.5rem 4rem rgba(7,86,93,.3); animation: ticket-alert-appear .2s ease-out; }.ticket-alert-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--ace-yellow); color: var(--ace-dark); font-size: 2rem; font-weight: 800; }.ticket-alert h2 { margin: 0 0 .75rem; color: var(--ace-dark); font-size: 1.8rem; }.ticket-alert p { margin-bottom: .5rem; color: var(--muted); }.ticket-alert-countdown { font-size: .9rem; margin: 1.25rem 0 1.5rem !important; }.ticket-alert-button { width: 100%; border: 0; border-radius: .75rem; padding: 1rem; background: var(--ace-blue); color: white; font-size: 1.05rem; font-weight: 700; cursor: pointer; }.ticket-alert-button:hover { background: var(--ace-dark); }
.terminal-footer { color: #819396; text-align: center; margin-top: auto; padding-top: 3rem; font-size: .82rem; }.terminal-footer::first-letter { color: var(--ace-orange); }
@keyframes ticket-alert-appear { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 900px) { .service-grid, #service-step { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ticket-terminal { padding-top: .75rem; }.brand-logo { width: 145px; }.brand-divider, .brand-label { display: none; }.terminal-status { font-size: .75rem; }.terminal-header-actions { gap: .75rem; }.recent-tickets-link { font-size: .75rem; }.welcome { margin: 2rem 0 1.25rem; }.welcome p { font-size: 1rem; }.service-grid, #service-step { grid-template-columns: 1fr; gap: .75rem; }.service-button { min-height: 125px; padding: 1rem 1.15rem; }.recent-tickets-panel { padding: 1.25rem; }.recent-tickets-toolbar { align-items: flex-start; flex-direction: column; } }
@media (max-width: 600px) { .recent-ticket { grid-template-columns: 1fr 1fr; gap: .35rem .75rem; }.recent-ticket span { font-size: .8rem; } }
@media print { body { background: white; }.ticket-terminal > *:not(#ticket-receipt) { display: none !important; }.ticket-receipt { display: block !important; border: 0; margin: 0 auto; } }