/* Menu Management Custom Styles */

/* Orange color theme for active tab */
.text-orange {
    color: var(--bee-orange-color) !important;
}

.nav-tabs .nav-link.active {
    color: var(--bee-orange-color) !important;
    border-bottom-color: var(--bee-orange-color) !important;
}

/* Menu category cards */
.menu-category-card {
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 rgba(76, 87, 125, 0.02);
    transition: all 0.3s ease;
}

.menu-category-card:hover {
    box-shadow: 0 0 30px 0 rgba(76, 87, 125, 0.08);
    transform: translateY(-2px);
}

/* Category toggle cursor and hover effects */
.category-toggle {
    transition: color 0.3s ease;
}

.category-toggle:hover {
    color: var(--bee-orange-color) !important;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

/* Menu item rows */
.menu-item-row {
    border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.menu-item-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(45deg, var(--bee-orange-color), var(--bee-dark-orange-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item-row:hover::before {
    opacity: 1;
}

/* Topping item rows */
.topping-item-row {
    border: 1px solid rgba(var(--bs-info-rgb), 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.topping-item-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.topping-item-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(45deg, #17a2b8, #138496);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topping-item-row:hover::before {
    opacity: 1;
}

/* Statistics cards enhancements */
.card-flush {
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card-flush:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-flush .card-body {
    padding: 1.5rem;
}

/* Symbol enhancements */
.symbol-label {
    border-radius: 8px;
}

/* Button enhancements */
.btn-primary {
    background-color: var(--bee-orange-color);
    border-color: var(--bee-orange-color);
}

.btn-primary:hover {
    background-color: var(--bee-dark-orange-color);
    border-color: var(--bee-dark-orange-color);
}

.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.25);
}

/* Badge customizations */
.badge-light-primary {
    background-color: rgba(247, 149, 98, 0.1);
    color: var(--bee-orange-color);
    border: 1px solid rgba(247, 149, 98, 0.2);
}

.badge-light-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.badge-light-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.badge-light-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.badge-light-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

/* Form switches */
.form-check-input:checked {
    background-color: var(--bee-orange-color);
    border-color: var(--bee-orange-color);
}

.form-check-input:focus {
    border-color: rgba(247, 149, 98, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.25);
}

/* Category items animation */
.category-items {
    overflow: hidden;
}

/* Loading animation */
.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.loading-placeholder .spinner-border {
    color: var(--bee-orange-color);
}

/* Responsive design */
@media (max-width: 768px) {
    .menu-item-row,
    .topping-item-row {
        flex-direction: column;
        align-items: stretch !important;
    }

    .menu-item-row .d-flex:first-child,
    .topping-item-row .d-flex:first-child {
        margin-bottom: 1rem;
    }

    .menu-item-row .d-flex:last-child,
    .topping-item-row .d-flex:last-child {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }

    .card-toolbar {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.5rem;
    }

    .card-toolbar .d-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Mobile adjustments for item buttons */
    .edit-item-btn,
    .duplicate-item-btn,
    .delete-item-btn,
    .edit-topping-btn,
    .delete-topping-btn {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.8rem;
        height: 30px !important;
    }

    .btn-group {
        gap: 0.3rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .row.g-6 {
        --bs-gutter-x: 1rem;
    }

    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .fs-2x {
        font-size: 1.5rem !important;
    }
}

/* Very small screens - compact buttons */
@media (max-width: 480px) {
    .btn-group {
        width: 100%;
        gap: 0.25rem;
    }

    .edit-item-btn,
    .duplicate-item-btn,
    .delete-item-btn,
    .edit-topping-btn,
    .delete-topping-btn {
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 0.5rem !important;
        font-size: 0.85rem;
        height: 36px !important;
    }
}

/* Animation for expanding/collapsing categories */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item-row,
.topping-item-row {
    animation: fadeIn 0.3s ease-out;
}

/* Custom scrollbar for category items */
.category-items {
    max-height: none;
    overflow-y: visible;
}

/* Simple Item and Sub-menu Button Styling */
.btn-group .btn {
    transition: all 0.3s ease;
    border-radius: 8px !important;
    padding: 0.5rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.btn-group .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Item Action Buttons - Simple clean styling with text */
.edit-item-btn,
.duplicate-item-btn,
.delete-item-btn {
    min-width: auto !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Enhanced light button styles for better visibility */
.btn-light-primary {
    background-color: rgba(13, 110, 253, 0.1) !important;
    border-color: rgba(13, 110, 253, 0.2) !important;
    color: #0d6efd !important;
}

.btn-light-primary:hover {
    background-color: rgba(13, 110, 253, 0.2) !important;
    border-color: rgba(13, 110, 253, 0.3) !important;
    color: #0d6efd !important;
}

.btn-light-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
    border-color: rgba(255, 193, 7, 0.2) !important;
    color: #ffc107 !important;
}

.btn-light-warning:hover {
    background-color: rgba(255, 193, 7, 0.2) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: #ffc107 !important;
}

.btn-light-danger {
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-color: rgba(220, 53, 69, 0.2) !important;
    color: #dc3545 !important;
}

.btn-light-danger:hover {
    background-color: rgba(220, 53, 69, 0.2) !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
    color: #dc3545 !important;
}

/* Button Group Spacing */
.btn-group {
    gap: 0.5rem;
    display: flex;
}

/* Focus states for accessibility */
.btn-group .btn:focus {
    outline: 2px solid rgba(13, 110, 253, 0.5);
    outline-offset: 2px;
}

/* Active states */
.btn-group .btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Loading states for item buttons */
.edit-item-btn.loading,
.duplicate-item-btn.loading,
.delete-item-btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.edit-item-btn.loading::after,
.duplicate-item-btn.loading::after,
.delete-item-btn.loading::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    top: 50%;
    left: 50%;
    margin-left: -7px;
    margin-top: -7px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Disabled states */
.btn-group .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Price styling */
.text-success.fw-bold {
    color: #28a745 !important;
    font-size: 1.1rem;
}

/* Enhanced card header */
.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e4e6ea;
}

/* Tab content spacing */
.tab-content {
    padding-top: 0;
}

/* Statistics cards hover effect */
.card-flush:hover .symbol-label {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Icon animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.card-flush:hover .ki-duotone {
    animation: pulse 1s ease-in-out;
}

/* Custom dropdown styling if needed */
.dropdown-menu {
    border: 1px solid #e4e6ea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Enhanced form controls */
.form-control:focus {
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.25);
}

.form-select:focus {
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.25);
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Custom Add Dish Modal Styles */
#addDishModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: none;
}

#addDishModal .modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e4e6ea;
    background-color: #f8f9fa;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#addDishModal .modal-header .btn-close {
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    background-size: 1.2em;
    opacity: 0.6;
}

#addDishModal .modal-header .btn-close:hover {
    opacity: 1;
}

#addDishModal .modal-body {
    padding: 2rem;
    background-color: #ffffff;
    max-height: 70vh;
    overflow-y: auto;
}

#addDishModal .modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e4e6ea;
    background-color: #ffffff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.dish-form-container {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e4e6ea;
    animation: fadeInUp 0.4s ease-out;
}

/* Custom scrollbar for modal content */
#addDishModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#addDishModal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#addDishModal .modal-body::-webkit-scrollbar-thumb {
    background: var(--bee-orange-color);
    border-radius: 3px;
}

#addDishModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--bee-dark-orange-color);
}

/* Form labels */
#addDishModal .form-label {
    color: #5e6278 !important;
    font-weight: 600 !important;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: block;
}

#addDishModal .form-label .text-danger {
    color: #f1416c !important;
}

/* Form controls */
#addDishModal .form-control,
#addDishModal .form-select {
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

#addDishModal .form-control:focus,
#addDishModal .form-select:focus {
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.15);
    background-color: #ffffff;
    outline: none;
}

#addDishModal .form-control.is-invalid {
    border-color: #f1416c;
    box-shadow: 0 0 0 0.2rem rgba(241, 65, 108, 0.15);
}

#addDishModal .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.825rem;
    color: #f1416c;
}

/* Form text helpers */
.add-item-modal .form-text {
    font-size: 0.825rem;
    color: #a1a5b7;
    margin-top: 0.25rem;
}

/* Image upload area */
.image-upload-area {
    background-color: #f8f9fa;
    border: 2px dashed #e4e6ea !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-upload-area:hover {
    border-color: var(--bee-orange-color) !important;
    background-color: rgba(247, 149, 98, 0.05);
}

.image-upload-area .btn-light-primary {
    background-color: rgba(247, 149, 98, 0.1);
    border-color: rgba(247, 149, 98, 0.2);
    color: var(--bee-orange-color);
    font-weight: 600;
}

.image-upload-area .btn-light-primary:hover {
    background-color: rgba(247, 149, 98, 0.2);
    border-color: rgba(247, 149, 98, 0.3);
}

.image-preview img {
    border: 2px solid #e4e6ea;
    border-radius: 8px;
}

.image-preview .btn-light-danger {
    background-color: rgba(241, 65, 108, 0.1);
    border-color: rgba(241, 65, 108, 0.2);
    color: #f1416c;
    font-weight: 600;
}

/* Form switches */
.add-item-modal .form-check-input {
    width: 3rem;
    height: 1.5rem;
    border-radius: 1rem;
    background-color: #e4e6ea;
    border: none;
    cursor: pointer;
}

.add-item-modal .form-check-input:checked {
    background-color: var(--bee-orange-color);
    border-color: var(--bee-orange-color);
}
.form-check-custom.form-check-solid .form-check-input:checked
{
    background-color: var(--bee-orange-color) !important;
}

.add-item-modal .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.25);
    border-color: var(--bee-orange-color);
}

.add-item-modal .form-check-label {
    font-weight: 600;
    color: #7e8299;
    margin-left: 0.75rem;
}

/* Modal buttons */
.add-item-modal .swal2-actions {
    padding: 1.5rem 2rem 2rem 2rem;
    border-top: 1px solid #e4e6ea;
    margin-top: 0;
    gap: 1rem;
}

.add-item-modal .swal2-confirm {
    background-color: var(--bee-orange-color) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(247, 149, 98, 0.3) !important;
}

.add-item-modal .swal2-confirm:hover {
    background-color: var(--bee-dark-orange-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 149, 98, 0.4) !important;
}

.add-item-modal .swal2-cancel {
    background-color: #f8f9fa !important;
    border: 1px solid #e4e6ea !important;
    color: #7e8299 !important;
    border-radius: 8px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.add-item-modal .swal2-cancel:hover {
    background-color: #e4e6ea !important;
    border-color: #d1d3e0 !important;
    color: #5e6278 !important;
    transform: translateY(-1px);
}

/* Responsive design for modal */
@media (max-width: 768px) {
    .add-item-modal {
        width: 95% !important;
        max-width: 95% !important;
    }

    .add-item-modal .swal2-header {
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .add-item-modal .swal2-content {
        padding: 0 1rem 1rem 1rem;
    }

    .add-item-modal-content .row {
        margin: 0;
    }

    .add-item-modal-content .col-md-6 {
        padding: 0;
        margin-bottom: 1rem;
    }

    .add-item-modal .swal2-actions {
        padding: 1rem;
        flex-direction: column;
    }

    .add-item-modal .swal2-confirm,
    .add-item-modal .swal2-cancel {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Animation for form fields */
.add-item-modal .form-control,
.add-item-modal .form-select {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Validation error styling */
.add-item-modal .swal2-validation-message {
    background-color: #ffe2e5;
    color: #f1416c;
    border: 1px solid #f7a2a2;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* Success message styling */
.swal2-popup.swal2-icon-success .swal2-icon {
    border-color: var(--bee-orange-color);
    color: var(--bee-orange-color);
}

.swal2-popup.swal2-icon-success .swal2-success-ring {
    border-color: rgba(247, 149, 98, 0.3);
}

.swal2-popup.swal2-icon-success .swal2-success-fix {
    background-color: var(--bee-orange-color);
}

/* Input group enhancements */
.add-item-modal .input-group .input-group-text {
    background-color: #f8f9fa;
    border-color: #e4e6ea;
    color: #7e8299;
    font-weight: 600;
}

.add-item-modal .input-group .form-control:focus + .input-group-text,
.add-item-modal .input-group .input-group-text + .form-control:focus {
    border-color: var(--bee-orange-color);
}

/* Textarea specific styling */
.add-item-modal textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Select dropdown arrow customization */
.add-item-modal .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f79562' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

/* Dish Form Specific Styles */
#addDishModal .form-group {
    margin-bottom: 1.5rem;
}

/* Dish textarea styles */
.dish-textarea {
    min-height: 60px !important;
    resize: vertical;
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.dish-textarea-large {
    min-height: 100px !important;
    resize: vertical;
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.dish-textarea:focus,
.dish-textarea-large:focus {
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.15);
    background-color: #ffffff;
    outline: none;
}

/* Price input styling */
.price-input {
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.price-input:focus {
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.15);
    background-color: #ffffff;
    outline: none;
}

/* Currency display */
.currency-display {
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 2rem;
}

.currency-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7e8299;
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    display: inline-block;
}

/* Checkbox styles */
.add-dish-modal .form-check {
    margin-bottom: 0;
    padding-left: 0;
}

.out-of-stock-checkbox,
.active-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #e4e6ea;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.out-of-stock-checkbox:checked,
.active-checkbox:checked {
    background-color: var(--bee-orange-color);
    border-color: var(--bee-orange-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}

.out-of-stock-checkbox:focus,
.active-checkbox:focus {
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.25);
    outline: none;
}

.add-dish-modal .form-check-label {
    font-weight: 600;
    color: #5e6278;
    cursor: pointer;
    font-size: 0.95rem;
}

/* Available days select */
.available-days-select {
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f79562' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

.available-days-select:focus {
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.15);
    background-color: #ffffff;
    outline: none;
}

/* Time input styling */
.time-input-container {
    position: relative;
}

.time-input {
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    padding: 0.75rem 3rem 0.75rem 1rem;
    font-size: 0.95rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
}

.time-input:focus {
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.15);
    background-color: #ffffff;
    outline: none;
}

.time-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a1a5b7;
    pointer-events: none;
}

/* Add Dish button styling */
#addDishModal .add-dish-btn {
    background-color: var(--bee-orange-color) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.75rem 2.5rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(247, 149, 98, 0.3) !important;
}

#addDishModal .add-dish-btn:hover:not(:disabled) {
    background-color: var(--bee-dark-orange-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 149, 98, 0.4) !important;
}

#addDishModal .add-dish-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Modal footer styling */
#addDishModal .modal-footer {
    gap: 1rem;
}

#addDishModal .modal-footer .btn {
    border-radius: 8px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

#addDishModal .modal-footer .btn-light {
    background-color: #f8f9fa !important;
    border: 1px solid #e4e6ea !important;
    color: #7e8299 !important;
}

#addDishModal .modal-footer .btn-light:hover {
    background-color: #e4e6ea !important;
    border-color: #d1d3e0 !important;
    color: #5e6278 !important;
    transform: translateY(-1px);
}

/* Arabic text support */
.dish-textarea[placeholder*="أدخل"],
.dish-textarea-large[placeholder*="وصف"] {
    direction: rtl;
    text-align: right;
}

.dish-textarea[placeholder*="أدخل"]:focus,
.dish-textarea-large[placeholder*="وصف"]:focus {
    direction: rtl;
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .add-dish-modal {
        width: 95% !important;
        max-width: 95% !important;
    }

    .add-dish-modal .swal2-header {
        padding: 1rem;
    }

    .add-dish-modal .swal2-content {
        padding: 1rem;
    }

    .dish-form-container {
        padding: 1.5rem;
    }

    .currency-display {
        padding-top: 1rem;
        justify-content: center;
    }

    .add-dish-modal .swal2-actions {
        padding: 1rem;
        flex-direction: column;
    }

    .add-dish-modal .swal2-confirm,
    .add-dish-modal .swal2-cancel {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Animation for form appearance */
.dish-form-container {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes dishFormFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Toast Styling */
#successToast {
    background-color: var(--bee-orange-color) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(247, 149, 98, 0.4) !important;
}

#successToast .toast-body {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

#successToast .btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

#successToast .btn-close-white:hover {
    opacity: 1;
}

/* Loading spinner in button */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Image Upload Styling */
#addDishModal .image-upload-area {
    background-color: #f8f9fa;
    border: 2px dashed #e4e6ea !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#addDishModal .image-upload-area:hover {
    border-color: var(--bee-orange-color) !important;
    background-color: rgba(247, 149, 98, 0.05);
}

#addDishModal .image-upload-area.drag-over {
    border-color: var(--bee-orange-color) !important;
    background-color: rgba(247, 149, 98, 0.1);
    transform: scale(1.02);
}

#addDishModal .image-upload-area.error {
    border-color: #f1416c !important;
    background-color: rgba(241, 65, 108, 0.05);
}

#addDishModal .image-upload-content {
    text-align: center;
    padding: 2rem;
}

#addDishModal .image-upload-content .ki-file-up {
    color: #a1a5b7;
    transition: color 0.3s ease;
}

#addDishModal .image-upload-area:hover .image-upload-content .ki-file-up {
    color: var(--bee-orange-color);
}

#addDishModal .image-preview {
    text-align: center;
    padding: 1.5rem;
}

#addDishModal .image-preview img {
    border: 2px solid #e4e6ea;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#addDishModal .image-preview img:hover {
    transform: scale(1.02);
}

#addDishModal .image-info {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#addDishModal .image-info .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

#addDishModal .image-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

#addDishModal .image-actions .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#addDishModal .image-actions .btn-light-primary {
    background-color: rgba(247, 149, 98, 0.1);
    border-color: rgba(247, 149, 98, 0.2);
    color: var(--bee-orange-color);
}

#addDishModal .image-actions .btn-light-primary:hover {
    background-color: rgba(247, 149, 98, 0.2);
    border-color: rgba(247, 149, 98, 0.3);
    transform: translateY(-2px);
}

#addDishModal .image-actions .btn-light-danger {
    background-color: rgba(241, 65, 108, 0.1);
    border-color: rgba(241, 65, 108, 0.2);
    color: #f1416c;
}

#addDishModal .image-actions .btn-light-danger:hover {
    background-color: rgba(241, 65, 108, 0.2);
    border-color: rgba(241, 65, 108, 0.3);
    transform: translateY(-2px);
}

#addDishModal .image-error {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(241, 65, 108, 0.1);
    color: #f1416c;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid rgba(241, 65, 108, 0.2);
    animation: slideInUp 0.3s ease-out;
}

/* Badge customizations for image info */
.badge-light-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.badge-light-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Animation for error message */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Responsive image upload */
@media (max-width: 768px) {
    #addDishModal .image-upload-area {
        min-height: 180px;
    }

    #addDishModal .image-upload-content {
        padding: 1.5rem;
    }

    #addDishModal .image-preview {
        padding: 1rem;
    }

    #addDishModal .image-preview img {
        max-height: 150px;
    }

    #addDishModal .image-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    #addDishModal .image-actions .btn {
        width: 100%;
    }
}

/* Translate Button Styles */
.translate-btn {
    background-color: rgba(247, 149, 98, 0.1) !important;
    border-color: rgba(247, 149, 98, 0.2) !important;
    color: var(--bee-orange-color) !important;
    border-radius: 0 8px 8px 0 !important;
    border-left: none !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.translate-btn:hover:not(:disabled) {
    background-color: rgba(247, 149, 98, 0.2) !important;
    border-color: rgba(247, 149, 98, 0.3) !important;
    color: var(--bee-dark-orange-color) !important;
    transform: translateY(-1px);
}

.translate-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.translate-btn.loading {
    position: relative;
    color: transparent !important;
}

.translate-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid var(--bee-orange-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Input group adjustments for translate button */
.input-group .dish-textarea,
.input-group .dish-textarea-large {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group .dish-textarea:focus,
.input-group .dish-textarea-large:focus {
    z-index: 3;
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.15);
}

.input-group .translate-btn:focus {
    z-index: 3;
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.25);
}

/* Simple Add Category Modal Styles */
#addCategoryModal .modal-content {
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: none;
}

#addCategoryModal .modal-header {
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e4e6ea;
    background-color: #ffffff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

#addCategoryModal .modal-header .btn-close {
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    opacity: 0.6;
}

#addCategoryModal .modal-header .btn-close:hover {
    opacity: 1;
}

#addCategoryModal .modal-body {
    padding: 2rem;
    background-color: #ffffff;
}

#addCategoryModal .modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    border-top: none;
    background-color: #ffffff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    justify-content: space-between;
}

/* Simple Category Form */
.simple-category-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e4e6ea;
}

#addCategoryModal .form-group {
    margin-bottom: 1.5rem;
}

#addCategoryModal .form-label {
    color: #5e6278;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Simple form inputs */
.simple-input {
    border: 1px solid #e4e6ea;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
}

.simple-input:focus {
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.15);
    background-color: #ffffff;
    outline: none;
}

.simple-input.is-invalid {
    border-color: #f1416c;
    box-shadow: 0 0 0 0.2rem rgba(241, 65, 108, 0.15);
}

/* Arabic input styling */
.simple-input[placeholder*="أدخل"] {
    direction: rtl;
    text-align: right;
}

/* Simple toggle switch */
.simple-toggle {
    width: 3rem;
    height: 1.5rem;
    border-radius: 1rem;
    background-color: #e4e6ea;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.simple-toggle:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.simple-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
}

/* Simple number input */
.simple-number-input {
    width: 120px;
    border: 1px solid #e4e6ea;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    background-color: #ffffff;
    text-align: center;
    transition: all 0.3s ease;
}

.simple-number-input:focus {
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.15);
    outline: none;
}

/* Simple checkbox */
.simple-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #e4e6ea;
    border-radius: 3px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.simple-checkbox:checked {
    background-color: var(--bee-orange-color);
    border-color: var(--bee-orange-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.simple-checkbox:focus {
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.25);
    outline: none;
}

/* Time input styling */
.time-input-wrapper {
    position: relative;
    width: 150px;
}

.simple-time-input {
    border: 1px solid #e4e6ea;
    border-radius: 6px;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    font-size: 0.9rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
}

.simple-time-input:focus {
    border-color: var(--bee-orange-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 149, 98, 0.15);
    outline: none;
}

.simple-time-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a1a5b7;
    pointer-events: none;
    font-size: 1.2rem;
}

/* Simple file upload */
.simple-file-upload {
    display: flex;
    align-items: center;
}

.simple-file-btn {
    border: 1px solid #e4e6ea;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background-color: #f8f9fa;
    color: #5e6278;
    transition: all 0.3s ease;
    font-weight: 500;
}

.simple-file-btn:hover {
    background-color: #e9ecef;
    border-color: #d1d3e0;
}

.file-status {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Modal buttons */
.simple-add-btn {
    background-color: var(--bee-orange-color) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.simple-add-btn:hover:not(:disabled) {
    background-color: var(--bee-dark-orange-color) !important;
    transform: translateY(-1px);
}

.simple-add-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.simple-cancel-btn {
    background-color: #f8f9fa !important;
    border: 1px solid #e4e6ea !important;
    color: #7e8299 !important;
    border-radius: 6px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.simple-cancel-btn:hover {
    background-color: #e4e6ea !important;
    border-color: #d1d3e0 !important;
    color: #5e6278 !important;
}

/* Invalid feedback */
#addCategoryModal .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #f1416c;
}

/* Dynamic Button Styles */
.dynamic-btn {
    animation: fadeInRight 0.3s ease-out;
    margin-left: 0.5rem;
}

.add-submenu-btn {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.add-submenu-btn:hover {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
    transform: translateY(-1px);
}

.add-first-submenu-btn {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.add-first-submenu-btn:hover {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Empty state button styling */
.add-first-item-btn,
.add-first-submenu-btn {
    min-width: 150px;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.add-first-item-btn {
    background-color: var(--bee-orange-color) !important;
    border-color: var(--bee-orange-color) !important;
    box-shadow: 0 4px 12px rgba(247, 149, 98, 0.3);
}

.add-first-item-btn:hover {
    background-color: var(--bee-dark-orange-color) !important;
    border-color: var(--bee-dark-orange-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 149, 98, 0.4);
}

/* Animation for dynamic buttons */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Empty state improvements */
.category-items .text-center h5 {
    color: #5e6278 !important;
    font-weight: 600;
}

.category-items .text-center p {
    color: #a1a5b7 !important;
    margin-bottom: 1.5rem;
}

.category-items .d-flex.gap-3 {
    gap: 1rem !important;
}

/* Responsive design */
@media (max-width: 768px) {
    #addCategoryModal .modal-dialog {
        width: 95%;
        max-width: 95%;
    }

    #addCategoryModal .modal-header,
    #addCategoryModal .modal-body,
    #addCategoryModal .modal-footer {
        padding: 1rem;
    }

    .simple-category-form {
        padding: 1.5rem;
    }

    .time-input-wrapper {
        width: 120px;
    }

    .simple-number-input {
        width: 100px;
    }

    #addCategoryModal .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .simple-add-btn,
    .simple-cancel-btn {
        width: 100% !important;
    }

    /* Responsive adjustments for empty state buttons */
    .category-items .d-flex.gap-3 {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem !important;
    }

    .add-first-item-btn,
    .add-first-submenu-btn {
        width: 100%;
        max-width: 200px;
    }

    /* Dynamic buttons responsive */
    .card-toolbar .d-flex {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .dynamic-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* CSS-Only Expand/Collapse Controls - No Icon Dependencies */
.category-expand-control {
    cursor: pointer;
    user-select: none;
}

.expand-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 0 1rem;
    background: #f79562;
    color: #ffffff;
    border-radius: 20%;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(247, 149, 98, 0.3);
    cursor: pointer;
}

.expand-toggle:hover {
    background: #e8824b;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(247, 149, 98, 0.4);
}

.expand-toggle:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(247, 149, 98, 0.3);
}

.expand-text {
    display: none;
}

/* CSS-Only Chevron Arrow */
.expand-chevron {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #ffffff;
    transition: transform 0.3s ease;
}

.expand-chevron.expanded {
    transform: rotate(180deg);
}

/* Expanded state styling */
.category-expand-control.expanded .expand-toggle {
    background: #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.category-expand-control.expanded .expand-toggle:hover {
    background: #218838;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Small expand controls for submenus */
.submenu-expand-control {
    cursor: pointer;
    user-select: none;
}

.expand-toggle-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0 0.5rem;
    background: #f79562;
    color: #ffffff;
    border-radius: 20%;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(247, 149, 98, 0.3);
    cursor: pointer;
}

.expand-toggle-sm:hover {
    background: #e8824b;
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(247, 149, 98, 0.4);
}

.expand-text-sm {
    display: none;
}

/* CSS-Only Small Chevron Arrow */
.expand-chevron-sm {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #ffffff;
    transition: transform 0.3s ease;
}

.expand-chevron-sm.expanded {
    transform: rotate(180deg);
}

/* Expanded submenu state */
.submenu-expand-control.expanded .expand-toggle-sm {
    background: #28a745;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.submenu-expand-control.expanded .expand-toggle-sm:hover {
    background: #218838;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* Empty state icon styling */
.empty-state-icon {
    font-size: 3rem;
    opacity: 0.6;
    margin-bottom: 1rem;
}

/* Focus states for accessibility */
.category-expand-control:focus-within .expand-toggle,
.submenu-expand-control:focus-within .expand-toggle-sm {
    outline: 2px solid rgba(66, 153, 225, 0.6);
    outline-offset: 2px;
}

/* Loading states */
.expand-toggle.loading,
.expand-toggle-sm.loading {
    pointer-events: none;
    opacity: 0.7;
}

.expand-toggle.loading .expand-text,
.expand-toggle-sm.loading .expand-text-sm {
    opacity: 0.5;
}

.expand-toggle.loading::after,
.expand-toggle-sm.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.5rem;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive design */
@media (max-width: 768px) {
    .expand-toggle {
        width: 25px;
        height: 25px;
        border-radius: 20%;
        font-size: 0.8rem;
    }

    .expand-toggle-sm {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }

    .expand-chevron {
        border-left-width: 4px;
        border-right-width: 4px;
        border-top-width: 5px;
    }

    .expand-chevron-sm {
        border-left-width: 3px;
        border-right-width: 3px;
        border-top-width: 4px;
    }
}

@media (max-width: 480px) {
    .expand-toggle {
        width: 25px;
        height: 25px;
        border-radius: 20%;
        font-size: 0.75rem;
    }

    .expand-toggle-sm {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
    }

    .expand-text,
    .expand-text-sm {
        letter-spacing: 0.1px;
    }
}

/* Dynamic Button Icons - Simple + symbol */
.btn-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin-right: 0.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: currentColor;
}

.dynamic-btn {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.dynamic-btn:hover .btn-icon {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Minimal Tree Structure - Just indentation and connecting lines */
/* Keep existing design but add tree hierarchy */

/* Tree level indentation */
.tree-level-0 {
    margin-left: 0;
}

.tree-level-1 {
    margin-left: 30px;
    position: relative;
}

.tree-level-2 {
    margin-left: 60px;
    position: relative;
}

/* Tree connecting lines for submenus */
.tree-level-1::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 12px;
    height: 2px;
    background-color: #e4e6ea;
    z-index: 1;
}

/* Tree connecting lines for dishes */
.tree-level-2::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 12px;
    height: 2px;
    background-color: #e4e6ea;
    z-index: 1;
}

/* Vertical connecting line for tree children container */
.tree-children {
    position: relative;
    padding-left: 20px;
}

.tree-children::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e4e6ea;
    z-index: 0;
}

/* Tree level specific colors for connecting lines */
.tree-level-0 .tree-children::before {
    background-color: var(--bee-orange-color);
    opacity: 0.3;
}

.tree-level-1 .tree-children::before {
    background-color: #17a2b8;
    opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tree-level-1 {
        margin-left: 20px;
    }

    .tree-level-2 {
        margin-left: 40px;
    }

    .tree-children {
        padding-left: 15px;
    }

    .tree-children::before {
        left: 7px;
    }
}

