2334 lines
40 KiB
CSS
2334 lines
40 KiB
CSS
:root {
|
|
--color-bg: #f9f7f3;
|
|
--color-surface: #ffffff;
|
|
--color-surface-soft: #f2efe9;
|
|
--color-text-main: #1d2a24;
|
|
--color-text-muted: #5e6d66;
|
|
--color-border: #e5dfd5;
|
|
--color-border-focus: #2d5a46;
|
|
|
|
/* Brand Palette: Armonía del Ser */
|
|
--color-sage: #2d5a46;
|
|
--color-sage-dark: #1e3e30;
|
|
--color-sage-light: #ebf3ee;
|
|
--color-terracotta: #c25e3b;
|
|
--color-terracotta-light: #fbefea;
|
|
--color-gold: #b8860b;
|
|
--color-gold-light: #fbf6e9;
|
|
--color-success: #1e7e4e;
|
|
--color-success-light: #e8f5ed;
|
|
--color-danger: #c53030;
|
|
--color-danger-light: #fde8e8;
|
|
--color-warning: #d97706;
|
|
--color-warning-light: #fef3c7;
|
|
|
|
--font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
|
|
--font-sans:
|
|
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
|
|
sans-serif;
|
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
|
|
--radius-sm: 6px;
|
|
--radius-md: 10px;
|
|
--radius-lg: 16px;
|
|
--shadow-sm: 0 1px 3px rgba(29, 42, 36, 0.05);
|
|
--shadow-md: 0 4px 12px rgba(29, 42, 36, 0.08);
|
|
--shadow-lg: 0 10px 25px rgba(29, 42, 36, 0.12);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
background-color: var(--color-bg);
|
|
color: var(--color-text-main);
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* Layout */
|
|
.app-container {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding: 16px;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Header */
|
|
.app-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 16px 0 20px 0;
|
|
border-bottom: 1px solid var(--color-border);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.app-header {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.brand-section {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.brand-lotus {
|
|
font-size: 28px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.brand-title {
|
|
font-family: var(--font-serif);
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
color: var(--color-sage-dark);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.brand-badge {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
background: var(--color-sage-light);
|
|
color: var(--color-sage);
|
|
padding: 3px 8px;
|
|
border-radius: var(--radius-sm);
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn-new-booking {
|
|
min-height: 44px;
|
|
padding: 8px 16px;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-md);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
box-shadow: var(--shadow-sm);
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.btn-new-booking:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.operator-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: var(--color-text-main);
|
|
background: var(--color-surface);
|
|
padding: 6px 12px;
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--color-border);
|
|
min-height: 44px;
|
|
}
|
|
|
|
.operator-badge-loading {
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.status-dot-pulse {
|
|
animation: pulse-dot 1.5s infinite ease-in-out;
|
|
}
|
|
|
|
@keyframes pulse-dot {
|
|
0%,
|
|
100% {
|
|
opacity: 0.4;
|
|
transform: scale(0.9);
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
transform: scale(1.1);
|
|
}
|
|
}
|
|
|
|
.status-dot-online {
|
|
background-color: var(--color-success);
|
|
}
|
|
|
|
.status-dot-offline {
|
|
background-color: var(--color-warning);
|
|
}
|
|
|
|
.operator-role-pill {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.role-owner {
|
|
background: var(--color-gold-light);
|
|
color: var(--color-gold);
|
|
border: 1px solid rgba(184, 134, 11, 0.3);
|
|
}
|
|
|
|
.role-assistant {
|
|
background: var(--color-sage-light);
|
|
color: var(--color-sage);
|
|
border: 1px solid rgba(45, 90, 70, 0.3);
|
|
}
|
|
|
|
.role-fallback {
|
|
background: var(--color-surface-soft);
|
|
color: var(--color-text-muted);
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background-color: var(--color-success);
|
|
}
|
|
|
|
/* Navigation Tabs */
|
|
.nav-tabs {
|
|
display: flex;
|
|
gap: 8px;
|
|
border-bottom: 2px solid var(--color-border);
|
|
margin-bottom: 24px;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.nav-tab {
|
|
background: none;
|
|
border: none;
|
|
padding: 12px 18px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
color: var(--color-text-muted);
|
|
cursor: pointer;
|
|
border-bottom: 2px solid transparent;
|
|
margin-bottom: -2px;
|
|
white-space: nowrap;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 48px; /* Touch target */
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.nav-tab:hover {
|
|
color: var(--color-sage);
|
|
}
|
|
|
|
.nav-tab.active {
|
|
color: var(--color-sage);
|
|
font-weight: 600;
|
|
border-bottom-color: var(--color-sage);
|
|
}
|
|
|
|
.tab-badge {
|
|
background: var(--color-terracotta);
|
|
color: #fff;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
padding: 2px 7px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
/* Views */
|
|
.view-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 20px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.view-title {
|
|
font-family: var(--font-serif);
|
|
font-size: 20px;
|
|
color: var(--color-text-main);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.view-subtitle {
|
|
font-size: 14px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
/* Stats Row */
|
|
.stats-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
padding: 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 12px;
|
|
color: var(--color-text-muted);
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
/* Queue Grid */
|
|
.queue-meta {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.queue-count-pill {
|
|
display: inline-block;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
background: var(--color-surface-soft);
|
|
color: var(--color-text-muted);
|
|
padding: 4px 10px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.queue-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.queue-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
|
}
|
|
}
|
|
|
|
/* Booking Cards */
|
|
.booking-card {
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
box-shadow: var(--shadow-sm);
|
|
transition:
|
|
transform 0.15s ease,
|
|
box-shadow 0.15s ease;
|
|
}
|
|
|
|
.booking-card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--color-border);
|
|
padding-bottom: 10px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.header-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.folio-tag {
|
|
font-family: var(--font-mono);
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
background: var(--color-surface-soft);
|
|
color: var(--color-text-main);
|
|
padding: 2px 8px;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.client-name {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.client-phone {
|
|
font-size: 13px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.service-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin: 10px 0;
|
|
background: var(--color-bg);
|
|
padding: 10px 12px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.detail-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.detail-label {
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.status-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Status Pills */
|
|
.status-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
padding: 3px 8px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.status-reserved {
|
|
background: var(--color-sage-light);
|
|
color: var(--color-sage);
|
|
}
|
|
.status-completed {
|
|
background: var(--color-surface-soft);
|
|
color: var(--color-text-muted);
|
|
}
|
|
.status-cancelled {
|
|
background: #fee2e2;
|
|
color: #991b1b;
|
|
}
|
|
.status-released {
|
|
background: #fef3c7;
|
|
color: #92400e;
|
|
}
|
|
.status-acknowledged {
|
|
background: var(--color-success-light);
|
|
color: var(--color-success);
|
|
font-weight: 700;
|
|
}
|
|
.status-awaiting {
|
|
background: var(--color-terracotta-light);
|
|
color: var(--color-terracotta);
|
|
font-weight: 700;
|
|
}
|
|
.status-delayed {
|
|
background: var(--color-gold-light);
|
|
color: var(--color-gold);
|
|
font-weight: 700;
|
|
}
|
|
.status-package {
|
|
background: #ede9fe;
|
|
color: #5b21b6;
|
|
}
|
|
|
|
.status-gcal-synced {
|
|
background: #e0f2fe;
|
|
color: #0369a1;
|
|
}
|
|
.status-gcal-failed {
|
|
background: var(--color-danger-light);
|
|
color: var(--color-danger);
|
|
}
|
|
.status-gcal-pending {
|
|
background: #f3f4f6;
|
|
color: #4b5563;
|
|
}
|
|
.status-gcal-none {
|
|
background: #f3f4f6;
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.badge-danger {
|
|
background: var(--color-danger-light);
|
|
color: var(--color-danger);
|
|
}
|
|
.badge-warning {
|
|
background: var(--color-warning-light);
|
|
color: var(--color-warning);
|
|
}
|
|
.badge-info {
|
|
background: var(--color-surface-soft);
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
/* Buttons & Touch Targets */
|
|
.card-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
border-top: 1px solid var(--color-border);
|
|
padding-top: 12px;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 10px 16px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
text-decoration: none;
|
|
min-height: 44px; /* Mobile touch target */
|
|
transition:
|
|
background 0.15s ease,
|
|
transform 0.05s ease;
|
|
}
|
|
|
|
.btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--color-sage);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: var(--color-sage-dark);
|
|
}
|
|
|
|
.btn-whatsapp {
|
|
background-color: #25d366;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.btn-whatsapp:hover {
|
|
background-color: #1ebe5d;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: var(--color-surface);
|
|
border-color: var(--color-border);
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: var(--color-surface-soft);
|
|
}
|
|
|
|
.btn-sm {
|
|
min-height: 44px;
|
|
padding: 8px 14px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.btn-xs {
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
padding: 6px 10px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--color-border);
|
|
background: #fff;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.btn-xs:hover {
|
|
background: var(--color-surface-soft);
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: var(--color-danger);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: #991b1b;
|
|
}
|
|
|
|
.secondary-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.btn-action-delay {
|
|
flex: 1;
|
|
min-height: 44px;
|
|
background: var(--color-gold-light);
|
|
border: 1px solid #fcd34d;
|
|
color: #92400e;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.btn-action-delay:hover {
|
|
background: #fef3c7;
|
|
}
|
|
|
|
.btn-action-release {
|
|
flex: 1;
|
|
min-height: 44px;
|
|
background: var(--color-danger-light);
|
|
border: 1px solid #fca5a5;
|
|
color: var(--color-danger);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.btn-action-release:hover {
|
|
background: #fee2e2;
|
|
}
|
|
|
|
.btn-text {
|
|
background: none;
|
|
border: none;
|
|
font-size: 13px;
|
|
color: var(--color-text-muted);
|
|
cursor: pointer;
|
|
min-height: 44px;
|
|
min-width: 44px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.btn-text:hover {
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.text-danger {
|
|
color: var(--color-danger);
|
|
}
|
|
|
|
/* Timeline & Buffer Visualization */
|
|
.timeline-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.timeline-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.timeline-item {
|
|
flex-direction: row;
|
|
gap: 16px;
|
|
}
|
|
}
|
|
|
|
.timeline-time-col {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 8px;
|
|
align-items: baseline;
|
|
min-width: 120px;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.timeline-time-col {
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
align-items: flex-end;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.time-main {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.time-end {
|
|
font-size: 12px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.duration-badge {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
background: var(--color-surface-soft);
|
|
padding: 2px 6px;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.timeline-card {
|
|
flex: 1;
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.card-body-compact {
|
|
margin: 10px 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.client-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.meta-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 13px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.status-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* Protected Buffer Block */
|
|
.buffer-block {
|
|
background: var(--color-sage-light);
|
|
border-left: 4px solid var(--color-sage);
|
|
border-radius: var(--radius-sm);
|
|
padding: 8px 12px;
|
|
margin-top: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.buffer-badge {
|
|
font-size: 12px;
|
|
color: var(--color-sage-dark);
|
|
}
|
|
|
|
.buffer-hint {
|
|
font-size: 11px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.collision-alert {
|
|
background: var(--color-danger-light);
|
|
color: var(--color-danger);
|
|
border: 1px solid var(--color-danger);
|
|
border-radius: var(--radius-sm);
|
|
padding: 8px 12px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* Modals */
|
|
.modal-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
background-color: rgba(29, 42, 36, 0.5);
|
|
backdrop-filter: blur(3px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
z-index: 1000;
|
|
animation: fadeIn 0.15s ease-out;
|
|
}
|
|
|
|
.modal-card {
|
|
background: var(--color-surface);
|
|
border-radius: var(--radius-lg);
|
|
max-width: 480px;
|
|
width: 100%;
|
|
padding: 24px;
|
|
box-shadow: var(--shadow-lg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
animation: slideUp 0.2s ease-out;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.modal-kicker {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--color-sage);
|
|
}
|
|
|
|
.modal-title {
|
|
font-family: var(--font-serif);
|
|
font-size: 18px;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.modal-close-btn {
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
color: var(--color-text-muted);
|
|
cursor: pointer;
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--radius-sm);
|
|
padding: 0;
|
|
transition:
|
|
background 0.15s ease,
|
|
color 0.15s ease;
|
|
}
|
|
|
|
.modal-close-btn:hover {
|
|
color: var(--color-text-main);
|
|
background: var(--color-surface-soft);
|
|
}
|
|
|
|
.summary-box {
|
|
background: var(--color-surface-soft);
|
|
border-radius: var(--radius-md);
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.summary-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.summary-label {
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.form-label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.form-input,
|
|
.form-select {
|
|
padding: 10px 12px;
|
|
font-size: 15px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
background: #fff;
|
|
color: var(--color-text-main);
|
|
min-height: 44px;
|
|
}
|
|
|
|
.form-input:focus,
|
|
.form-select:focus {
|
|
outline: none;
|
|
border-color: var(--color-border-focus);
|
|
box-shadow: 0 0 0 3px rgba(45, 90, 70, 0.15);
|
|
}
|
|
|
|
.payment-method-selector {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
}
|
|
|
|
.method-option {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 10px 8px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
background: #fff;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.method-option:has(input:checked) {
|
|
border-color: var(--color-sage);
|
|
background: var(--color-sage-light);
|
|
color: var(--color-sage-dark);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.modal-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.modal-error-box {
|
|
background: var(--color-danger-light);
|
|
color: var(--color-danger);
|
|
padding: 8px 12px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Tables */
|
|
.table-container {
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.filter-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.filter-label {
|
|
font-size: 13px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.bookings-table-wrapper {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.bookings-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
text-align: left;
|
|
}
|
|
|
|
.bookings-table th {
|
|
background: var(--color-surface-soft);
|
|
padding: 10px 14px;
|
|
font-weight: 600;
|
|
color: var(--color-text-muted);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.bookings-table td {
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.bookings-table tr:hover td {
|
|
background: var(--color-bg);
|
|
}
|
|
|
|
/* 5-State Resilient UI Helpers */
|
|
.loading-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.skeleton-card {
|
|
height: 160px;
|
|
background: linear-gradient(90deg, #efece6 25%, #e5e0d8 50%, #efece6 75%);
|
|
background-size: 200% 100%;
|
|
border-radius: var(--radius-lg);
|
|
animation: pulseSkeleton 1.5s infinite;
|
|
}
|
|
|
|
@keyframes pulseSkeleton {
|
|
0% {
|
|
background-position: 200% 0;
|
|
}
|
|
100% {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
.empty-state,
|
|
.error-state {
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.empty-icon,
|
|
.error-icon {
|
|
font-size: 36px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.empty-title,
|
|
.error-title {
|
|
font-family: var(--font-serif);
|
|
font-size: 18px;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.empty-desc,
|
|
.error-desc {
|
|
font-size: 14px;
|
|
color: var(--color-text-muted);
|
|
max-width: 400px;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
transform: translateY(12px);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Toast Notification System
|
|
========================================================================== */
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 16px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 9999;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
width: calc(100% - 32px);
|
|
max-width: 480px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast-item {
|
|
pointer-events: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
border-radius: var(--radius-md);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
opacity: 0;
|
|
transform: translateY(-12px);
|
|
transition:
|
|
opacity 0.25s ease,
|
|
transform 0.25s ease;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.toast-item.toast-visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.toast-item.toast-leaving {
|
|
opacity: 0;
|
|
transform: translateY(-12px);
|
|
}
|
|
|
|
.toast-icon {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.toast-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.toast-folio {
|
|
display: inline-block;
|
|
font-family: var(--font-mono);
|
|
font-weight: 700;
|
|
font-size: 12px;
|
|
background: rgba(255, 255, 255, 0.25);
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.toast-message {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.toast-close-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #ffffff;
|
|
font-size: 22px;
|
|
cursor: pointer;
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--radius-sm);
|
|
padding: 0;
|
|
margin-right: -6px;
|
|
opacity: 0.8;
|
|
transition: opacity 0.15s ease;
|
|
}
|
|
|
|
.toast-close-btn:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.toast-success {
|
|
background-color: var(--color-success);
|
|
}
|
|
|
|
.toast-warning {
|
|
background-color: var(--color-warning);
|
|
}
|
|
|
|
.toast-error {
|
|
background-color: var(--color-danger);
|
|
}
|
|
|
|
.toast-info {
|
|
background-color: var(--color-sage-dark);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
MicroModal Extensions & Warning Box
|
|
========================================================================== */
|
|
.modal-form-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.form-textarea {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
background: #fff;
|
|
color: var(--color-text-main);
|
|
line-height: 1.5;
|
|
resize: vertical;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.form-textarea:focus {
|
|
outline: none;
|
|
border-color: var(--color-border-focus);
|
|
box-shadow: 0 0 0 3px rgba(45, 90, 70, 0.15);
|
|
}
|
|
|
|
.reassuring-warning-box {
|
|
background-color: #fff1f2;
|
|
border: 1px solid #fecdd3;
|
|
color: #9f1239;
|
|
padding: 12px 14px;
|
|
border-radius: var(--radius-md);
|
|
font-size: 13.5px;
|
|
line-height: 1.5;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.modal-message-box {
|
|
background-color: var(--color-surface-soft);
|
|
padding: 12px 14px;
|
|
border-radius: var(--radius-md);
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.modal-subtitle-text {
|
|
font-size: 13px;
|
|
color: var(--color-text-muted);
|
|
margin-bottom: 12px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Agenda Date Navigation & Filter Pills
|
|
========================================================================== */
|
|
.agenda-nav-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.date-filter-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.btn-filter-pill {
|
|
min-height: 44px;
|
|
min-width: 44px;
|
|
padding: 8px 16px;
|
|
border-radius: 999px;
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--color-text-muted);
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.btn-filter-pill:hover {
|
|
border-color: var(--color-sage);
|
|
color: var(--color-sage);
|
|
background: var(--color-surface-soft);
|
|
}
|
|
|
|
.btn-filter-pill.active {
|
|
background: var(--color-sage);
|
|
border-color: var(--color-sage);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.custom-date-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.date-picker-label {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--color-text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.form-input-date {
|
|
min-height: 44px;
|
|
padding: 8px 12px;
|
|
font-size: 13px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
background: #ffffff;
|
|
color: var(--color-text-main);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-input-date:focus {
|
|
outline: none;
|
|
border-color: var(--color-border-focus);
|
|
box-shadow: 0 0 0 3px rgba(45, 90, 70, 0.15);
|
|
}
|
|
|
|
.filter-indicator-banner {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: var(--color-sage-light);
|
|
color: var(--color-sage-dark);
|
|
font-size: 13px;
|
|
padding: 10px 14px;
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: 16px;
|
|
border: 1px solid rgba(45, 90, 70, 0.15);
|
|
gap: 8px;
|
|
}
|
|
|
|
.indicator-count {
|
|
background: var(--color-surface);
|
|
color: var(--color-sage-dark);
|
|
font-weight: 700;
|
|
padding: 3px 9px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
border: 1px solid rgba(45, 90, 70, 0.2);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Refined Collision Warnings with Visual Time Markers
|
|
========================================================================== */
|
|
.collision-alert {
|
|
margin-top: 14px;
|
|
padding: 14px 16px;
|
|
border-radius: var(--radius-md);
|
|
border-left: 5px solid;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.collision-warning {
|
|
background: #fffbeb;
|
|
border-left-color: var(--color-warning);
|
|
color: #92400e;
|
|
}
|
|
|
|
.collision-critical {
|
|
background: #fef2f2;
|
|
border-left-color: var(--color-danger);
|
|
color: #991b1b;
|
|
}
|
|
|
|
.collision-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.collision-icon {
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.collision-title {
|
|
font-size: 13.5px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.collision-deficit-pill {
|
|
background: rgba(0, 0, 0, 0.08);
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.collision-markers {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.marker-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 10px;
|
|
background: #ffffff;
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.marker-chip-label {
|
|
color: #4b5563;
|
|
}
|
|
|
|
.marker-buffer {
|
|
background: #f0fdf4;
|
|
border-color: #86efac;
|
|
color: #166534;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.marker-conflict {
|
|
background: #fee2e2;
|
|
border-color: #fca5a5;
|
|
color: #991b1b;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.collision-explainer {
|
|
font-size: 13px;
|
|
line-height: 1.4;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Intake Modal & Autocomplete Combobox
|
|
========================================================================== */
|
|
.modal-card-lg {
|
|
max-width: 620px;
|
|
}
|
|
|
|
.client-combobox-group {
|
|
position: relative;
|
|
}
|
|
|
|
.combobox-label-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.client-type-badge {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.badge-new {
|
|
background: var(--color-gold-light);
|
|
color: var(--color-gold);
|
|
border: 1px solid rgba(184, 134, 11, 0.25);
|
|
}
|
|
|
|
.badge-existing {
|
|
background: var(--color-success-light);
|
|
color: var(--color-success);
|
|
border: 1px solid rgba(30, 126, 78, 0.25);
|
|
}
|
|
|
|
.combobox-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.combobox-input-container {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.combobox-icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
color: var(--color-text-muted);
|
|
pointer-events: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.combobox-input {
|
|
padding-left: 36px;
|
|
padding-right: 36px;
|
|
}
|
|
|
|
.btn-clear-input {
|
|
position: absolute;
|
|
right: 8px;
|
|
background: none;
|
|
border: none;
|
|
font-size: 18px;
|
|
color: var(--color-text-muted);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 36px;
|
|
min-height: 36px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.btn-clear-input:hover {
|
|
color: var(--color-text-main);
|
|
background: var(--color-surface-soft);
|
|
}
|
|
|
|
.combobox-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
margin-top: 4px;
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-lg);
|
|
max-height: 220px;
|
|
overflow-y: auto;
|
|
z-index: 100;
|
|
}
|
|
|
|
.combobox-item {
|
|
padding: 10px 14px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid var(--color-border);
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.combobox-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.combobox-item:hover,
|
|
.combobox-item:focus {
|
|
background: var(--color-sage-light);
|
|
}
|
|
|
|
.combobox-meta {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.combobox-empty {
|
|
padding: 12px 14px;
|
|
font-size: 13px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.client-fields-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
@media (min-width: 580px) {
|
|
.client-fields-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
.datetime-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
@media (min-width: 580px) {
|
|
.datetime-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
.form-subgroup {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.form-sublabel {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.service-preview-hint {
|
|
background: var(--color-sage-light);
|
|
color: var(--color-sage-dark);
|
|
padding: 6px 10px;
|
|
border-radius: var(--radius-sm);
|
|
margin-top: 6px;
|
|
border: 1px solid rgba(45, 90, 70, 0.15);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Agenda Card Lifecycle Actions (Mover & Concluir)
|
|
========================================================================== */
|
|
.agenda-card-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
padding-top: 10px;
|
|
border-top: 1px dashed var(--color-border);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn-outline-success {
|
|
background: transparent;
|
|
color: var(--color-success);
|
|
border: 1px solid var(--color-success);
|
|
}
|
|
|
|
.btn-outline-success:hover {
|
|
background: var(--color-success-light);
|
|
border-color: var(--color-success);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Client Directory View
|
|
========================================================================== */
|
|
.directory-search-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.search-input-group {
|
|
position: relative;
|
|
flex: 1;
|
|
min-width: 260px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.directory-search-input {
|
|
padding-left: 36px;
|
|
padding-right: 36px;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.search-icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
font-size: 14px;
|
|
color: var(--color-text-muted);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.clients-counter-pill {
|
|
font-weight: 500;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.clients-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.clients-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
.client-card {
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
padding: 18px;
|
|
box-shadow: var(--shadow-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.client-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.client-card-name {
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
color: var(--color-sage-dark);
|
|
}
|
|
|
|
.client-registered-date {
|
|
display: block;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.client-card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.client-contact-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.client-email-badge {
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.packages-tags-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.package-pill {
|
|
display: inline-block;
|
|
background: var(--color-gold-light);
|
|
color: var(--color-gold);
|
|
border: 1px solid rgba(184, 134, 11, 0.3);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
padding: 3px 8px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.client-notes-box {
|
|
background: var(--color-surface-soft);
|
|
padding: 8px 12px;
|
|
border-radius: var(--radius-sm);
|
|
border-left: 3px solid var(--color-sage);
|
|
}
|
|
|
|
.notes-kicker {
|
|
color: var(--color-sage-dark);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
display: block;
|
|
}
|
|
|
|
.notes-content {
|
|
color: var(--color-text-main);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.client-notes-empty {
|
|
font-style: italic;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Sticky Mobile Navigation Bar & Mobile Ergonomics
|
|
========================================================================== */
|
|
.mobile-sticky-nav {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.app-container {
|
|
padding-bottom: 84px; /* Clearance for sticky bottom nav */
|
|
}
|
|
|
|
.nav-tabs {
|
|
display: none; /* Replaced by sticky mobile nav on narrow screens */
|
|
}
|
|
|
|
.mobile-sticky-nav {
|
|
display: flex;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: #ffffff;
|
|
border-top: 1px solid var(--color-border);
|
|
box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
|
|
z-index: 1000;
|
|
padding: 4px 8px;
|
|
padding-bottom: max(6px, env(safe-area-inset-bottom));
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
|
|
.mobile-nav-item {
|
|
position: relative;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
min-height: 52px;
|
|
min-width: 44px;
|
|
padding: 6px 4px;
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-text-muted);
|
|
cursor: pointer;
|
|
border-radius: var(--radius-sm);
|
|
transition: all 0.15s ease;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
.mobile-nav-item.active {
|
|
color: var(--color-sage);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.mobile-nav-icon {
|
|
font-size: 20px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mobile-nav-label {
|
|
font-size: 11px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.tab-badge-mobile {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: calc(50% - 22px);
|
|
font-size: 10px;
|
|
padding: 1px 5px;
|
|
}
|
|
|
|
.agenda-nav-bar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.date-filter-group {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 4px;
|
|
}
|
|
|
|
.btn-filter-pill {
|
|
padding: 8px 4px;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.custom-date-container {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.form-input-date {
|
|
flex: 1;
|
|
}
|
|
|
|
.stats-row {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Workshop Roster Quick Check-in (#rosters)
|
|
========================================================================== */
|
|
|
|
.roster-nav-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.roster-content-area {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
/* Skeleton Loading State */
|
|
.roster-skeleton-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.skeleton-card {
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.skeleton-line {
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--color-surface-soft) 25%,
|
|
#ebe7df 50%,
|
|
var(--color-surface-soft) 75%
|
|
);
|
|
background-size: 200% 100%;
|
|
animation: skeleton-pulse 1.5s ease-in-out infinite;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
@keyframes skeleton-pulse {
|
|
0% {
|
|
background-position: 200% 0;
|
|
}
|
|
100% {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
.skeleton-title {
|
|
width: 45%;
|
|
height: 24px;
|
|
}
|
|
|
|
.skeleton-meta {
|
|
width: 25%;
|
|
height: 18px;
|
|
}
|
|
|
|
.skeleton-table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.skeleton-row {
|
|
width: 100%;
|
|
height: 48px;
|
|
}
|
|
|
|
/* Empty & Error States */
|
|
.roster-empty-state {
|
|
background: var(--color-surface);
|
|
border: 1px dashed var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
padding: 48px 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.roster-error-state {
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-danger-light);
|
|
border-radius: var(--radius-md);
|
|
padding: 24px;
|
|
}
|
|
|
|
.error-box-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.error-icon {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.error-content {
|
|
flex: 1;
|
|
min-width: 220px;
|
|
}
|
|
|
|
.error-banner-message {
|
|
color: var(--color-danger);
|
|
font-size: 14px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Session Card */
|
|
.roster-session-card {
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-sm);
|
|
overflow: hidden;
|
|
transition: box-shadow 0.2s ease;
|
|
}
|
|
|
|
.roster-session-card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.session-card-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px 20px;
|
|
background: var(--color-surface);
|
|
border-bottom: 1px solid var(--color-border);
|
|
gap: 12px;
|
|
}
|
|
|
|
.session-title-block {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.session-time-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
padding: 4px 10px;
|
|
background: var(--color-sage-light);
|
|
color: var(--color-sage-dark);
|
|
border-radius: 9999px;
|
|
border: 1px solid rgba(45, 90, 70, 0.2);
|
|
}
|
|
|
|
.session-title {
|
|
font-family: var(--font-serif);
|
|
font-size: 19px;
|
|
font-weight: 600;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.session-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.session-capacity-counter {
|
|
font-size: 13px;
|
|
padding: 6px 12px;
|
|
background: var(--color-surface-soft);
|
|
color: var(--color-text-main);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
/* Attendees Table / Rows */
|
|
.session-attendees-container {
|
|
padding: 0;
|
|
}
|
|
|
|
.attendees-empty-notice {
|
|
padding: 32px 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.roster-attendees-table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.roster-attendee-row {
|
|
display: grid;
|
|
grid-template-columns: 2fr 2fr 1.6fr 2.4fr;
|
|
align-items: center;
|
|
padding: 14px 20px;
|
|
border-bottom: 1px solid var(--color-border);
|
|
gap: 16px;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.roster-attendee-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.roster-attendee-row:hover {
|
|
background-color: #faf9f6;
|
|
}
|
|
|
|
.roster-attendee-row.row-attended {
|
|
background-color: rgba(30, 126, 78, 0.04);
|
|
}
|
|
|
|
.attendee-col-client {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.attendee-name {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.attendee-code {
|
|
font-size: 11px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.attendee-col-phone {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.attendee-phone-text {
|
|
font-size: 13px;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.btn-wa-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: #128c7e;
|
|
text-decoration: none;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
min-height: 24px;
|
|
}
|
|
|
|
.btn-wa-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.attendee-col-badges {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.attendee-col-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
|
|
.checkin-action-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.cash-toggle-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
padding: 4px 0;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.cash-checkbox {
|
|
width: 18px;
|
|
height: 18px;
|
|
accent-color: var(--color-sage);
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Status Badges Mapping per Section 2.2 */
|
|
.status-roster-registered {
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
border: 1px solid #cbd5e1;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.status-roster-attended {
|
|
background: var(--color-success-light);
|
|
color: var(--color-success);
|
|
border: 1px solid rgba(30, 126, 78, 0.25);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.status-roster-paid {
|
|
background: var(--color-success-light);
|
|
color: var(--color-success);
|
|
border: 1px solid rgba(30, 126, 78, 0.25);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.status-roster-pending {
|
|
background: var(--color-warning-light);
|
|
color: var(--color-warning);
|
|
border: 1px solid rgba(217, 119, 6, 0.3);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
/* Touch Targets & Keyboard Accessibility */
|
|
.btn-checkin,
|
|
.btn-walkin,
|
|
.btn-filter-pill,
|
|
.toast-close-btn {
|
|
min-height: 44px;
|
|
min-width: 44px;
|
|
}
|
|
|
|
.cash-toggle-label,
|
|
.form-checkbox-label {
|
|
min-height: 44px;
|
|
}
|
|
|
|
button:focus-visible,
|
|
input:focus-visible,
|
|
a:focus-visible {
|
|
outline: 2px solid var(--color-sage);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Responsive Overrides (Mobile 375px) */
|
|
@media (max-width: 768px) {
|
|
.roster-nav-bar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.session-card-header {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 12px;
|
|
padding: 14px;
|
|
}
|
|
|
|
.session-header-actions {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 8px;
|
|
}
|
|
|
|
.session-capacity-counter {
|
|
text-align: center;
|
|
}
|
|
|
|
.btn-walkin {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.roster-attendee-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
padding: 14px;
|
|
}
|
|
|
|
.attendee-col-client {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.attendee-col-phone {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.attendee-col-badges {
|
|
justify-content: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
.attendee-col-actions {
|
|
width: 100%;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.checkin-action-group {
|
|
width: 100%;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 8px;
|
|
}
|
|
|
|
.cash-toggle-label {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.btn-checkin {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
}
|