.caterer-edit-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 35, 48, 0.65);
    backdrop-filter: blur(4px);
}

.caterer-edit-backdrop .caterer-edit-modal {
    position: relative;
    width: 600px;
    min-width: 0;
    max-width: 100%;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    background: #fff;
    color: #2b455c;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    font-family: 'Poppins', sans-serif;
}

.caterer-edit-modal .caterer-edit-header {
    padding: 22px 24px;
    border-bottom: 1px solid #e1e6eb;
    background: #f5f7f9;
}

.caterer-edit-header h4 {
    margin: 0;
    color: #2b455c;
    font-size: 22px;
    font-weight: 600;
}

.caterer-edit-fields {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.caterer-edit-body {
    padding: 24px;
}

.caterer-edit-body label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #2b455c;
}

.caterer-edit-body input {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #cbd3da;
    border-radius: 6px;
    background: #fff;
    color: #263746;
    font: inherit;
    font-size: 14px;
}

.caterer-edit-body small {
    display: block;
    margin-top: 8px;
    color: #5f6c78;
    font-size: 12px;
    line-height: 1.6;
}

.caterer-edit-body p {
    margin: 12px 0;
    font-size: 14px;
}

.caterer-edit-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e1e6eb;
    background: #f5f7f9;
}

.caterer-edit-modal .caterer-edit-button {
    position: static;
    width: auto;
    min-height: 40px;
    margin: 0;
    padding: 9px 16px;
    border: 1px solid #cbd3da;
    border-radius: 6px;
    background: #fff;
    color: #2b455c;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.caterer-edit-modal .caterer-edit-save {
    background: #2b455c;
    border-color: #2b455c;
    color: #fff;
}

.caterer-edit-modal .caterer-edit-remove {
    color: #b42323;
    border-color: #b42323;
}

.caterer-edit-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.caterer-edit-button:focus-visible {
    outline: 3px solid #02c7ca;
    outline-offset: 2px;
}

.caterer-logo-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}

.caterer-logo-preview {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.caterer-logo-full {
    display: block;
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    margin-bottom: 12px;
}
.caterer-create-content {
    position: relative;
}

.caterer-create-loading {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: #2b455c;
}

.caterer-create-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e1e6eb;
    border-top-color: #2b455c;
    border-radius: 50%;
    animation: caterer-create-spin 1s linear infinite;
}

@keyframes caterer-create-spin {
    to { transform: rotate(360deg); }
}

