/* My Account > Security. Two-Factor's markup was written for wp-admin; these rules fit it into the theme. */
/* The theme caps My Account forms at 400px; the two-factor options get 600px. */
.woocommerce .woocommerce-MyAccount-content form.emode-2fa-form,
.woocommerce .woocommerce-MyAccount-content form.emode-2fa-trusted,
.emode-2fa-security > p { max-width: 600px; }
/* "main.main" outranks the theme's My Account rule (.page-id-9 main.main p/table { margin: 0 auto 0 0; width: 95% }). */
main.main .emode-2fa-security .form-table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
.emode-2fa-security .form-table th,
.emode-2fa-security .form-table td { text-align: left; vertical-align: top; padding: 0.75rem 0.5rem; border-bottom: 1px solid #e6e6e6; }
.emode-2fa-security .two-factor-methods-table td,
.emode-2fa-security .two-factor-methods-table th { padding: 0.75rem 0.5rem; }
.emode-2fa-security fieldset { border: 0; padding: 0; margin: 0; }
.emode-2fa-security fieldset[disabled] { opacity: 0.6; }
.emode-2fa-security .screen-reader-text { position: absolute; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.emode-2fa-security .notice { border-left: 4px solid #3634A3; background: #f3f3f3; padding: 0.5rem 1rem; margin: 0 0 1rem; }
.emode-2fa-security .notice-warning { border-left-color: #FEBD2A; }
.emode-2fa-security .notice-error { border-left-color: #FF3A5F; }
.emode-2fa-security .notice p { margin: 0.25rem 0; }
.emode-2fa-security code { word-break: break-all; }
.emode-2fa-security #two-factor-qr-code img,
.emode-2fa-security #two-factor-qr-code svg,
.emode-2fa-security #two-factor-qr-code canvas { max-width: 200px; height: auto; }
.emode-2fa-security .two-factor-backup-codes-list { list-style: none; margin: 0.5rem 0; columns: 2; font-family: monospace; }
.emode-2fa-security .button { margin-right: 0.5rem; }

/* Smaller "Configure a primary two-factor method..." paragraph. */
.emode-2fa-security #two-factor-options > p:first-of-type { font-size: 0.875rem; }
/* "This invalidates all currently stored codes." on its own line. */
.emode-2fa-security .button-two-factor-backup-codes-generate + em { display: block; margin-top: 0.5rem; }
/* The email address in "Authentication codes will be sent to ...", in the theme's link color. */
.emode-2fa-security .emode-2fa-email { color: #3634A3; }
/* Breathing room above Save. */
main.main .emode-2fa-security .emode-2fa-save { margin: 0.5rem 0 0; display: flex; align-items: center; }
/* The theme's back button carries 1rem vertical margins meant for product pages; line it up with Save. */
.woocommerce .emode-2fa-security .emode-2fa-save a.custom_back { margin-top: 0; margin-bottom: 0; }
/* Space above the Trusted browsers section (outranks the theme's My Account h2 margin). */
main.main .emode-2fa-security h2.emode-2fa-trusted-heading { margin-top: 2.5rem; }
