dialog#authDlg.culine-auth-dialog{box-sizing:border-box;width:min(450px,calc(100vw - 28px));max-width:450px;max-height:90dvh;overflow:auto;background:#14231d;color:#f2f7f3;border:1px solid #365344;border-radius:20px;padding:30px;box-shadow:0 25px 90px #0009}dialog#authDlg.culine-auth-dialog::backdrop{background:#08120dbb;backdrop-filter:blur(4px)}#authDlg .auth-brand{font-size:30px;font-weight:850;letter-spacing:-1.5px;color:#e4f4e9;margin-bottom:24px}#authDlg .auth-brand span{color:#85d3a7}#authDlg #culineAuthTitle{font-size:27px;line-height:1.2;margin:0 35px 8px 0;color:#f4f9f5}#authDlg .auth-subtitle{font-size:14px;color:#b7cbbd;margin:0 0 23px}#authDlg .x{position:absolute;right:16px;top:16px;margin:0}#authDlg .x button{color:#e1eee5;background:#263c30;border:1px solid #42614d;border-radius:9px;min-width:36px;min-height:36px}#authDlg .seg{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#0e1b14;border-radius:12px;margin-bottom:19px}#authDlg .seg button{border:0;border-radius:9px;color:#aec7b7;padding:11px 8px;background:transparent;font-weight:700}#authDlg .seg button.on{background:#2e7156;color:#fff}#authDlg #authForm{gap:12px}#authDlg #authForm input:not([type=checkbox]):not([type=file]){box-sizing:border-box;width:100%;background:#1d3026;border:1px solid #42614e;color:#f5faf6;border-radius:10px;min-height:48px;padding:12px 14px;font:inherit}#authDlg #authForm input::placeholder{color:#a7beae}#authDlg #authForm .pri{min-height:48px;border-radius:10px;background:#a7d7b9;color:#11271b;font-weight:800;border:0}#authDlg #authErr{color:#ffb4a8;margin:0;font-size:13px}#authDlg #authErr:empty{display:none}#authDlg .auth-forgot{display:block;text-align:right;color:#b9e5c9;font-size:13px;margin:12px 0}#authDlg .auth-forgot[hidden],#authDlg .auth-switch[hidden]{display:none}#authDlg .auth-switch{text-align:center;border-top:1px solid #355042;padding-top:18px;margin:20px 0 0;font-size:14px;color:#b7cbbd}#authDlg .auth-switch button{border:0;background:none;color:#b9e5c9;font-weight:750;cursor:pointer}#authDlg [data-reg][hidden]{display:none!important}@media(max-width:520px){dialog#authDlg.culine-auth-dialog{width:100vw;max-width:100vw;max-height:100dvh;min-height:100dvh;margin:0;border-radius:0;padding:24px 18px}}
#authDlg #resetRequestForm[hidden],#authDlg #authForm[hidden],#authDlg .seg[hidden]{display:none!important}#authDlg #resetRequestForm{display:flex;flex-direction:column;gap:14px}#authDlg #resetRequestForm label{font-weight:700;font-size:14px}#authDlg #resetRequestEmail{box-sizing:border-box;width:100%;background:#1d3026;border:1px solid #42614e;color:#f5faf6;border-radius:10px;min-height:48px;padding:12px 14px;font:inherit}#authDlg #resetRequestForm .pri{min-height:48px;background:#a7d7b9;color:#11271b;font-weight:800;border:0;border-radius:10px}#authDlg .reset-hint{font-size:13px;color:#b7cbbd;line-height:1.5;margin:0}#authDlg #resetRequestStatus{font-size:14px;color:#b9e5c9;line-height:1.5;margin:0}#authDlg #resetRequestStatus:empty{display:none}#authDlg .auth-forgot{border:0;background:none;cursor:pointer;margin-left:auto;padding:8px 0;font:inherit;font-size:13px;color:#b9e5c9}#authDlg .auth-back{border:0;background:none;color:#b9e5c9;padding:10px;cursor:pointer;font:inherit}#authDlg .auth-back:hover,#authDlg .auth-forgot:hover{text-decoration:underline}

/* E-posti kinnitamine sisselogimise popupis */
#authDlg #emailConfirmView[hidden]{display:none!important}
#authDlg .culine-confirm-view{text-align:left}
#authDlg .culine-confirm-symbol{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#264a37;color:#b4e3c5;font-size:25px;margin:6px 0 18px}
#authDlg .culine-confirm-view h3{font-size:21px;margin:0 0 10px;color:#effaf1}
#authDlg .culine-confirm-view p{font-size:14px;line-height:1.6;color:#c4d7c9}
#authDlg .culine-confirm-tip{background:#1d3327;border:1px solid #3b5b47;border-radius:10px;padding:12px}
#authDlg #emailConfirmResendForm{margin-top:17px}
#authDlg #emailConfirmResendForm label{font-size:13px;color:#d2e5d7}
#authDlg #emailConfirmAddress{box-sizing:border-box;width:100%;min-height:46px;padding:12px;border:1px solid #42614e;background:#1d3026;border-radius:10px;color:#fff;font:inherit}
#authDlg #emailConfirmStatus{margin:0;color:#c4e8cf;font-size:13px}
#authDlg #emailConfirmResendBtn{width:100%;min-height:46px;border:0;border-radius:10px;background:#a7d7b9;color:#11271b;font-weight:800}
#authDlg #emailConfirmBack{display:block;margin:18px auto 0;border:0;background:transparent;color:#b9e5c9;cursor:pointer}

/* Prevent auth actions from colliding on narrow screens. */
#authDlg .auth-forgot{max-width:100%;width:max-content;white-space:normal;overflow-wrap:anywhere;text-align:right;line-height:1.45}
#authDlg .auth-switch{line-height:1.55;overflow-wrap:anywhere}
#authDlg .seg button{min-width:0;white-space:normal;line-height:1.3}
#authDlg #authForm .pri{width:100%;white-space:normal}
