.cnd-auth-modal{position:fixed;inset:0;z-index:100500;display:flex;align-items:center;justify-content:center;padding:1rem;pointer-events:none;visibility:hidden;overflow:hidden;}.cnd-auth-modal.is-open{pointer-events:auto;visibility:visible;}.cnd-auth-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,0);transition:background 0.45s ease;}.cnd-auth-modal.is-open .cnd-auth-modal__backdrop{background:rgb(15 20 30 / 83%);backdrop-filter:blur(6px);}.cnd-auth-modal>.cnd-auth-modal__panel{position:relative;z-index:1;display:flex;flex-direction:column;width:min(100%,440px);max-height:min(92vh,760px);overflow:hidden;background:#fff;border-radius:20px;box-shadow:0 18px 48px rgba(0,0,0,0.18);padding:2rem;transform:translateY(48px);opacity:0;transition:transform 0.5s cubic-bezier(0.32,0.72,0,1),opacity 0.45s ease;}.cnd-auth-modal.is-open>.cnd-auth-modal__panel{transform:translateY(0);opacity:1;}.cnd-auth-modal.is-closing>.cnd-auth-modal__panel{transform:translateY(48px);opacity:0;}.cnd-auth-modal__panels{flex:1 1 auto;min-height:0;overflow:hidden;}.cnd-auth-modal.is-open:not(.is-closing) .cnd-auth-modal__panels{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;}.cnd-auth-modal.is-open:not(.is-closing) .cnd-auth-modal__panels::-webkit-scrollbar{width:0;height:0;}.cnd-auth-modal__panels>.cnd-auth-modal__panel{overflow:visible;max-height:none;padding:0;background:transparent;border-radius:0;box-shadow:none;transform:none;opacity:1;}.cnd-auth-modal.is-closing .cnd-auth-modal__backdrop{background:rgba(0,0,0,0);}.cnd-auth-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:0.75rem;margin-bottom:0.65rem;}.cnd-auth-modal__title{margin:0;font-size:1.35rem;font-weight:700;line-height:1.15;color:#2f3a4f;}.cnd-auth-modal__close{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:0;border-radius:999px;background:rgba(0,0,0,0.06);color:#2f3a4f;cursor:pointer;flex-shrink:0;}.cnd-auth-modal__lead{margin:0 0 1rem;font-size:0.95rem;line-height:1.45;color:#5b6475;}.cnd-auth-modal__tabs{display:grid;grid-template-columns:1fr 1fr;gap:0.5rem;margin-bottom:1rem;padding:0.25rem;border-radius:999px;background:#f2f4f7;}.cnd-auth-modal__tab{border:0;border-radius:999px;background:transparent;color:#5b6475;font-size:0.92rem;font-weight:600;line-height:1;min-height:2rem;cursor:pointer;transition:background-color 0.2s ease,color 0.2s ease,box-shadow 0.2s ease;font-size:.8rem;}.cnd-auth-modal__tab.is-active{background:#fff;color:#2f3a4f;box-shadow:0 1px 4px rgba(0,0,0,0.08);}.cnd-auth-modal__alert{margin-bottom:0.85rem;padding:0.75rem 0.85rem;border-radius:10px;font-size:0.9rem;line-height:1.4;}.cnd-auth-modal__alert.is-error{background:#fff0f0;color:#8a2f2f;border:1px solid #efcaca;}.cnd-auth-modal__alert.is-success{background:#edf9f0;color:#256b3a;border:1px solid #bfe6cb;}.cnd-auth-modal__field{margin-bottom:0.85rem;}.cnd-auth-modal__field label{display:block;margin-bottom:0.25rem;font-size:0.86rem;font-weight:600;color:#4a5568;}.cnd-auth-modal__field input{width:100%;min-height:2.75rem;padding:0.55rem 0.85rem;border:1px solid #c8ceda;border-radius:10px;font-size:0.95rem;color:#2f3a4f;background:#fff;}.cnd-auth-modal__password-wrap{position:relative;display:block;}.cnd-auth-modal__password-wrap input{padding-right:3rem;}.cnd-auth-modal__password-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;padding:4px;border-radius:4px;color:#666;transition:color 0.2s ease;display:flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;}.cnd-auth-modal__password-toggle:hover{color:#292929;}.cnd-auth-modal__password-toggle:focus{outline:2px solid var(--cnd-auth-accent,#03799b);outline-offset:2px;}.cnd-auth-modal__password-toggle .eye-icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}.cnd-auth-modal__password-toggle .eye-icon.eye-closed{display:none;}.cnd-auth-modal__password-toggle.showing .eye-icon.eye-open{display:none;}.cnd-auth-modal__password-toggle.showing .eye-icon.eye-closed{display:block;}.cnd-auth-modal__field input:focus{outline:none;border-color:var(--cnd-auth-accent,#03799b);box-shadow:0 0 0 3px rgba(3,121,155,0.12);}.cnd-auth-modal__checkbox{display:flex;align-items:center;gap:0.5rem;margin:0 0 1rem;font-size:0.88rem;color:#4a5568;cursor:pointer;}.cnd-auth-modal__submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:3rem;border:0;border-radius:999px;background:var(--cnd-auth-accent,#03799b);color:#fff;font-size:1rem;font-weight:700;cursor:pointer;transition:filter 0.2s ease,opacity 0.2s ease;}.cnd-auth-modal__submit:hover{filter:brightness(0.95);}.cnd-auth-modal__submit:disabled{opacity:0.65;cursor:wait;}.cnd-auth-modal__helper{margin:0.85rem 0 0;text-align:center;font-size:0.88rem;}.cnd-auth-modal__helper a{color:#333;text-decoration:none;font-size:0.9rem;}.cnd-auth-modal__helper a:hover{text-decoration:underline;}html.cnd-auth-modal-open,html.cnd-auth-modal-open body{overflow:hidden;}html.cnd-auth-modal-open body{padding-right:var(--scrollbar-width,0);}@media (max-width:767px){.cnd-auth-modal{align-items:flex-end;padding:0;}.cnd-auth-modal>.cnd-auth-modal__panel{width:100%;max-height:92vh;border-radius:20px 20px 0 0;transform:translateY(100%);}.cnd-auth-modal.is-open>.cnd-auth-modal__panel{transform:translateY(0);}.cnd-auth-modal.is-closing>.cnd-auth-modal__panel{transform:translateY(100%);}}