@font-face {
    font-family: 'Koras';
    src: url('../fonts/koras.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Base styles */
body {
    font-family: 'Koras';
    overflow-x: hidden;
}

/* Theme colors - Corrected */
:root {
    --bs-primary: #252525;
    --bs-primary-rgb: 255, 107, 0;
    --bs-secondary: #212529;
}

/* Primary color elements */
.bg-primary {
    background-color: var(--bs-primary) !important;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-active-bg: #{shade-color($primary, 20%)};
    --bs-btn-active-border-color: #{shade-color($primary, 20%)};
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .row.g-4 {
        flex-direction: column-reverse;
    }
    
    .col-lg-6 {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-group {
        width: 100%;
    }
    
    .btn-group .btn {
        flex: 1;
    }
    
    .payment-status-group .btn,
    .customer-type-selector .btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Card styling */
.card-header {
    font-weight: bold;
    font-size: 1.1rem;
}

.product-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
}

/* Form controls */
.form-control, .form-select {
    font-family: 'Koras', 'Tajawal', sans-serif;
}

/* Footer Styles */
.pos-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: white;
    padding: 1rem 0;
    font-family: 'NRT', 'Tajawal', sans-serif;
    width: 100%;
    position: relative;
}

.pos-footer > .container-fluid {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

@media (max-width: 768px) {
    .pos-footer .footer-info,
    .pos-footer .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}