.sui-frontend-form-container {
    font-family: -apple-system, sans-serif;
    color: #374151;
    margin-bottom: 2rem;
    max-width: 800px;
}

.sui-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sui-form-field {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.sui-field-100 { width: 100%; }
.sui-field-50 { width: calc(50% - 10px); }
.sui-field-33 { width: calc(33.33% - 13.33px); }

.sui-form-field label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #111827;
}

.sui-required {
    color: #ef4444;
    margin-left: 4px;
}

.sui-form-field input[type="text"],
.sui-form-field input[type="email"],
.sui-form-field input[type="tel"],
.sui-form-field select,
.sui-form-field textarea {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.sui-form-field input:focus,
.sui-form-field select:focus,
.sui-form-field textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.sui-options-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sui-option-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    cursor: pointer;
}

.sui-submit-btn {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 24px;
}

.sui-submit-btn:hover {
    background: #2563eb;
}

.sui-form-submit-row {
    margin-top: 20px;
}

.sui-form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
}

.sui-form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.sui-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Modal Styling */
.sui-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}

.sui-modal-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.sui-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.sui-modal-close:hover {
    color: #111827;
    background: #f3f4f6;
}

.sui-modal-overlay .sui-frontend-form-container {
    margin-bottom: 0;
}
