/* Compact Module Interfaces */

/* Common Styles */
.module-interface input, .module-interface select {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 12px;
    font-family: inherit;
}

.module-interface button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
}

.module-interface button.secondary {
    background: #6b7280;
}

/* Inventory Interface */
.inventory-search {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.inventory-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inventory-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 12px;
}

.inventory-item.selected {
    background: rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}

.item-name {
    font-weight: 500;
    color: #111827;
}

.item-sku {
    color: #6b7280;
    font-size: 11px;
}

.item-stock.low .stock-number {
    color: #ef4444;
    font-weight: bold;
}

.item-price {
    margin-left: auto;
    font-weight: 500;
    color: #111827;
}

.reorder-btn, .edit-btn {
    padding: 3px 6px;
    font-size: 10px;
    margin-left: 6px;
}

.edit-btn {
    background: #6b7280;
}

/* Customer Interface */
.customer-header {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.customer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.customer-row.selected {
    background: rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}

.customer-avatar {
    font-size: 24px;
    color: #2563eb;
}

.customer-details {
    flex: 1;
}

.customer-name {
    font-weight: 600;
    color: #111827;
    font-size: 13px;
}

.customer-email {
    color: #6b7280;
    font-size: 11px;
}

.customer-phone {
    color: #6b7280;
    font-size: 11px;
}

.customer-metrics {
    display: flex;
    gap: 16px;
    text-align: center;
}

.metric-label {
    color: #6b7280;
    font-size: 10px;
}

.metric-value {
    font-weight: 600;
    color: #111827;
    font-size: 12px;
}

.loyalty-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

.view-btn {
    background: #6b7280;
    padding: 4px 8px;
    font-size: 10px;
    margin-left: 8px;
}

/* Analytics Interface */
.analytics-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.analytics-metrics-grid {
    display: flex;
    gap: 8px;
}

.metric-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    flex: 1;
    text-align: center;
}

.metric-card.revenue {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.metric-card.orders {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.metric-title {
    color: #6b7280;
    font-size: 11px;
    font-weight: 500;
}

.metric-value {
    color: #111827;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.metric-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 10px;
    color: #10b981;
}

/* Staff Interface */
.staff-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.date-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-nav {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: #6b7280;
}

.current-date {
    font-weight: 500;
    color: #111827;
    font-size: 12px;
}

.staff-shifts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.staff-shift {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.staff-shift.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    border-left: 3px solid #10b981;
}

.staff-name {
    font-weight: 500;
    color: #111827;
    font-size: 12px;
}

.shift-time {
    color: #6b7280;
    font-size: 11px;
}

.shift-status {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
}

.shift-status.working {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.shift-status.scheduled {
    background: rgba(37, 99, 235, 0.2);
    color: #2563eb;
}

/* Accounting Interface */
.accounting-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.tab-item {
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab-item.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 500;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    position: relative;
}

.transaction-item.income::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #10b981;
}

.transaction-item.expense::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ef4444;
}

.transaction-desc {
    font-weight: 500;
    color: #111827;
    font-size: 12px;
}

.transaction-date {
    color: #6b7280;
    font-size: 10px;
}

.transaction-amount {
    margin-left: auto;
    font-weight: 600;
    font-size: 12px;
}

.transaction-amount.positive {
    color: #10b981;
}

.transaction-amount.negative {
    color: #ef4444;
}

.status-badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    margin-left: 8px;
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.accounting-summary {
    padding: 8px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 4px;
    text-align: center;
    font-size: 12px;
}

.net-positive {
    color: #10b981;
    font-weight: bold;
}

/* Multi-Location Simple Interface */
.location-simple {
    font-size: 12px;
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.location-count {
    font-weight: 600;
    color: #111827;
}

.total-sales {
    font-weight: 600;
    color: #10b981;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.location-item.top {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.location-name {
    font-weight: 500;
    color: #111827;
    flex: 1;
}

.location-sales {
    font-weight: 600;
    color: #111827;
    margin-right: 8px;
}

.location-badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
}

.location-badge.best {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.location-badge.active {
    background: rgba(37, 99, 235, 0.2);
    color: #2563eb;
}

/* Supplier Management Simple Interface */
.supplier-simple {
    font-size: 12px;
}

.supplier-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.supplier-count {
    font-weight: 600;
    color: #111827;
}

.monthly-spend {
    font-weight: 600;
    color: #6b7280;
}

.recent-orders {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.order-item.arriving {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    border-left: 3px solid #10b981;
}

.order-item.alert {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    border-left: 3px solid #ef4444;
}

.order-info {
    flex: 1;
}

.supplier-name {
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
}

.order-details {
    color: #6b7280;
    font-size: 11px;
}

.order-amount {
    font-weight: 600;
    color: #111827;
}

/* E-commerce Integration Simple Interface */
.ecommerce-simple {
    font-size: 12px;
}

.ecommerce-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.total-channels {
    font-weight: 600;
    color: #111827;
}

.total-revenue {
    font-weight: 600;
    color: #10b981;
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.channel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.channel-row.top {
    background: rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
    border-left: 3px solid #2563eb;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.platform-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.channel-details {
    flex: 1;
}

.platform-name {
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
}

.sync-time {
    color: #6b7280;
    font-size: 10px;
}

.channel-revenue {
    font-weight: 600;
    color: #111827;
    margin-right: 8px;
}

.sync-badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
}

.sync-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.sync-badge.syncing {
    background: rgba(37, 99, 235, 0.2);
    color: #2563eb;
}

/* Advanced Analytics Simple Interface */
.analytics-simple {
    font-size: 12px;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.period-selector {
    font-weight: 600;
    color: #111827;
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.growth-indicator {
    font-weight: 600;
    color: #10b981;
    font-size: 11px;
}

.metrics-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.metric-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.metric-box.revenue {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.metric-box.orders {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-color: rgba(37, 99, 235, 0.3);
}

.metric-icon {
    font-size: 16px;
}

.metric-data {
    flex: 1;
}

.metric-title {
    color: #6b7280;
    font-size: 10px;
    margin-bottom: 2px;
}

.metric-value {
    font-weight: 600;
    color: #111827;
    font-size: 13px;
}

.metric-trend {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 3px;
}

.metric-trend.up {
    color: #10b981;
    background: rgba(16, 185, 129, 0.2);
}

.mini-chart {
    text-align: center;
}

.chart-title {
    color: #6b7280;
    font-size: 10px;
    margin-bottom: 6px;
}

.line-chart {
    background: rgba(16, 185, 129, 0.05);
    border-radius: 4px;
    padding: 4px;
}

/* Staff Management Simple Interface */
.staff-simple {
    font-size: 12px;
}

.staff-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.staff-count {
    font-weight: 600;
    color: #111827;
}

.current-shifts {
    font-weight: 600;
    color: #10b981;
}

.schedule-header {
    font-weight: 500;
    color: #6b7280;
    font-size: 10px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shift-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shift-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.shift-item.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    border-left: 3px solid #10b981;
}

.staff-avatar {
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shift-details {
    flex: 1;
}

.staff-name {
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
}

.shift-time {
    color: #6b7280;
    font-size: 10px;
}

.status-badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
}

.status-badge.working {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-badge.scheduled {
    background: rgba(37, 99, 235, 0.2);
    color: #2563eb;
}

.status-badge.break {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* Point of Sale Simple Interface */
.pos-simple {
    font-size: 11px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.03) 100%);
    border-radius: 6px;
    padding: 10px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 4px;
    margin-bottom: 8px;
}

.cashier-info {
    font-weight: 600;
    color: #1e3a8a;
    font-size: 10px;
}

.register-number {
    font-weight: 500;
    color: #1e3a8a;
    font-size: 9px;
    background: rgba(37, 99, 235, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
}

.current-order {
    margin-bottom: 8px;
    background: white;
    border-radius: 4px;
    padding: 6px;
    border: 1px solid #f1f5f9;
    flex: 1;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px dotted #f1f5f9;
}

.order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-name {
    font-weight: 500;
    color: #111827;
    font-size: 10px;
}

.item-qty {
    color: #6b7280;
    font-size: 9px;
    background: rgba(107, 114, 128, 0.1);
    padding: 1px 4px;
    border-radius: 2px;
    margin-left: 6px;
}

.item-total {
    font-weight: 600;
    color: #111827;
    font-size: 10px;
    min-width: 35px;
    text-align: right;
}

.order-summary {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    padding: 6px 8px;
    margin-bottom: 8px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
    font-size: 9px;
    color: #6b7280;
}

.summary-line.tax {
    color: #f59e0b;
    font-weight: 500;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: #111827;
    font-size: 12px;
    padding: 3px 0;
    border-top: 1px solid rgba(16, 185, 129, 0.3);
    margin-top: 3px;
}

.pos-actions {
    display: flex;
    gap: 4px;
    margin-top: auto;
}

.payment-btn {
    flex: 1;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
}

.payment-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
}

.void-btn {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.void-btn:hover {
    background: rgba(107, 114, 128, 0.2);
    color: #4b5563;
}

/* Inventory Management Simple Interface */
.inventory-simple {
    font-size: 12px;
}

.inventory-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.total-products {
    font-weight: 600;
    color: #111827;
}

.low-stock-alert {
    font-weight: 600;
    color: #f59e0b;
    font-size: 11px;
}

.stock-category {
    margin-bottom: 10px;
}

.category-header {
    font-weight: 600;
    color: #6b7280;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    padding-left: 4px;
}

.category-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stock-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 4px;
}

.stock-item.low {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.stock-item.good {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.stock-item.medium {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
}

.item-details {
    flex: 1;
}

.product-name {
    font-weight: 500;
    color: #111827;
    font-size: 10px;
    display: block;
}

.product-sku {
    color: #6b7280;
    font-size: 8px;
}

.stock-level {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 60px;
}

.stock-qty {
    font-weight: 600;
    font-size: 10px;
    min-width: 20px;
    text-align: right;
}

.stock-qty.low {
    color: #ef4444;
}

.stock-qty.good {
    color: #10b981;
}

.stock-qty.medium {
    color: #f59e0b;
}

.stock-bar {
    width: 30px;
    height: 4px;
    background: #f1f5f9;
    border-radius: 2px;
    overflow: hidden;
}

.stock-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.stock-fill.low {
    background: #ef4444;
}

.stock-fill.good {
    background: #10b981;
}

.stock-fill.medium {
    background: #f59e0b;
}

.inventory-actions {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.restock-btn {
    flex: 2;
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.restock-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.audit-btn {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.audit-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

/* Customer Management Simple Interface */
.customers-simple {
    font-size: 12px;
}

.customers-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.total-customers {
    font-weight: 600;
    color: #111827;
}

.vip-customers {
    font-weight: 600;
    color: #f59e0b;
    font-size: 11px;
}

.segment-header {
    font-weight: 500;
    color: #6b7280;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-left: 4px;
}

.customer-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.customer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 4px;
}

.customer-item.vip {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
    border-left: 3px solid #f59e0b;
}

.customer-item.regular {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.2);
}

.customer-item.new {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.customer-avatar {
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.customer-details {
    flex: 1;
}

.customer-name {
    font-weight: 500;
    color: #111827;
    font-size: 10px;
    margin-bottom: 2px;
}

.customer-status {
    color: #6b7280;
    font-size: 8px;
}

.customer-metrics {
    text-align: right;
    min-width: 60px;
}

.spend-amount {
    font-weight: 600;
    color: #111827;
    font-size: 10px;
}

.visit-count {
    color: #6b7280;
    font-size: 8px;
}

.customer-actions {
    display: flex;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.loyalty-btn,
.marketing-btn {
    flex: 1;
}

.loyalty-btn {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.loyalty-btn:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.marketing-btn {
    background: #f8fafc;
    color: #6b7280;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.marketing-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #4b5563;
}