/* General Styles */
body {
    background-color: #f8f9fa;
    color: #212529;
}

/* Login Page */
.login-container {
    margin-top: 100px;
}

/* POS Screen */
.product-card {
    cursor: pointer;
    transition: transform 0.2s;
    margin-bottom: 15px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.order-summary {
    position: sticky;
    top: 20px;
}

/* Inventory Management */
.low-stock {
    color: #dc3545;
}

.stock-warning {
    color: #ffc107;
}

/* Receipt Styles */
.receipt {
    font-family: 'Courier New', Courier, monospace;
    width: 300px;
    padding: 20px;
    margin: 0 auto;
}

.receipt-header {
    text-align: center;
    margin-bottom: 20px;
}

.receipt-items {
    border-top: 1px dashed #000;
    border-bottom: 1px dashed #000;
    padding: 10px 0;
    margin: 10px 0;
}

/* Dashboard Cards */
.dashboard-card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.dashboard-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Navbar Styles */
.navbar {
    background-color: #212529;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: #fff !important;
    font-weight: 600;
}

.navbar .nav-link {
    color: rgba(255,255,255,.8) !important;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #fff !important;
}

.navbar .nav-link.active {
    color: #fff !important;
    font-weight: 500;
}

/* Select2 Styles */
.select2-container--bootstrap-5 {
    width: 100% !important;
}

.select2-container--bootstrap-5 .select2-selection {
    min-height: 38px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
    color: #212529;
    transition: all 0.2s ease;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

.select2-dropdown {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    background-color: #fff;
}

.select2-container--bootstrap-5 .select2-results__option {
    padding: 0.5rem 1rem;
    color: #212529;
    background-color: #fff;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #e9ecef;
    color: #212529;
}

.select2-container--bootstrap-5 .select2-results__option--selected {
    background-color: #0d6efd;
    color: #fff;
}

/* Settings Page Styles */
.settings-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.15);
}

.settings-icon {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.settings-title {
    color: #212529;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.settings-description {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Product Card Styles */
.product-card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.product-card .product-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background-color: #f8f9fa;
    overflow: hidden;
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-details {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.product-card .product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 0.5rem;
}

.product-card .product-category {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Table Styles */
.table {
    --bs-table-hover-bg: #f8f9fa;
    --bs-table-hover-color: #212529;
    border-color: #dee2e6;
}

.table th {
    background-color: #f8f9fa;
    color: #212529;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
    color: #212529;
    border-color: #dee2e6;
}

/* Form Styles */
.form-control {
    border-color: #dee2e6;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

.form-label {
    color: #212529;
    font-weight: 500;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn i {
    font-size: 0.875rem;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .table .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .product-image {
        width: 40px;
        height: 40px;
    }
    
    .table th, .table td {
        padding: 0.5rem;
    }
} 