body {
    font-family: sans-serif;
    margin: 0;
}
.main-container {
    margin-left: 250px;
    padding: 20px;
}
.content-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 768px) {
    .content-layout {
        flex-direction: row;
    }
}

.panel {
    flex: 1;
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}
.panel h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}
.form-flex {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.form-flex .input-group {
    display: flex;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .form-flex .input-group {
        flex-direction: row;
    }
}
.form-flex input {
    flex-grow: 1;
}
.form-control {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    outline: none;
}
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-primary {
    background-color: #dc2626;
    color: #fff;
}
.btn-primary:hover {
    background-color: #cc0000;
}
.btn-success {
    background-color: #dc2626;
    color: #fff;
}
.btn-success:hover {
    background-color: #cc0000;
}
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.list-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.category-item:hover {
    background-color: #f9fafb;
}
.category-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
}
.category-info {
    flex-grow: 1;
}
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    flex-direction: column;
    align-items: flex-start;
}
.list-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 0.5rem;
}
.list-item-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.item-image {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}
.item-text-main {
    font-weight: 500;
    color: #374151;
}
.item-text-secondary {
    font-size: 0.875rem;
    color: #6b7280;
}
.item-text-price {
    font-weight: 700;
    color: #ef4444;
}
.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.price-list li {
    font-size: 0.875rem;
    color: #4b5563;
}
.flavor-list {
    list-style: disc;
    padding-left: 1.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    margin-top: 0.5rem;
}
.item-prompt {
    color: #6b7280;
    font-style: italic;
}
.delete-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.delete-btn:hover {
    color: #b91c1c;
    background-color: #fee2e2;
}
        
/* Styles for Dynamic Inputs */
.price-variation-group, .flavor-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}
.price-variation-group .form-control, .flavor-group .form-control {
    flex-grow: 1;
}
.delete-icon-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
}
.delete-icon-btn:hover {
    color: #ef4444;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-active {
    display: flex;
}
.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 400px;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
}
.modal-close-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close-btn:hover {
    color: #6b7280;
}
.form-group {
    margin-bottom: 1rem;
}
.form-label {
    display: block;
    margin-bottom: 0.25rem;
    color: #4b5563;
    font-weight: 500;
}