/* Namespaced AMS frontend profile modal */
.ams-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; z-index: 100000; }
.ams-profile-modal { position: fixed; top: 10%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #ccd0d4; box-shadow: 0 5px 20px rgba(0,0,0,.2); width: 600px; max-width: 90%; display: none; z-index: 100001; }
.ams-profile-modal .ams-modal-header { padding: 12px 16px; border-bottom: 1px solid #e2e4e7; display:flex; justify-content: space-between; align-items:center; }
.ams-profile-modal .ams-modal-title { margin: 0; font-size: 16px; }
.ams-profile-modal .ams-modal-close { text-decoration: none; font-size: 20px; line-height: 20px; color: #777; }
.ams-profile-modal .ams-modal-body { padding: 16px; }
.ams-profile-modal .ams-modal-footer { padding: 12px 16px; border-top: 1px solid #e2e4e7; text-align: right; }
.ams-profile-modal .form-table { width: 100%; }
.ams-profile-modal .form-table th { text-align: left; width: 30%; padding: 8px 10px; vertical-align: top;}
.ams-profile-modal .form-table td { padding: 8px 10px; }
.ams-profile-modal input.regular-text { width: 100%; }
