:root{
  --fm-navy:#F8B900;
  --fm-navy-2:#D8A200;
  --fm-navy-3:#B88500;
  --fm-gold:#F8B900;
  --fm-bg:#FFF9EC;
  --fm-card:#ffffff;
  --fm-border:#EADDB4;
  --fm-muted:#9C8750;
  --fm-text:#6B4D00;
  --fm-glass:rgba(255,255,255,.18);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body.fm-auth-page{
  font-family:Vazirmatn,Tahoma,Arial,sans-serif;
  color:var(--fm-text);
  min-height:100vh;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,.07), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(202,168,79,.14), transparent 22%),
    linear-gradient(145deg,var(--fm-navy) 0%, var(--fm-navy-2) 45%, var(--fm-navy-3) 100%);
  position:relative;
}
body.fm-auth-page:before,
body.fm-auth-page:after{
  content:"";position:fixed;inset:auto;pointer-events:none;z-index:0;border-radius:50%;filter:blur(10px)
}
body.fm-auth-page:before{
  width:440px;height:440px;right:-120px;top:-120px;
  background:radial-gradient(circle, rgba(255,255,255,.13), rgba(255,255,255,.04) 38%, transparent 68%);
  animation:fmOrbA 18s ease-in-out infinite alternate;
}
body.fm-auth-page:after{
  width:360px;height:360px;left:-80px;bottom:-80px;
  background:radial-gradient(circle, rgba(202,168,79,.22), rgba(202,168,79,.06) 32%, transparent 68%);
  animation:fmOrbB 16s ease-in-out infinite alternate;
}
.fm-auth-shell{position:relative;z-index:1;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px 16px;direction:rtl}
.fm-auth-shell.is-embed{min-height:auto;padding:0}
.fm-auth-card{
  position:relative;overflow:hidden;
  width:min(100%, 468px);
  padding:26px 20px 22px;
  border-radius:34px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,253,.95));
  border:1px solid rgba(255,255,255,.4);
  box-shadow:0 28px 80px rgba(5,22,42,.30), inset 0 1px 0 rgba(255,255,255,.85);
  backdrop-filter:blur(18px);
}
.fm-auth-card:before,
.fm-auth-card:after{content:"";position:absolute;pointer-events:none;z-index:0;opacity:.95}
.fm-auth-card:before{
  right:-48px;bottom:-110px;width:230px;height:330px;border-radius:42px;
  background:rgba(248,185,0,.10);transform:rotate(22deg);animation:fmShapeA 15s ease-in-out infinite alternate;
}
.fm-auth-card:after{
  left:8px;bottom:-92px;width:160px;height:230px;border-radius:34px;
  background:rgba(248,185,0,.08);transform:rotate(-27deg);animation:fmShapeB 18s ease-in-out infinite alternate;
}
.fm-auth-card>*{position:relative;z-index:1}
.fm-auth-header{text-align:center;margin-bottom:18px}
.fm-auth-logo{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #EEE1B7}
.fm-auth-logo img{width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(202,168,79,.22));animation:fmLogo 8s ease-in-out infinite}
.fm-auth-logo strong{display:block;font-family:Georgia,serif;font-size:17px;letter-spacing:1.7px;color:#6B4D00}
.fm-auth-logo span{display:block;font-size:6px;letter-spacing:1.85px;color:#B88500;margin-top:2px;font-weight:800}
.fm-auth-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(255,243,211,.85);border:1px solid rgba(202,168,79,.36);backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 8px 18px rgba(202,168,79,.08);font-size:11px;font-weight:900;color:#8A6500}
.fm-auth-kicker:after{content:"";width:7px;height:7px;border-radius:50%;background:var(--fm-gold);box-shadow:0 0 0 5px rgba(202,168,79,.12)}
.fm-auth-header h1{margin:14px 0 8px;font-size:22px;line-height:1.35;color:#6B4D00}
.fm-auth-header p{margin:0 auto;color:var(--fm-muted);font-size:12px;line-height:1.95;max-width:360px}
 .fm-auth-chooser{display:grid;gap:12px;margin:16px 0 10px}
.fm-auth-choice-view{display:grid;gap:14px}
.fm-auth-enter{animation:fmSlideIn .28s cubic-bezier(.2,.8,.2,1)}
.fm-auth-choice-head{display:grid;gap:5px;text-align:center;padding:0 4px}
.fm-auth-choice-head strong{font-size:14px;font-weight:900;color:#6B4D00}
.fm-auth-choice-head span{font-size:11px;color:#9C8750;line-height:1.8}
.fm-auth-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fm-auth-action-grid.single{grid-template-columns:1fr}
.fm-auth-action-card,.fm-auth-method-card{appearance:none;border:1px solid rgba(218,228,237,.95);background:rgba(255,255,255,.82);border-radius:22px;min-height:92px;padding:13px 14px;display:grid;grid-template-columns:42px 1fr 18px;align-items:center;gap:11px;text-align:right;cursor:pointer;font:inherit;color:#6B4D00;box-shadow:0 12px 26px rgba(248,185,0,.08),inset 0 1px 0 rgba(255,255,255,.9);transition:.22s ease;backdrop-filter:blur(12px)}
.fm-auth-action-card:hover,.fm-auth-method-card:hover{transform:translateY(-2px);border-color:rgba(202,168,79,.45);box-shadow:0 16px 30px rgba(248,185,0,.10)}
.fm-auth-action-card.selected,.fm-auth-method-card.selected{border-color:rgba(202,168,79,.55);box-shadow:0 0 0 4px rgba(202,168,79,.09),0 16px 30px rgba(248,185,0,.10)}
.fm-auth-action-icon{width:42px;height:42px;border-radius:15px;background:linear-gradient(145deg,#FFF8E8,#FFF2CC);border:1px solid #EADDB4;display:flex;align-items:center;justify-content:center}
.fm-auth-action-icon img{width:20px;height:20px;object-fit:contain}
.fm-auth-action-copy{display:grid;gap:3px;min-width:0}
.fm-auth-action-copy strong{font-size:14px;font-weight:900;color:#6B4D00}
.fm-auth-action-copy small{font-size:10px;color:#9C8750;line-height:1.5}
.fm-auth-action-arrow{width:20px;height:20px;object-fit:contain;display:block;flex:0 0 20px;transform:none!important}
.fm-auth-choice-topbar{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}
.fm-auth-choice-topbar .fm-auth-choice-head{text-align:right}
.fm-auth-back{appearance:none;border:1px solid rgba(202,168,79,.42);background:linear-gradient(135deg,#E0A600,#7A5B00);color:#fff;border-radius:999px;padding:9px 14px;font:inherit;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(248,185,0,.16);transition:.2s ease;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.fm-auth-back img{width:15px;height:15px;object-fit:contain;filter:brightness(0) invert(1);opacity:.92}
.fm-auth-back:hover{transform:translateY(-1px);box-shadow:0 14px 26px rgba(248,185,0,.22);border-color:rgba(202,168,79,.72)}
.fm-auth-method-grid{display:grid;gap:10px}
.fm-auth-method-card{min-height:78px;grid-template-columns:42px 1fr 18px}
.fm-auth-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-radius:19px;background:rgba(247,250,253,.82);border:1px solid rgba(219,228,237,.95);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.fm-auth-selection-main{display:flex;align-items:center;gap:10px;min-width:0}
.fm-auth-selection-icon{width:38px;height:38px;border-radius:13px;background:#fff;border:1px solid #EADDB4;display:flex;align-items:center;justify-content:center;flex:0 0 38px}
.fm-auth-selection-icon img{width:18px;height:18px;object-fit:contain}
.fm-auth-selection-main>div{display:grid;gap:2px;min-width:0}
.fm-auth-selection-main span{font-size:9.5px;color:#A38C54}
.fm-auth-selection-main strong{font-size:12.5px;color:#6B4D00;font-weight:900}
.fm-auth-selection>button{appearance:none;border:0;background:transparent;color:#A27600;font:inherit;font-size:11px;font-weight:900;cursor:pointer;padding:8px 6px}
.fm-auth-panels{display:grid;gap:10px}
.fm-auth-status{display:none;margin:8px 0 14px;padding:12px 14px;border-radius:18px;font-size:11px;font-weight:800;line-height:1.9}
.fm-auth-status:not(:empty){display:block;animation:fmReveal .2s ease}
.fm-auth-status.is-error{background:#fff1f3;color:#ad2f4b;border:1px solid #f3d1d8}
.fm-auth-status.is-success{background:#eefaf4;color:#0a7752;border:1px solid #F4E8C0}
.fm-auth-panel{display:none;opacity:0;transform:translateY(10px)}
.fm-auth-panel.active{display:block;animation:fmReveal .28s ease forwards}
.fm-auth-panel form{display:grid;gap:13px}
.fm-field{display:grid;gap:8px}
.fm-field-label{font-size:12px;font-weight:900;color:#506b84;padding-inline:4px}
.fm-field-wrap,.fm-auth-input{display:flex;align-items:center;width:100%;min-height:58px;border-radius:18px;border:1px solid var(--fm-border);background:#fff;overflow:hidden;transition:.22s ease;box-shadow:0 8px 20px rgba(12,46,80,.04)}
.fm-field-wrap:focus-within,.fm-auth-input:focus-within,.fm-field-wrap:hover,.fm-auth-input:hover{border-color:#E6D8AF}
.fm-field-wrap:focus-within,.fm-auth-input:focus-within{box-shadow:0 0 0 4px rgba(202,168,79,.12),0 14px 24px rgba(12,46,80,.08);border-color:rgba(202,168,79,.72)}
.fm-field-wrap input,.fm-auth-input input{
  border:0;background:transparent;outline:none;box-shadow:none;
  width:100%;height:56px;padding:0 16px;font:inherit;font-size:14px;color:#6B4D00
}
.fm-auth-input input{direction:ltr;text-align:left}
.fm-field-wrap input::placeholder,.fm-auth-input input::placeholder{color:#B99D59}
.fm-input-icon{display:flex;align-items:center;justify-content:center;width:52px;height:56px;border-right:1px solid #F4E7BE;background:#FFF8E8;flex:0 0 52px}
.fm-input-icon img{width:18px;height:18px;object-fit:contain}
.fm-auth-primary{appearance:none;border:0;min-height:54px;border-radius:18px;background:linear-gradient(135deg,#F8B900,#D8A200);color:#fff;font:inherit;font-size:14px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;box-shadow:0 18px 30px rgba(248,185,0,.20);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;position:relative;overflow:hidden}
.fm-auth-primary:before{content:"";position:absolute;top:0;right:-45%;width:40%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transform:skewX(-20deg);animation:fmShine 4.7s ease-in-out infinite}
.fm-auth-primary:hover{transform:translateY(-2px);box-shadow:0 24px 34px rgba(248,185,0,.24)}
.fm-auth-primary:after{content:"";width:18px;height:18px;background:#fff;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.fm-btn-icon{width:18px;height:18px;object-fit:contain;display:block;flex:0 0 18px}
.fm-auth-primary-send:after{display:none}
.fm-auth-primary-verify:after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12 3.41 13.41 9 19l12-12-1.41-1.41Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12 3.41 13.41 9 19l12-12-1.41-1.41Z'/%3E%3C/svg%3E")}
.fm-auth-primary-login:after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M10 17v-3H3v-4h7V7l5 5-5 5Zm4-14h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5v-2h5V5h-5Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M10 17v-3H3v-4h7V7l5 5-5 5Zm4-14h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5v-2h5V5h-5Z'/%3E%3C/svg%3E")}
.fm-auth-primary:disabled,.fm-auth-panel input:disabled,.fm-auth-link:disabled,.fm-auth-panel button:disabled{opacity:.55;cursor:default;transform:none;filter:none}
.fm-auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#8A7440}
.fm-check{display:flex!important;align-items:center;gap:7px!important;cursor:pointer}
.fm-check input{width:16px;height:16px;accent-color:var(--fm-navy)}
.fm-auth-link{appearance:none;border:0;background:none;padding:0;color:#A27600;font:inherit;font-size:11px;font-weight:900;cursor:pointer}
.fm-auth-phone-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #EADDB4;background:#FFF9EE;padding:13px 14px;border-radius:18px}
.fm-auth-phone-preview>div{display:grid;gap:2px}
.fm-auth-phone-preview span{font-size:10px;color:#9C8750}
.fm-auth-phone-preview strong{font-size:13px;color:#6B4D00;direction:ltr}
.fm-auth-hint{margin:14px 0 0;padding:13px 14px;border-radius:15px;border:1px solid #eef2f6;background:#FFF9EE;color:#9C8750;font-size:11px;line-height:1.9;text-align:center}
.fm-code-input{text-align:center!important;direction:ltr!important;font-size:26px!important;letter-spacing:10px!important;font-weight:900}
.fm-auth-panel small{font-size:10px;color:#99a8b8}
.fm-hidden{display:none!important}
@keyframes fmOrbA{from{transform:translate3d(0,0,0)}to{transform:translate3d(20px,-18px,0)}}
@keyframes fmOrbB{from{transform:translate3d(0,0,0)}to{transform:translate3d(-16px,18px,0)}}
@keyframes fmLogo{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes fmShapeA{0%{transform:rotate(22deg) translateY(0)}100%{transform:rotate(30deg) translateY(-16px)}}
@keyframes fmShapeB{0%{transform:rotate(-27deg) translateY(0)}100%{transform:rotate(-20deg) translateY(-18px)}}
@keyframes fmShine{0%,70%,100%{right:-45%}18%{right:110%}}
@keyframes fmReveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:560px){
  .fm-auth-shell{padding:18px 12px}
  .fm-auth-card{padding:18px 14px 18px;border-radius:28px;width:min(100%, 390px)}
  .fm-auth-logo img{width:46px;height:46px}
  .fm-auth-logo strong{font-size:15px}
  .fm-auth-logo span{font-size:5px}
  .fm-auth-header h1{font-size:20px}
  .fm-auth-header p{font-size:11px}
  .fm-auth-mode-tabs button{min-height:52px;font-size:12px;padding:0 8px}
  .fm-field-wrap,.fm-auth-input{min-height:54px;border-radius:16px}
  .fm-field-wrap input,.fm-auth-input input{height:52px;font-size:13px;padding:0 14px}
  .fm-input-icon{width:50px;height:52px;flex-basis:50px}
  .fm-auth-primary{min-height:50px;border-radius:16px;font-size:13px}
  .fm-code-input{font-size:22px!important;letter-spacing:8px!important}
  .fm-auth-row{flex-direction:column;align-items:flex-start}
}

.fm-auth-primary-send{flex-direction:row-reverse}

/* iOS Safari: prevent focus zoom without disabling user pinch zoom */
@media (max-width:768px){
  .fm-auth-card input[type="text"],
  .fm-auth-card input[type="email"],
  .fm-auth-card input[type="tel"],
  .fm-auth-card input[type="password"],
  .fm-auth-card input[type="number"],
  .fm-auth-card input[type="search"],
  .fm-auth-card textarea,
  .fm-auth-card select{font-size:16px!important;line-height:1.35;-webkit-text-size-adjust:100%}
  .fm-auth-card button,.fm-auth-card input,.fm-auth-card a{touch-action:manipulation}
}
@media(max-width:560px){
  .fm-auth-action-grid{grid-template-columns:1fr}
  .fm-auth-action-card{min-height:76px;border-radius:19px}
  .fm-auth-choice-topbar{grid-template-columns:1fr;gap:9px}
  .fm-auth-choice-topbar .fm-auth-choice-head{text-align:center}
  .fm-auth-back{justify-self:center}
  .fm-auth-method-card{min-height:72px;border-radius:19px}
  .fm-auth-selection{border-radius:17px}
}
@keyframes fmSlideIn{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}

.fm-auth-row a{color:#A27600;text-decoration:none;font-size:11px;font-weight:900;padding:7px 9px;border-radius:10px;transition:.2s ease;background:rgba(49,95,142,.06)}
.fm-auth-row a:hover{background:rgba(49,95,142,.11);color:#7A5B00}
.fm-auth-reset-view{display:grid;gap:16px;margin-top:8px;animation:fmSlideIn .28s ease}
.fm-auth-reset-topbar{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:12px;padding:12px;border-radius:20px;background:rgba(247,250,253,.82);border:1px solid rgba(219,228,237,.95)}
.fm-auth-reset-topbar>div{display:grid;gap:5px;text-align:right}
.fm-auth-reset-topbar strong{font-size:14px;color:#6B4D00;font-weight:900}
.fm-auth-reset-topbar span{font-size:11px;color:#9C8750;line-height:1.8}
.fm-auth-reset-view form{display:grid;gap:13px}
@media(max-width:560px){
  .fm-auth-reset-topbar{grid-template-columns:1fr;gap:10px}
  .fm-auth-reset-topbar .fm-auth-back{justify-self:start}
}

/* AB Login & Register 1.1.0 — brand variables and Elementor-safe layout */
.fm-auth-shell{
  --ablr-card-width:468px;
  --ablr-radius:34px;
  --ablr-padding:26px;
  --fm-navy:var(--ablr-primary,#F8B900);
  --fm-navy-2:var(--ablr-secondary,#D8A200);
  --fm-gold:var(--ablr-accent,#F8B900);
  --fm-bg:var(--ablr-page-bg,#FFF9EC);
  --fm-card:var(--ablr-card,#fff);
  --fm-text:var(--ablr-text,#6B4D00);
  --fm-muted:var(--ablr-muted,#9C8750);
}
.fm-auth-card{width:min(100%,var(--ablr-card-width));border-radius:var(--ablr-radius);padding:var(--ablr-padding) 20px calc(var(--ablr-padding) - 4px);background:linear-gradient(180deg,color-mix(in srgb,var(--fm-card) 97%,transparent),color-mix(in srgb,var(--fm-card) 94%,var(--fm-bg)))}
.fm-auth-header h1,.fm-auth-choice-head strong,.fm-auth-action-copy strong,.fm-auth-selection-main strong,.fm-auth-reset-topbar strong{color:var(--fm-text)}
.fm-auth-header p,.fm-auth-choice-head span,.fm-auth-action-copy small,.fm-auth-selection-main span,.fm-auth-hint,.fm-auth-reset-topbar span{color:var(--fm-muted)}
.fm-auth-logo strong{color:var(--fm-text)}
.fm-auth-logo span{color:var(--fm-gold)}
.fm-auth-primary,.fm-auth-back{background:linear-gradient(135deg,var(--fm-navy-2),var(--fm-navy));}
.fm-auth-primary{box-shadow:0 18px 30px color-mix(in srgb,var(--fm-navy) 18%,transparent)}
.fm-auth-primary:hover{box-shadow:0 24px 34px color-mix(in srgb,var(--fm-navy) 24%,transparent)}
.fm-auth-action-card:hover,.fm-auth-method-card:hover{border-color:color-mix(in srgb,var(--fm-gold) 50%,transparent)}
.fm-auth-action-card.selected,.fm-auth-method-card.selected{border-color:color-mix(in srgb,var(--fm-gold) 60%,transparent);box-shadow:0 0 0 4px color-mix(in srgb,var(--fm-gold) 10%,transparent),0 16px 30px rgba(248,185,0,.10)}
.fm-field-wrap:focus-within,.fm-auth-input:focus-within{box-shadow:0 0 0 4px color-mix(in srgb,var(--fm-gold) 13%,transparent),0 14px 24px rgba(12,46,80,.08);border-color:color-mix(in srgb,var(--fm-gold) 75%,transparent)}
.fm-check input{accent-color:var(--fm-navy)}
.fm-auth-shell.is-embed{width:100%}
.elementor-widget-ab_login_register .fm-auth-shell{width:100%}
@media(max-width:560px){.fm-auth-card{padding:18px 14px 18px;border-radius:min(var(--ablr-radius),28px)}}

/* Optimized final overrides - v1.3.9 */
.fm-auth-shell,.fm-auth-shell *,.fm-auth-card,.fm-auth-card *,
.fm-auth-card input,.fm-auth-card button,.fm-auth-card textarea,.fm-auth-card select{
  font-family:'Vazirmatn',Tahoma,Arial,sans-serif !important;
}
.fm-auth-logo strong,.fm-auth-logo span{
  font-family:'Vazirmatn',Tahoma,Arial,sans-serif !important;
  letter-spacing:0 !important;
}
.fm-auth-logo.has-custom-logo{width:100%;justify-content:center!important;gap:0!important}
.fm-auth-logo.has-custom-logo .fm-auth-brand-copy{display:none!important}
.fm-auth-logo.has-custom-logo img{
  display:block!important;width:auto!important;height:auto!important;
  max-height:72px!important;max-width:220px!important;margin:0 auto!important;object-fit:contain!important
}

.fm-auth-action-card,.fm-auth-method-card,
button.fm-auth-action-card,button.fm-auth-method-card{
  background:#fff!important;background-image:none!important;color:#6B4D00!important
}
.fm-auth-action-card:hover,.fm-auth-method-card:hover,
.fm-auth-action-card.selected,.fm-auth-method-card.selected,
.fm-auth-option:hover,.fm-auth-option.selected,
.fm-auth-card [data-auth-mode]:hover,.fm-auth-card [data-auth-mode].selected,
.fm-auth-card [data-method]:hover,.fm-auth-card [data-method].selected{
  background:#FFF8E8!important;background-image:none!important;
  border-color:#F8B900!important;color:#6B4D00!important;
  box-shadow:0 0 0 3px rgba(248,185,0,.10),0 14px 28px rgba(248,185,0,.12)!important
}
.fm-auth-action-card:hover .fm-auth-action-icon,
.fm-auth-method-card:hover .fm-auth-action-icon,
.fm-auth-action-card.selected .fm-auth-action-icon,
.fm-auth-method-card.selected .fm-auth-action-icon{
  background:#FFF1B8!important;border-color:#F8B900!important
}
.fm-auth-action-card strong,.fm-auth-method-card strong,
.fm-auth-action-card small,.fm-auth-method-card small{color:inherit!important}

.fm-auth-primary,.fm-auth-back{
  background:linear-gradient(135deg,#F8B900,#D8A200)!important;
  border-color:#F8B900!important;color:#171717!important
}

.fm-auth-change,.fm-auth-switch,.fm-auth-card .change-method,.fm-auth-card .fm-change,
.fm-auth-card [data-change-method],.fm-auth-card button[data-change],
.fm-auth-card a[data-change],.fm-auth-selection>button{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:36px;padding:7px 13px!important;border:1px solid #E6C35B!important;
  border-radius:999px!important;background:#FFF8E8!important;color:#8A6500!important;
  font-weight:800!important;text-decoration:none!important;box-shadow:none!important;transition:.2s ease!important
}
.fm-auth-change:hover,.fm-auth-switch:hover,.fm-auth-card .change-method:hover,
.fm-auth-card .fm-change:hover,.fm-auth-card [data-change-method]:hover,
.fm-auth-card button[data-change]:hover,.fm-auth-card a[data-change]:hover,
.fm-auth-selection>button:hover{
  background:#F8B900!important;border-color:#F8B900!important;color:#171717!important;
  transform:translateY(-1px);box-shadow:0 8px 18px rgba(248,185,0,.18)!important
}

.fm-auth-card input:focus,.fm-auth-card select:focus,.fm-auth-card textarea:focus,
.fm-auth-card button:focus-visible,.fm-auth-card a:focus-visible{
  outline:none!important;border-color:#F8B900!important;
  box-shadow:0 0 0 3px rgba(248,185,0,.12)!important
}


/* v1.4.0 - resend link states */
.fm-auth-card .fm-auth-link,
.fm-auth-card button.fm-auth-link{
  appearance:none !important;
  border:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  color:#A27600 !important;
  padding:6px 8px !important;
  border-radius:9px !important;
  font:inherit;
  font-size:11px;
  font-weight:900;
  line-height:1.4;
  cursor:pointer;
  transition:color .18s ease,background-color .18s ease !important;
  transform:none !important;
}

.fm-auth-card .fm-auth-link:hover,
.fm-auth-card button.fm-auth-link:hover{
  background:#FFF7DE !important;
  background-color:#FFF7DE !important;
  background-image:none !important;
  color:#7A5B00 !important;
  border:0 !important;
  box-shadow:none !important;
  transform:none !important;
}

.fm-auth-card .fm-auth-link:focus,
.fm-auth-card .fm-auth-link:focus-visible,
.fm-auth-card button.fm-auth-link:focus,
.fm-auth-card button.fm-auth-link:focus-visible{
  outline:none !important;
  background:#FFF7DE !important;
  color:#7A5B00 !important;
  border:0 !important;
  box-shadow:0 0 0 2px rgba(248,185,0,.16) !important;
}

.fm-auth-card .fm-auth-link:disabled,
.fm-auth-card .fm-auth-link:disabled:hover,
.fm-auth-card button.fm-auth-link:disabled,
.fm-auth-card button.fm-auth-link:disabled:hover{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  color:#BBAA7C !important;
  opacity:.75 !important;
  border:0 !important;
  box-shadow:none !important;
  cursor:default !important;
  transform:none !important;
}
