/* Floor Plan Manager Styles */
.floor-plan-manager-container {
    padding: 8px;
    width: 100%;
    max-width: none;
    margin: 0;
    flex: 1;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-primary, #f8fafc);
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--bg-primary);
    gap: 16px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-container p {
    color: var(--text-muted);
    font-size: 14px;
}

.floor-plan-manager-container > .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -8px -8px 8px -8px;
    padding: 16px 24px;
    background: var(--bg-secondary, #1a1a24);
    border-radius: 0;
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    box-shadow: none;
    flex-shrink: 0;
}

.floor-plan-manager-container > .page-header .page-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.floor-plan-manager-container > .page-header .page-header-icon {
    color: var(--accent-primary, var(--brand-primary));
    flex-shrink: 0;
    font-size: 28px;
    line-height: 1;
}

.floor-plan-manager-container > .page-header .page-header-content h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary, #1a1a2e);
    margin: 0;
}

.floor-plan-manager-container > .page-header .page-header-content p {
    display: none;
}

.page-header-actions {
    display: flex;
    gap: 12px;
}

/* ===== Floor Tabs ===== */
.floor-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    padding: 6px;
    background: var(--bg-card, white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm, 0 2px 10px rgba(0, 0, 0, 0.05));
    flex-shrink: 0;
    overflow-x: auto;
}

.floor-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.floor-tab:hover {
    background: var(--bg-tertiary, #f1f5f9);
    color: var(--accent-primary, var(--brand-primary));
}

.floor-tab.active {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    box-shadow: 0 4px 12px var(--brand-shadow);
}

.floor-tab-name {
    flex-shrink: 0;
}

.floor-tab-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-muted);
    padding: 1px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.floor-tab.active .floor-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.floor-tab-actions {
    display: flex;
    gap: 2px;
    margin-left: 4px;
}

.floor-tab-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.15s;
    padding: 0;
}

.floor-tab-action:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.floor-tab-action.danger:hover {
    background: rgba(239, 68, 68, 0.8);
    color: white;
}

/* ===== Floor Plan Editor ===== */
.floor-plan-editor {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ===== Unified Toolbar ===== */
.editor-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: visible;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.08));
}

.toolbar-primary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--bg-card, white);
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 8px 8px 0 0;
}

.toolbar-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.floor-plan-editor .toolbar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-card, white);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #334155);
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.floor-plan-editor .toolbar-btn svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.floor-plan-editor .toolbar-btn span {
    flex-shrink: 0;
    overflow: visible;
}

.floor-plan-editor .toolbar-btn:hover {
    background: var(--bg-tertiary, #f8fafc);
    border-color: var(--accent-primary, var(--brand-primary));
    color: var(--accent-primary, var(--brand-primary));
}

.floor-plan-editor .toolbar-btn.active {
    background: var(--accent-primary, var(--brand-primary));
    border-color: var(--accent-primary, var(--brand-primary));
    color: white;
}

.toolbar-floor-info {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Add Mode Banner */
.add-mode-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(99, 102, 241, 0.08);
    border-left: 3px solid var(--accent-primary, var(--brand-primary));
    color: var(--accent-primary, var(--brand-primary));
    font-size: 13px;
    font-weight: 600;
    animation: bannerSlideDown 0.2s ease-out;
}

.add-mode-banner svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.add-mode-cancel {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--accent-primary, var(--brand-primary));
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s, background 0.2s;
}

.add-mode-cancel:hover {
    opacity: 1;
    background: rgba(99, 102, 241, 0.1);
}

@keyframes bannerSlideDown {
    from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
    to { opacity: 1; max-height: 60px; }
}

/* Context Bar */
.context-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: var(--bg-secondary, #1a1a24);
    border-top: 1px solid var(--border-color);
    gap: 12px;
    animation: bannerSlideDown 0.15s ease-out;
}

.context-bar-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary);
}

.context-bar-info svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.context-element-name {
    font-weight: 700;
}

.context-element-detail {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
}

.context-bar-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.context-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.context-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.context-btn.danger {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.context-btn.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.context-btn.muted {
    padding: 6px;
    border: none;
    color: var(--text-muted);
}

.context-btn.muted:hover {
    color: var(--text-primary);
    background: var(--bg-hover, rgba(255,255,255,0.05));
}

/* ===== Canvas ===== */
.floor-plan-canvas-container {
    background: var(--bg-card, white);
    border-radius: 8px;
    box-shadow: var(--shadow-card, 0 4px 20px rgba(0, 0, 0, 0.08));
    overflow: hidden;
    flex: 1;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floor-plan-canvas {
    position: relative;
    background-color: var(--bg-tertiary, #f8fafc);
    background-image: radial-gradient(circle, rgba(148, 163, 184, 0.35) 1px, transparent 1px);
    background-size: 30px 30px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
    user-select: none;
    cursor: crosshair;
    flex-shrink: 0;
    touch-action: none;
}

/* ===== Dining Area Styles ===== */
.dining-area-element {
    position: absolute;
    cursor: move;
    transition: box-shadow 0.2s ease;
    user-select: none;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.dining-area-element:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.dining-area-element.selected {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5), 0 8px 24px rgba(99, 102, 241, 0.2);
    border-width: 2px !important;
    border-color: var(--accent-primary, var(--brand-primary)) !important;
    z-index: 15;
}

/* Area Label Chip */
.area-label-chip {
    pointer-events: none;
    font-weight: 700;
    font-size: 14px;
    color: var(--area-color, #4A90E2);
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 12px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.2px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-theme="light"] .area-label-chip {
    background: rgba(255, 255, 255, 0.88);
}

/* ===== Pool Preview inside editor (matches BarPool POS look) ===== */
.pool-preview {
    position: absolute;
    bottom: 4px;
    background: repeating-conic-gradient(rgba(193, 154, 107, 0.05) 0% 25%, transparent 0% 50%) 0 0 / 20px 20px;
    border: 2px dashed rgba(217, 119, 6, 0.4);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 0;
}

.pool-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: rgba(217, 119, 6, 0.08);
    border-bottom: 1px dashed rgba(217, 119, 6, 0.3);
}

.pool-preview-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #d97706;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pool-preview-title svg {
    stroke: #d97706;
}

.pool-preview-canvas {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pool-preview-empty {
    color: rgba(217, 119, 6, 0.4);
    font-size: 11px;
    font-style: italic;
}

.pool-preview.pool-selected {
    border-color: rgba(217, 119, 6, 0.8);
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.25);
}

.pool-resize-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #d97706;
    border: 2px solid white;
    border-radius: 50%;
    z-index: 25;
    pointer-events: auto;
    touch-action: none;
}

.pool-resize-handle.ne {
    top: -7px;
    right: -7px;
    cursor: ne-resize;
}

.pool-resize-handle.nw {
    top: -7px;
    left: -7px;
    cursor: nw-resize;
}

/* ===== Resize Handles ===== */
.resize-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--accent-primary, var(--brand-primary));
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.15s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.resize-handle:hover {
    width: 18px;
    height: 18px;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.5);
    transform: scale(1.1);
}

.resize-handle.nw { top: -7px; left: -7px; cursor: nw-resize; }
.resize-handle.ne { top: -7px; right: -7px; cursor: ne-resize; }
.resize-handle.sw { bottom: -7px; left: -7px; cursor: sw-resize; }
.resize-handle.se { bottom: -7px; right: -7px; cursor: se-resize; }

/* ===== Table Styles ===== */
.table-element {
    position: absolute;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    background: linear-gradient(145deg, #2a2a3a 0%, #1e1e30 60%, #252540 100%);
    border: 2px solid var(--accent-primary, var(--brand-primary));
    font-weight: 700;
    font-size: 16px;
    color: #e2e8f0;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 2px 8px var(--brand-primary-light);
}

[data-theme="light"] .table-element {
    background: linear-gradient(145deg, #ffffff 0%, #eef2ff 60%, #e0e7ff 100%);
    color: #1e293b;
}

.table-element:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.25);
}

.table-element.selected {
    border-color: var(--accent-primary, var(--brand-primary));
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35), 0 6px 20px var(--brand-shadow);
    animation: tableSelectedPulse 2s ease-in-out infinite;
}

@keyframes tableSelectedPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35), 0 6px 20px var(--brand-shadow); }
    50% { box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.2), 0 6px 20px var(--brand-shadow); }
}

.table-capacity-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    letter-spacing: 0.3px;
    line-height: 1;
    pointer-events: none;
}

/* Table shape rendering */
.table-rectangle { border-radius: 6px; }
.table-round { border-radius: 50%; }
.table-square { border-radius: 4px; }
.table-oval { border-radius: 50%; }

.table-number {
    pointer-events: none;
    line-height: 1;
}

/* ===== Dragging States ===== */
.dining-area-element.dragging,
.table-element.dragging {
    opacity: 0.85;
    transform: scale(1.02);
    z-index: 1000;
    cursor: grabbing !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.2s ease;
}

.dining-area-element.drag-valid {
    border: 2px solid var(--success, #22c55e) !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.dining-area-element.drag-invalid {
    border: 2px solid var(--danger, #ef4444) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.dining-area-element.overlap-target {
    background-color: rgba(239, 68, 68, 0.1) !important;
    border-color: var(--danger) !important;
}

.table-element.drag-preview {
    opacity: 0.6;
    cursor: grabbing !important;
    transition: none;
}

.dining-area-element.snapping,
.table-element.snapping {
    transition: left 0.15s ease-out, top 0.15s ease-out;
}

/* ===== Empty States ===== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background: var(--bg-card, white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-state svg {
    color: var(--text-muted, #cbd5e1);
    margin-bottom: 24px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 18px;
    color: var(--text-muted, #64748b);
    margin-bottom: 24px;
    font-weight: 500;
}

.canvas-empty-state {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    pointer-events: none;
    color: var(--text-muted, #94a3b8);
}

.canvas-empty-state p {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-secondary, #64748b);
}

.canvas-empty-state small {
    font-size: 13px;
    opacity: 0.7;
    max-width: 300px;
}

/* ===== Modal Styles ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog {
    position: relative;
    z-index: 1001;
    background: var(--bg-card, #1a1a2e);
    border-radius: 20px;
    width: 90%;
    max-width: 560px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.confirm-dialog {
    max-width: 420px;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-bottom: none;
}

.modal-header.danger-header {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px 28px;
    background: var(--bg-secondary, #1e1e2a);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px 28px;
    background: var(--bg-card, #1a1a2e);
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.confirm-message {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Form Styles ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 10px;
    font-size: 15px;
    background: var(--bg-input, rgba(255, 255, 255, 0.05));
    color: var(--text-primary, #ffffff);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary, var(--brand-primary));
    background: var(--bg-tertiary, #252530);
    box-shadow: 0 0 0 4px var(--brand-primary-light);
}

.form-group input::placeholder {
    color: var(--text-muted, rgba(255, 255, 255, 0.5));
}

.form-group input[type="color"] {
    height: 52px;
    cursor: pointer;
    padding: 6px;
}

.form-group input[type="number"] {
    -moz-appearance: textfield;
}

.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ===== Button Styles ===== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--brand-shadow);
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background: #d1d5db;
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .floor-tabs {
        overflow-x: auto;
    }

    .toolbar-primary {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .floor-plan-editor .toolbar-btn {
        flex: 1;
        justify-content: center;
        min-width: 130px;
    }

    .context-bar {
        flex-direction: column;
        gap: 8px;
    }

    .context-bar-actions {
        justify-content: flex-end;
        width: 100%;
    }

    .floor-tab-actions {
        display: none;
    }

    .toolbar-floor-info {
        text-align: center;
    }

    .floor-plan-canvas-container {
        overflow: hidden;
    }

    .floor-plan-canvas {
        min-width: 600px;
        min-height: 400px;
    }
}

/* ===== Light Theme Overrides ===== */
[data-theme="light"] .modal-dialog {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modal-body {
    background: #f9fafb;
}

[data-theme="light"] .modal-footer {
    background: #ffffff;
    border-top-color: #e5e7eb;
}

[data-theme="light"] .form-group label {
    color: #1e293b;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #1e293b;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus {
    background: #f9fafb;
    border-color: var(--brand-primary);
}

[data-theme="light"] .form-group input::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .context-bar {
    background: #f1f5f9;
    border-top-color: #e2e8f0;
}

