/* YINNET1.0: login and registration only. Native form actions and hooks stay in WHMCS. */
body.yn-auth{background:#f5f8fa;min-height:100vh;display:flex;flex-direction:column}
.yn-auth #yn-home-main{flex:1;width:100%}
.yn-auth .yn-auth-section{padding:54px 24px 64px}
.yn-auth .yn-auth-shell{margin:0 auto;width:100%;min-width:0}
.yn-auth .yn-login-shell{max-width:510px}
.yn-auth .yn-register-shell{max-width:820px}
.yn-auth .yn-auth-heading{text-align:center;margin:0 0 28px}
.yn-auth .yn-auth-eyebrow{display:inline-block;margin-bottom:12px;padding:4px 12px;border-radius:24px;background:#e7f4ef;color:#007a63;font-size:13px;font-weight:600}
.yn-auth .yn-auth-heading h1{font-family:inherit;font-size:34px;line-height:1.3;font-weight:750;letter-spacing:-.03em;margin:0 0 12px}
.yn-auth .yn-auth-heading p{font-size:15px;line-height:1.7;color:#526276}
.yn-auth .yn-auth-card,.yn-auth #registration .card{border:1px solid #e0e8ee;border-radius:14px;background:#fff;box-shadow:0 8px 24px #193c5010;overflow:visible}
.yn-auth .yn-auth-card{padding:32px}
.yn-auth #registration .card{margin-bottom:20px!important}
.yn-auth #registration .card-body{padding:30px!important}
.yn-auth .yn-form-title{font-family:inherit;font-size:20px;font-weight:650;letter-spacing:-.01em;line-height:1.5;margin:0 0 20px}
.yn-auth .yn-form-title:has(+.yn-form-intro){margin-bottom:5px}
.yn-auth .yn-form-title small{font-size:13px;font-style:normal;font-weight:400;letter-spacing:0}
.yn-auth .yn-form-intro{font-size:14px;line-height:1.7;margin:0 0 23px;color:#5c6c7e}
.yn-auth .form-group{margin-bottom:21px;min-width:0}
.yn-auth .form-group>label{display:block;margin:0 0 8px;font-size:14px;font-weight:550;line-height:1.5;color:#27394e}
.yn-auth .form-control,.yn-auth input.field,.yn-auth select.field,.yn-auth select.custom-select{display:block;width:100%;min-width:0;min-height:50px;height:auto;padding:12px 14px;border:1px solid #cad6df;border-radius:7px;background-color:#fff;color:#14283e;font-family:inherit;font-size:16px;font-weight:400;line-height:1.5;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.yn-auth select.field,.yn-auth select.custom-select{height:50px;padding-right:30px}
.yn-auth .form-control::placeholder,.yn-auth input.field::placeholder{color:#85929f;opacity:1}
.yn-auth .form-control:focus,.yn-auth input.field:focus,.yn-auth select.field:focus{outline:0;border-color:#008f76;box-shadow:0 0 0 3px #008f7618}
.yn-auth .form-control[readonly],.yn-auth .field[readonly]{background:#f5f8fa}
.yn-auth .form-group:last-child{margin-bottom:0}
.yn-auth #registration .row>.col-sm-6 .form-group,.yn-auth #registration .row>.col-sm-12 .form-group,.yn-auth #registration .row>.col-sm-4 .form-group,.yn-auth #registration .row>.col-sm-5 .form-group,.yn-auth #registration .row>.col-sm-3 .form-group{margin-bottom:20px}
.yn-auth .row{margin-left:-10px;margin-right:-10px}
.yn-auth .row>[class*="col-"]{padding-left:10px;padding-right:10px;min-width:0}
.yn-auth .yn-required{color:#b8453c;margin-left:2px;font-weight:500}
.yn-auth .yn-optional{font-size:12px;color:#718194;font-weight:400;margin-left:6px}
.yn-auth .yn-auth-notice{padding:13px 16px;margin:0 0 24px;border-left:3px solid #00967c;border-radius:0 7px 7px 0;background:#eef8f4;color:#315d50;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.yn-auth .yn-password-field{flex-wrap:nowrap;border:1px solid #cad6df;border-radius:7px;background:#fff;transition:border-color .15s,box-shadow .15s}
.yn-auth .yn-password-field:focus-within{border-color:#008f76;box-shadow:0 0 0 3px #008f7618}
.yn-auth .yn-password-field .form-control{border:0;box-shadow:none;border-radius:7px;min-height:48px}
.yn-auth .yn-password-field .input-group-append{margin:0}
.yn-auth .yn-password-field .btn-reveal-pw{width:48px;padding:0;border:0;border-radius:0 7px 7px 0;background:transparent;color:#67788b;box-shadow:none}
.yn-auth .yn-password-field .btn-reveal-pw:hover{background:#f0f6f4;color:#007b65}
.yn-auth .yn-login-options{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0;font-size:14px;line-height:1.6}
.yn-auth .yn-login-options a,.yn-auth .yn-auth-card-foot a,.yn-auth .yn-auth-switch a{color:#007a63;font-weight:600}
.yn-auth .yn-checkbox{display:inline-flex;gap:9px;align-items:center;margin:0;font-size:14px;cursor:pointer}
.yn-auth input[type=checkbox]{width:17px;height:17px;min-width:17px;accent-color:#008f76;cursor:pointer}
.yn-auth .yn-login-options input{position:static;margin:0;flex-shrink:0}
.yn-auth .yn-auth-submit,.yn-auth .yn-register-submit .btn{display:block;width:100%;min-height:52px;border:1px solid #008f76;border-radius:7px;background:#008f76;color:#fff;padding:13px 20px;font-size:16px;font-weight:650;line-height:1.5;box-shadow:0 3px 7px #00776112;transition:background .15s,box-shadow .15s}
.yn-auth .yn-auth-submit:hover,.yn-auth .yn-register-submit .btn:hover{background:#007661;border-color:#007661;box-shadow:0 5px 12px #0077611c}
.yn-auth .btn-primary:disabled{cursor:default;opacity:.65}
.yn-auth .yn-auth-card-foot{border-top:1px solid #e4ebf0;margin:28px 0 0;padding-top:24px;text-align:center;font-size:14px;line-height:1.7;color:#58697c}
.yn-auth .yn-auth-card-foot a,.yn-auth .yn-auth-switch a{margin-left:5px}
.yn-auth .yn-auth-switch{text-align:center;margin-top:22px;font-size:14px}
.yn-auth .yn-register-submit{margin:25px 0 0}
.yn-auth .yn-register-submit .btn{max-width:100%}
.yn-auth .yn-provider-divider{display:flex;align-items:center;gap:14px;color:#7b8a99;font-size:13px;margin:24px 0 18px}
.yn-auth .yn-provider-divider:before,.yn-auth .yn-provider-divider:after{content:"";height:1px;background:#e4ebf0;flex:1}
.yn-auth .social-signin-btns{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.yn-auth .social-signin-btns>*{max-width:100%}
.yn-auth .providerLinkingFeedback:empty{display:none}
.yn-auth .sub-heading{margin:0 0 20px;font-size:14px;color:#58697c;text-align:center}
.yn-auth .form-check{position:relative;padding-left:28px;margin-bottom:15px;color:#405267;font-size:14px;line-height:1.85;overflow-wrap:anywhere}
.yn-auth .form-check:last-child{margin-bottom:0}
.yn-auth .form-check-input{margin-left:-27px;margin-top:5px}
.yn-auth .form-check a{color:#007a63;text-decoration:underline;text-underline-offset:3px}
.yn-auth .password-strength-meter{padding-top:7px}
.yn-auth .password-strength-meter .progress{height:5px;border-radius:8px;margin-bottom:8px;background:#eaf0f4}
.yn-auth #passwordStrengthTextLabel{font-size:12px;text-align:left!important;line-height:1.7}
.yn-auth .generate-password{font-size:14px;min-height:40px;padding:7px 14px;border-radius:6px;background:#f3f8f6;border:1px solid #d3e6de;color:#08765f}
.yn-auth .field-help-text{display:block;font-size:13px;color:#68798a;line-height:1.7;margin-top:6px;overflow-wrap:anywhere}
.yn-auth .control input:not([type=checkbox]):not([type=radio]),.yn-auth .control select,.yn-auth .control textarea{max-width:100%}
.yn-auth .alert{border-radius:8px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.yn-auth .alert ul{margin:0;padding-left:20px}
.yn-auth .alert a{text-decoration:underline}
.yn-auth .captcha-20i{margin:22px 0}
.yn-auth .captcha-20i p{font-size:14px;line-height:1.7;margin-bottom:14px;width:100%}
.yn-auth #default-captcha-domainchecker{margin:0;align-items:center}
.yn-auth .captchaimage img{max-width:100%;height:auto}
.yn-auth .recaptcha-container{max-width:100%}
.yn-auth .iti,.yn-auth .intl-tel-input{width:100%;max-width:100%}
.yn-auth .iti .form-control,.yn-auth .iti input.field{padding-left:52px}
.yn-auth .iti .iti__selected-dial-code{font-size:14px}
.yn-auth .iti__country-list,.yn-auth .country-list{max-width:min(400px,calc(100vw - 48px));white-space:normal}
.yn-auth .iti--separate-dial-code input{padding-left:96px}
.yn-auth .yn-footer{background:#fff;padding:24px 0}
.yn-auth .modal-content{border:1px solid #dfe8ef;border-radius:12px;box-shadow:0 18px 50px #132f4826}
.yn-auth .modal-header{align-items:center;border-radius:11px 11px 0 0;background:#f0f7f4!important;color:#14283e!important;border-bottom:1px solid #e0e8ee}
.yn-auth .modal-title{font-family:inherit;font-size:20px;font-weight:650;line-height:1.5}
.yn-auth .modal-header .close{color:#405267;font-size:26px;opacity:1;text-shadow:none}
.yn-auth .modal-body{padding:24px}
.yn-auth .modal-footer{border-top:1px solid #e4ebf0;gap:8px}
.yn-auth .modal .btn{border-radius:6px;white-space:normal}
.yn-auth .modal .btn-primary{background:#008f76;border-color:#008f76;color:#fff}
.yn-auth .modal .btn-default{background:#f3f6f8;color:#27394e;border:1px solid #dce5eb}
.yn-auth .modal .col-form-label{font-size:14px;line-height:1.6}
@media(min-width:768px){.yn-auth.yn-auth-login .yn-auth-section{padding-top:64px}}
@media(max-width:767px){
 .yn-auth .yn-auth-section{padding:32px 20px 40px}
 .yn-auth .yn-auth-heading{margin-bottom:24px}
 .yn-auth .yn-auth-heading h1{font-size:28px;margin-bottom:10px}
 .yn-auth .yn-auth-heading p{font-size:14px}
 .yn-auth .yn-auth-eyebrow{margin-bottom:10px}
 .yn-auth .yn-auth-card{padding:24px 20px;border-radius:12px}
 .yn-auth #registration .card{border-radius:12px;margin-bottom:16px!important}
 .yn-auth #registration .card-body{padding:23px 20px!important}
 .yn-auth #registration .row>[class*="col-"]{flex:0 0 100%;max-width:100%}
 .yn-auth .yn-form-title{font-size:19px}
 .yn-auth .yn-form-intro{margin-bottom:20px}
 .yn-auth .yn-login-options{gap:10px;font-size:13px;margin:22px 0}
 .yn-auth .yn-checkbox{font-size:13px;gap:7px}
 .yn-auth .yn-auth-card-foot{font-size:13px;padding-top:22px;margin-top:25px}
 .yn-auth .yn-auth-notice{padding:11px 13px;font-size:13px;line-height:1.8}
 .yn-auth .password-strength-meter{padding-top:0;margin-bottom:4px}
 .yn-auth #registration .yn-register-submit{margin-top:20px}
 .yn-auth .captcha-20i>.col-md-8{flex-basis:100%;max-width:100%;padding:0}
 .yn-auth .modal-dialog{margin:18px 12px}
 .yn-auth .modal-body{padding:20px}
}
@media(max-width:359px){
 .yn-auth .yn-auth-section{padding-left:12px;padding-right:12px}
 .yn-auth .yn-auth-card{padding:22px 16px}
 .yn-auth #registration .card-body{padding:22px 16px!important}
 .yn-auth .yn-auth-heading h1{font-size:26px}
 .yn-auth .yn-login-options{gap:8px;flex-wrap:wrap}
 .yn-auth .recaptcha-container{transform:scale(.84);transform-origin:left center;width:304px;max-width:none;margin-left:0!important;margin-right:-49px!important}
}
@media(prefers-reduced-motion:reduce){.yn-auth .form-control,.yn-auth input.field,.yn-auth select.field,.yn-auth .yn-password-field,.yn-auth .yn-auth-submit,.yn-auth .yn-register-submit .btn{transition:none}}

@media(min-width:360px) and (max-width:389px){.yn-auth .recaptcha-container{transform:scale(.84);transform-origin:left center;width:304px;max-width:none;margin-left:0!important;margin-right:-49px!important}}
/* The parent theme uses ID selectors on registration fields; match that specificity. */
.yn-auth #registration{padding:0;margin:0}
.yn-auth #registration .form-group>label{font-size:14px;font-weight:550;color:#27394e;line-height:1.5;margin-bottom:8px}
.yn-auth #registration .field,.yn-auth #registration .form-control,.yn-auth #registration select.custom-select{font-family:inherit;font-size:16px;font-weight:400;line-height:1.5;color:#14283e;border:1px solid #cad6df;border-radius:7px;background-color:white;padding:12px 14px;box-shadow:none}
.yn-auth #registration .field::placeholder,.yn-auth #registration .form-control::placeholder{color:#85929f;opacity:1}
.yn-auth #registration .field:focus,.yn-auth #registration .form-control:focus{outline:0;border-color:#008f76;box-shadow:0 0 0 3px #008f7618}
.yn-auth #registration .form-check{font-size:14px;line-height:1.85;color:#405267}
.yn-auth #registration .intl-tel-input.separate-dial-code input{padding-left:92px}
.yn-auth #registration .intl-tel-input .selected-flag{border-radius:6px 0 0 6px;background:#f3f7f9}
.yn-auth #registration .intl-tel-input .country-list{border-radius:7px;border-color:#dbe5eb;box-shadow:0 7px 20px #193c5014}
.yn-auth #registration .field-help-text{font-size:13px;line-height:1.7;color:#68798a}
/* Native provider linking uses both hidden conventions; keep prelinked password fields hidden. */
.yn-auth #containerPassword.hidden{display:none}

/* Email preferences: a native checkbox, styled without the Bootstrap Switch wrapper. */
.yn-auth .yn-marketing-heading{display:flex;align-items:center;gap:12px}
.yn-auth .yn-marketing-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;background:#edf7f3;border:1px solid #dbede5;border-radius:11px;color:#007b65}
.yn-auth .yn-marketing-icon .yn-icon{width:20px;height:20px;stroke-width:1.8}
.yn-auth .yn-marketing-heading .yn-form-title{margin:0;font-size:19px;line-height:1.5;flex:1;min-width:0}
.yn-auth .yn-marketing-optional{font-size:13px;font-weight:400;line-height:1.6;color:#647386;background:#f3f6f8;border-radius:5px;padding:3px 9px;white-space:nowrap}
.yn-auth .yn-marketing-description{margin:16px 0 20px;font-size:15px;font-weight:400;line-height:1.8;color:#58697b;overflow-wrap:anywhere}
.yn-auth .yn-marketing-description p{font:inherit;margin:0 0 8px}
.yn-auth .yn-marketing-description>:last-child{margin-bottom:0}
.yn-auth .yn-marketing-description a{color:#007a63;text-decoration:underline;text-underline-offset:3px}
.yn-auth .yn-marketing-choice{position:relative;display:flex;align-items:center;gap:12px;min-height:58px;padding:12px 16px;margin:0;background:#f6f9f8;border:1px solid #e1ebe7;border-radius:9px;cursor:pointer}
.yn-auth .yn-marketing-label{flex:1;min-width:0;font-size:15px;font-weight:550;line-height:1.6;color:#283e48}
.yn-auth .yn-marketing-state{flex:0 0 auto;font-size:13px;line-height:1.5;color:#647386}
.yn-auth .yn-marketing-track{position:relative;display:block;flex:0 0 46px;width:46px;height:26px;border-radius:20px;background:#8695a2;box-shadow:inset 0 0 0 1px #00000006;transition:background .18s}
.yn-auth .yn-marketing-track:after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #162f4329;transition:transform .18s}
.yn-auth input.yn-marketing-input{position:absolute;width:100%;height:100%;min-width:0;inset:0;opacity:0;margin:0;z-index:1;border:0;border-radius:9px}
.yn-auth .yn-marketing-on{display:none}
.yn-auth .yn-marketing-input:checked~.yn-marketing-state{color:#007a63}
.yn-auth .yn-marketing-input:checked~.yn-marketing-state .yn-marketing-on{display:inline}
.yn-auth .yn-marketing-input:checked~.yn-marketing-state .yn-marketing-off{display:none}
.yn-auth .yn-marketing-input:checked~.yn-marketing-track{background:#008f76}
.yn-auth .yn-marketing-input:checked~.yn-marketing-track:after{transform:translateX(20px)}
.yn-auth .yn-marketing-input:focus-visible~.yn-marketing-track{outline:3px solid #008f7659;outline-offset:4px}
.yn-auth .yn-marketing-input:disabled~span{opacity:.55}
.yn-auth input.yn-marketing-input:disabled{cursor:default}
@media(hover:hover){.yn-auth .yn-marketing-choice:hover{border-color:#adcebf;background:#f0f7f3}}
@media(max-width:767px){.yn-auth .yn-marketing-choice{padding:12px;gap:10px}.yn-auth .yn-marketing-heading{gap:10px}.yn-auth .yn-marketing-heading .yn-form-title{font-size:18px}.yn-auth .yn-marketing-description{font-size:14px;line-height:1.85}}
@media(prefers-reduced-motion:reduce){.yn-auth .yn-marketing-track,.yn-auth .yn-marketing-track:after{transition:none}}
@media(forced-colors:active){.yn-auth .yn-marketing-track{border:1px solid ButtonText;background:Canvas}.yn-auth .yn-marketing-track:after{background:ButtonText}.yn-auth .yn-marketing-input:checked~.yn-marketing-track{background:Highlight}.yn-auth .yn-marketing-input:checked~.yn-marketing-track:after{background:HighlightText}.yn-auth .yn-marketing-input:focus-visible~.yn-marketing-track{outline-color:Highlight}}

/* Keep short introductions balanced and email information on separate lines. */
.yn-auth .yn-auth-heading p{max-width:36em;margin-inline:auto;text-wrap:balance}
.yn-auth .yn-form-intro{text-wrap:pretty}
.yn-auth .yn-marketing-copy-line{display:block}
.yn-auth .yn-marketing-copy-line+.yn-marketing-copy-line{margin-top:4px}

/* Password recovery reuses the public authentication layout and native form hooks. */
.yn-auth .yn-reset-card.primary-content{float:none;width:100%;min-height:0;padding:32px;margin:0}
.yn-auth .yn-reset-form>.form-group{margin-bottom:24px}
.yn-auth .yn-reset-form>.yn-auth-submit{margin-top:26px}
.yn-auth .yn-reset-card .alert{margin:0 0 24px}
.yn-auth .yn-reset-card .alert:last-child{margin-bottom:0}
.yn-auth .yn-reset-result{text-align:center}
.yn-auth .yn-reset-success-icon{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:#e7f5ee;color:#008367;font-size:22px;margin-bottom:18px}
.yn-auth .yn-reset-result-title{font-family:inherit;font-size:22px;font-weight:700;line-height:1.5;margin:0 0 12px;overflow-wrap:anywhere}
.yn-auth .yn-reset-server-message{font-size:15px;line-height:1.85;color:#526276;overflow-wrap:anywhere}
.yn-auth .yn-reset-server-message p{font:inherit;color:inherit;margin:0 0 12px}
.yn-auth .yn-reset-server-message a,.yn-auth .yn-reset-error a{color:#007a63;text-decoration:underline;text-underline-offset:3px}
.yn-auth .yn-reset-strength-label{display:block;font-size:14px;font-weight:550;color:#27394e;line-height:1.5;margin-bottom:10px}
.yn-auth .yn-reset-strength .progress{height:5px;border-radius:5px;background:#eaf0f4;margin:0 0 12px!important}
.yn-auth .yn-reset-password-tip{font-size:13px;line-height:1.8;color:#68798a}
.yn-auth .yn-reset-password-tip span{display:block;margin-top:3px}
.yn-auth .yn-reset-form #inputNewPassword2Msg .form-text{font-size:13px;color:#b8453c!important;margin-top:8px}
.yn-auth .yn-reset-form .yn-password-field:has(.is-invalid){border-color:#bd4c43;box-shadow:0 0 0 3px #bd4c4312}
.yn-auth .yn-reset-form .yn-password-field .form-control.is-invalid{background-image:none}
.yn-auth .yn-reset-actions{display:grid;gap:12px}
.yn-auth .yn-reset-clear{min-height:44px;border:1px solid #dce5eb;border-radius:7px;background:#f6f8fa;color:#536579;font-size:14px;font-weight:550;padding:10px 16px}
.yn-auth .yn-reset-clear:hover{background:#edf3f1;border-color:#bfd5cc;color:#007a63}
.yn-auth .yn-reset-help{font-size:13px;line-height:1.8;color:#68798a}
@media(max-width:767px){.yn-auth .yn-reset-card.primary-content{padding:26px 20px}.yn-auth .yn-reset-result-title{font-size:20px}.yn-auth .yn-reset-server-message{font-size:14px}}
@media(max-width:359px){.yn-auth .yn-reset-card.primary-content{padding:24px 16px}}
