.nui-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 13000;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: nuiFormFadeIn 0.15s ease-out;
}

@keyframes nuiFormFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.nui-form-modal {
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    animation: nuiFormSlideUp 0.15s ease-out;
}

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

.nui-form-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
}

.nui-form-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.nui-form-modal-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    line-height: 1;
}

.nui-form-modal-close:hover {
    background-color: #e9ecef;
    color: #333;
}

.nui-form-modal-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}
