/* Global Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.container-fluid {
    flex: 1;
}

.footer {
    margin-top: auto;
}

/* Card Styles */
.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #343a40;
    color: white;
    font-weight: bold;
    border-radius: 10px 10px 0 0 !important;
}

/* Dashboard Cards */
.dashboard-card {
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.stat-card {
    border-left: 4px solid;
}

.stat-card.primary {
    border-left-color: #0d6efd;
}

.stat-card.success {
    border-left-color: #198754;
}

.stat-card.warning {
    border-left-color: #ffc107;
}

.stat-card.danger {
    border-left-color: #dc3545;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.login-header i {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* POS Interface */
.menu-items-container {
    max-height: 600px;
    overflow-y: auto;
}

.menu-item-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.menu-item-card:hover {
    border-color: #0d6efd;
    transform: scale(1.05);
}

.order-summary {
    position: sticky;
    top: 20px;
}

.order-items-list {
    max-height: 400px;
    overflow-y: auto;
}

.order-item {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}

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

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}

/* Table Styles */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background-color: #343a40;
    color: white;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Badge Styles */
.badge {
    padding: 5px 10px;
    font-size: 0.85rem;
}

/* Button Styles */
.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Form Styles */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Modal Styles */
.modal-header {
    background-color: #343a40;
    color: white;
}

/* Invoice Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    .invoice-container,
    .invoice-container * {
        visibility: visible;
    }
    
    .invoice-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    
    .no-print {
        display: none !important;
    }
}

.invoice-container {
    background: white;
    padding: 30px;
    border: 1px solid #dee2e6;
}

/* Room Status Colors */
.room-available {
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.room-occupied {
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.room-maintenance {
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Responsive */
@media (max-width: 768px) {
    .order-summary {
        position: static;
        margin-top: 20px;
    }
    
    .menu-items-container {
        max-height: 400px;
    }
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Alert Custom */
.alert {
    border-radius: 10px;
}
