/** * CABINET Info-Tablet - Styles * Modern, refined design for 8-10" Android tablet in portrait mode */ @import '../shared/cabinet-base.css'; /* ======================================== OVERRIDE: Tablet-sized display tokens ======================================== */ :root { --safe-area: 32px; --radius: 10px; --radius-sm: 6px; /* Status palette */ --status-open: #16a34a; --status-open-bg: linear-gradient(135deg, #f0fdf4, #ecfdf5); --status-open-border: #d1fae5; --status-closed: #ca8a04; --status-closed-bg: linear-gradient(135deg, #fefce8, #fef9c3); --status-closed-border: #fde047; --status-notice: #ea580c; --status-notice-bg: linear-gradient(135deg, #fff7ed, #ffedd5); --status-notice-border: #fed7aa; --status-warning: #dc2626; --status-warning-bg: linear-gradient(135deg, #fef2f2, #fee2e2); --status-warning-border: #fecaca; /* Shadows */ --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04); --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04); --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04); --shadow-inner: inset 0 1px 2px rgba(0, 0, 0, 0.03); /* Refined background */ --surface: #fafafa; --surface-raised: #ffffff; } body { background: var(--surface); padding: 0; } /* ======================================== SCREEN (full viewport) ======================================== */ .screen { width: 100vw; height: 100vh; background: var(--surface); display: flex; flex-direction: column; padding: var(--safe-area); gap: 22px; overflow: hidden; } /* ======================================== HEADER ======================================== */ .header { min-height: auto; padding-bottom: 16px; align-items: center; border-bottom: none; } .brand-logo { height: 64px; } .header-date { text-align: right; line-height: 1.25; } .header-weekday { font-size: var(--text-lg); font-weight: 600; color: var(--fg-strong); letter-spacing: -0.01em; } .header-datestring { font-size: var(--text-sm); color: var(--muted); font-weight: 400; margin-top: 1px; } .header-updated { font-size: var(--text-xs); color: var(--muted-light); font-weight: 400; margin-top: 4px; } /* ======================================== STATUS BANNER ======================================== */ .status-banner { border-radius: var(--radius); padding: 28px 24px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent; border-top-width: 5px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; } .status-banner[data-status="open"] { background: var(--status-open-bg); border-color: var(--status-open-border); border-top-color: var(--status-open); } .status-banner[data-status="closed"] { background: var(--status-closed-bg); border-color: var(--status-closed-border); border-top-color: var(--status-closed); } .status-banner[data-status="notice"] { background: var(--status-notice-bg); border-color: var(--status-notice-border); border-top-color: var(--status-notice); } .status-banner[data-status="warning"] { background: var(--status-warning-bg); border-color: var(--status-warning-border); border-top-color: var(--status-warning); } .status-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); margin-bottom: 2px; } .status-banner[data-status="open"] .status-icon { background: var(--status-open); color: #fff; } .status-banner[data-status="closed"] .status-icon { background: var(--status-closed); color: #fff; } .status-banner[data-status="notice"] .status-icon { background: var(--status-notice); color: #fff; } .status-banner[data-status="warning"] .status-icon { background: var(--status-warning); color: #fff; } .status-text { display: flex; flex-direction: column; gap: 6px; } .status-headline { font-size: var(--text-3xl); font-weight: 700; color: var(--fg-strong); letter-spacing: -0.02em; line-height: 1.15; } .status-subtext { font-size: var(--text-lg); color: var(--muted); font-weight: 400; line-height: 1.35; } /* ======================================== OPENING HOURS ======================================== */ .hours-section { flex: 1; display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; overflow: hidden; box-shadow: var(--shadow-sm); } .hours-title { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); } .hours-list { display: flex; flex-direction: column; gap: 0; flex: 1; } .hours-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: var(--radius-sm); transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); } .hours-day { font-size: var(--text-base); font-weight: 400; color: var(--fg); } .hours-time { font-size: var(--text-base); font-weight: 400; color: var(--fg); font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums; } /* Today highlight */ .hours-row.today { background: rgba(0, 159, 227, 0.06); box-shadow: inset 3px 0 0 var(--accent); } .hours-row.today .hours-day { font-weight: 600; color: var(--accent); } .hours-row.today .hours-time { font-weight: 600; color: var(--accent); } /* Override styling */ .hours-row.today.override .hours-time { color: #ea580c; font-weight: 700; } /* ======================================== APPOINTMENT CARD ======================================== */ .appointment-card { background: linear-gradient(135deg, #111111, #1a1a1a); border-radius: var(--radius); padding: 22px 24px; color: #ffffff; display: flex; align-items: center; gap: 18px; transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; } /* Subtle accent glow */ .appointment-card::after { content: ''; position: absolute; top: -50%; right: -20%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(0, 159, 227, 0.08), transparent 70%); pointer-events: none; } .appointment-card.hidden { display: none; } .appointment-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; } .appointment-text { flex: 1; position: relative; z-index: 1; } .appointment-label { font-size: 12px; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 5px; } .appointment-date { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 3px; } .appointment-note { font-size: var(--text-sm); color: rgba(255, 255, 255, 0.4); font-weight: 400; } /* ======================================== FOOTER ======================================== */ .info-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; border-top: 1px solid var(--line); } .contact-block { display: flex; flex-direction: column; gap: 6px; } .contact-item { display: flex; align-items: center; gap: 10px; font-size: var(--text-base); color: var(--fg); font-weight: 400; } .contact-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--muted); } .footer-qr { display: flex; flex-direction: column; align-items: center; gap: 4px; } .footer-qr img { width: 102px; height: 102px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid var(--line); } .footer-qr-label { font-size: 11px; color: var(--muted-light); text-align: center; font-weight: 500; letter-spacing: 0.04em; } /* ======================================== OFFLINE INDICATOR ======================================== */ .offline-badge { position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%) translateY(4px); background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 500; padding: 6px 16px; border-radius: 100px; opacity: 0; transition: opacity 400ms ease, transform 400ms ease; pointer-events: none; z-index: 100; } .offline-badge.visible { opacity: 1; transform: translateX(-50%) translateY(0); }