/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: 70px 1fr;
    grid-template-areas: 
        "header header"
        "sidebar main";
    min-height: 100vh;
}

/* Header Styles */
.header {
    grid-area: header;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 28px;
    color: #ff7e5f;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: #ff7e5f;
}

/* Notifications */
.notifications {
    position: relative;
}

.notification-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    position: relative;
    cursor: pointer;
    padding: 5px;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.notifications:hover .notification-dropdown {
    display: block;
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid #e1e5eb;
}

.notification-header h4 {
    margin: 0;
    color: #333;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.notification-item i {
    margin-top: 3px;
}

.notification-warning i {
    color: #ffc107;
}

.notification-info i {
    color: #17a2b8;
}

.notification-item p {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #555;
}

.notification-item a {
    font-size: 12px;
    color: #1e3c72;
    text-decoration: none;
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    cursor: pointer;
}

.user-avatar i {
    font-size: 36px;
    color: #ddd;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 16px;
}

.user-role {
    font-size: 14px;
    color: #aaa;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.user-info:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.user-dropdown a:hover {
    background: #f5f5f5;
}

.dropdown-divider {
    height: 1px;
    background: #e1e5eb;
    margin: 5px 0;
}

.logout-btn {
    color: #dc3545 !important;
}

/* Sidebar Styles */
.sidebar {
    grid-area: sidebar;
    background-color: #fff;
    border-right: 1px solid #e1e5eb;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.nav-menu {
    list-style: none;
}

.nav-item {
    position: relative;
    margin-bottom: 5px;
}

.nav-item a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
}

.nav-item a:hover {
    background-color: #f0f7ff;
    color: #1e3c72;
    border-left-color: #1e3c72;
}

.nav-item.active a {
    background-color: #f0f7ff;
    color: #1e3c72;
    border-left-color: #1e3c72;
    font-weight: 600;
}

.nav-item i {
    margin-right: 15px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.has-submenu {
    justify-content: space-between !important;
}

.has-submenu .fa-chevron-down {
    margin-right: 0;
    font-size: 12px;
    transition: transform 0.3s;
}

.nav-item:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 1000;
}

.submenu li a {
    padding: 12px 20px;
    border-left: none;
    font-size: 14px;
}

.submenu li a:hover {
    background: #f5f5f5;
}

.badge {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4757;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
}

.sidebar-footer {
    padding: 20px 25px;
    border-top: 1px solid #e1e5eb;
    font-size: 14px;
}

.time-display, .date-display {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
}

.time-display i, .date-display i {
    margin-right: 10px;
    color: #1e3c72;
}

/* Main Content Styles */
.main-content {
    grid-area: main;
    padding: 25px;
    overflow-y: auto;
    background: #f5f7fa;
}

/* Dashboard Styles */
.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h2 {
    font-size: 28px;
    color: #1e3c72;
    margin-bottom: 10px;
}

.dashboard-header p {
    color: #666;
    font-size: 16px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    color: white;
}

.stat-1 .stat-icon {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
}

.stat-2 .stat-icon {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.stat-3 .stat-icon {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
}

.stat-4 .stat-icon {
    background: linear-gradient(135deg, #8a2387 0%, #f27121 100%);
}

.stat-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-info p {
    color: #666;
    font-size: 15px;
}

.dashboard-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.dashboard-section {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e5eb;
}

.section-header h3 {
    font-size: 20px;
    color: #1e3c72;
}

.view-all {
    color: #1e3c72;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e5eb;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #e1e5eb;
}

.data-table tr:hover {
    background-color: #f9f9f9;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-preparing {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-ready {
    background-color: #c3e6cb;
    color: #155724;
}

.status-served {
    background-color: #d4edda;
    color: #155724;
}

.status-completed {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #1e3c72;
    outline: none;
}

.form-control-sm {
    padding: 8px 12px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-info, .btn-danger {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #1e3c72;
    color: white;
}

.btn-primary:hover {
    background: #2a5298;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #e1e5eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    color: #1e3c72;
    font-size: 20px;
}

.card-body {
    padding: 20px;
}

/* Enhanced POS Styles */
.pos-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    height: calc(100vh - 120px);
}

.pos-left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hold-orders-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-height: 300px;
    overflow-y: auto;
}

.hold-orders-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hold-order-card {
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.hold-order-card:hover {
    border-color: #1e3c72;
    background: #f0f7ff;
}

.hold-order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-id {
    font-weight: 600;
    color: #1e3c72;
}

.order-time {
    color: #666;
    font-size: 14px;
}

.hold-order-body {
    margin-bottom: 10px;
}

.hold-order-body p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.hold-order-actions {
    display: flex;
    gap: 10px;
}

.btn-retrieve, .btn-cancel-hold, .btn-hold, .btn-clear, .btn-print-bill, .btn-complete-payment {
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-retrieve {
    background: #28a745;
    color: white;
}

.btn-retrieve:hover {
    background: #218838;
}

.btn-cancel-hold {
    background: #dc3545;
    color: white;
}

.btn-cancel-hold:hover {
    background: #c82333;
}

.btn-hold {
    background: #ffc107;
    color: #333;
}

.btn-hold:hover {
    background: #e0a800;
}

.btn-clear {
    background: #6c757d;
    color: white;
}

.btn-clear:hover {
    background: #5a6268;
}

.btn-print-bill {
    background: #17a2b8;
    color: white;
}

.btn-print-bill:hover {
    background: #138496;
}

.btn-complete-payment {
    background: #1e3c72;
    color: white;
}

.btn-complete-payment:hover {
    background: #2a5298;
}

/* Menu Section */
.menu-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    overflow-y: auto;
}

.menu-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    background-color: #f0f7ff;
    border: none;
    border-radius: 5px;
    color: #1e3c72;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active, .category-btn:hover {
    background-color: #1e3c72;
    color: white;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.menu-item-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e1e5eb;
    text-align: center;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #1e3c72;
}

.item-image {
    width: 100%;
    height: 120px;
    background-color: #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 40px;
    position: relative;
}

.low-stock-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ffc107;
    color: #333;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.item-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.item-price {
    color: #1e3c72;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.item-gst {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 8px;
    background-color: #1e3c72;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.add-to-cart-btn:hover:not(:disabled) {
    background-color: #2a5298;
}

.add-to-cart-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* Cart Section */
.pos-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cart-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e5eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: #1e3c72;
    font-size: 22px;
    margin: 0;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.order-info {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e5eb;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    min-height: 200px;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-cart-message i {
    font-size: 48px;
    margin-bottom: 10px;
    color: #ddd;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.item-details {
    flex: 1;
}

.item-quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f0f7ff;
    border: none;
    color: #1e3c72;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-quantity {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.item-subtotal {
    font-weight: 600;
    color: #333;
    min-width: 80px;
    text-align: right;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    margin-left: 10px;
}

.cart-summary {
    border-top: 1px solid #e1e5eb;
    padding-top: 20px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.discount-controls {
    display: flex;
    gap: 10px;
}

.summary-total {
    font-size: 24px;
    font-weight: 700;
    color: #1e3c72;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #e1e5eb;
}

/* Payment Section */
.payment-section {
    border-top: 1px solid #e1e5eb;
    padding-top: 20px;
}

.payment-section h4 {
    margin-bottom: 15px;
    color: #1e3c72;
}

.payment-methods {
    margin: 15px 0;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.payment-option {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.payment-option.active {
    border-color: #1e3c72;
    background: #f0f7ff;
    color: #1e3c72;
}

.payment-option i {
    font-size: 20px;
}

.payment-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

/* Invoice Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e1e5eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e1e5eb;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Invoice Styles */
.invoice {
    font-family: 'Courier New', monospace;
    background: white;
    padding: 20px;
}

.invoice-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px dashed #333;
    padding-bottom: 20px;
}

.invoice-header h2 {
    margin: 0;
    font-size: 24px;
}

.invoice-details {
    margin-bottom: 20px;
}

.invoice-details .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.invoice-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.invoice-items th, .invoice-items td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
}

.invoice-items th {
    background: #f2f2f2;
}

.invoice-summary {
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
}

.summary-row.total {
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    font-weight: bold;
    font-size: 18px;
}

.invoice-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #333;
}

/* Report Styles */
.report-filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filter-form .form-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.filter-form .form-group {
    flex: 1;
}

.report-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.total-row {
    background: #f8f9fa;
    font-weight: bold;
}

/* Inventory Styles */
.inventory-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.summary-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.summary-card.warning {
    border-left: 5px solid #ffc107;
}

.summary-card.success {
    border-left: 5px solid #28a745;
}

.summary-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1e3c72;
}

.summary-info h3 {
    font-size: 32px;
    margin: 0;
    color: #333;
}

.summary-info p {
    margin: 5px 0 0 0;
    color: #666;
}

.low-stock {
    background: #fff3cd !important;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-warning {
    background: #ffc107;
    color: #856404;
}

.badge-success {
    background: #28a745;
    color: white;
}

.badge-primary {
    background: #007bff;
    color: white;
}

.badge-info {
    background: #17a2b8;
    color: white;
}

.transaction-controls {
    margin-bottom: 20px;
}

/* Alert Styles */
.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 10px;
    color: #ddd;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .dashboard-sections {
        grid-template-columns: 1fr;
    }
    
    .pos-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .filter-form .form-row {
        flex-direction: column;
    }
    
    .payment-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: 70px 1fr;
        grid-template-areas: 
            "header"
            "main";
    }
    
    .sidebar {
        position: fixed;
        top: 70px;
        left: -250px;
        height: calc(100vh - 70px);
        z-index: 99;
        transition: left 0.3s ease;
        width: 250px;
    }
    
    .sidebar.mobile-visible {
        left: 0;
    }
    
    .payment-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .menu-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .hold-order-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .dashboard-sections {
        grid-template-columns: 1fr;
    }
    
    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
}
