/* Force all primary colors to #ff3a3a */
:root {
    --primary: #ff3a3a !important;
    --bs-primary: #ff3a3a !important;
}

.text-primary {
    color: #ff3a3a !important;
}

.btn-primary {
    background-color: #ff3a3a !important;
    border-color: #ff3a3a !important;
}

.btn-primary:hover {
    background-color: #ff3a3a !important;
    border-color: #ff3a3a !important;
}

.border-primary {
    border-color: #ff3a3a !important;
}

.btn-outline-primary {
    color: #ff3a3a !important;
    border-color: #ff3a3a !important;
}

.btn-outline-primary:hover {
    background-color: #ff3a3a !important;
    border-color: #ff3a3a !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: white !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ff3a3a !important;
}

.navbar-brand h1 {
    color: #ff3a3a !important;
}

.navbar-dark .navbar-nav .nav-link:focus {
    color: #ff3a3a !important;
}

.bg-primary {
    background-color: #ff3a3a !important;
}

.section-title::before,
.section-title::after {
    background: #ff3a3a !important;
}

.nav-pills .nav-item .active {
    border-bottom-color: #ff3a3a !important;
}

.video .btn-play:before,
.video .btn-play:after {
    background: #ff3a3a !important;
}

.footer .btn.btn-social:hover {
    color: #ff3a3a !important;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 15px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s;
    font-size: 14px;
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background-color: #ff3a3a;
    color: white;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #ff3a3a;
    color: white;
}

.breadcrumb-item a {
    color: #ff3a3a !important;
}

.breadcrumb-item a:hover {
    color: #ff3a3a !important;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.toast-success {
    background-color: #28a745;
    color: white;
    border-left: 4px solid #1e7e34;
}

.toast.toast-error {
    background-color: #dc3545;
    color: white;
    border-left: 4px solid #c82333;
}

.toast.toast-info {
    background-color: #17a2b8;
    color: white;
    border-left: 4px solid #0c5460;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast i {
    font-size: 18px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(400px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* POS Menu Item - Unified Design */
.pos-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Image Container with Consistent Styling */
.pos-item img {
    width: 100% !important;
    height: 80px !important;
    object-fit: contain !important;
    display: block !important;
    background: #f8f9fa !important;
    border-radius: 4px !important;
    margin-bottom: 0.3rem !important;
    padding: 0.25rem !important;
    flex-shrink: 0 !important;
    border: 1px solid #eee !important;
    box-sizing: border-box !important;
}

/* Responsive image sizing for different screen sizes */
@media (min-width: 1400px) {
    .pos-item img {
        height: 90px !important;
    }
}

@media (max-width: 992px) {
    .pos-item img {
        height: 75px !important;
    }
}

@media (max-width: 768px) {
    .pos-item img {
        height: 70px !important;
    }
}

@media (max-width: 576px) {
    .pos-item img {
        height: 60px !important;
    }
    
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .toast {
        min-width: unset;
    }
}
