/* Veltrix account experience: TML login, registration, recovery & dashboard */
.veltrix-account-page {
  --auth-bg:#f5f0ed; --auth-card:#fff; --auth-text:#252123;
  --auth-muted:#786f73; --auth-border:#e8deda; --auth-input:#fff;
  --auth-accent:#bd8c75;
  color:var(--auth-text); background:var(--auth-bg);
  min-height:75vh; width:100%; max-width:100%; overflow-x:clip;
  box-sizing:border-box;
}
html[data-theme="dark"] .veltrix-account-page,
body[data-theme="dark"] .veltrix-account-page,
html.dark .veltrix-account-page, body.dark-mode .veltrix-account-page,
body.dark-theme .veltrix-account-page {
  --auth-bg:#101011; --auth-card:#1b1b1c; --auth-text:#f5eeeb;
  --auth-muted:#b9adaf; --auth-border:#3c3537; --auth-input:#202021;
  --auth-accent:#e0b99f;
}
.veltrix-account-page *, .veltrix-account-page *::before,
.veltrix-account-page *::after {box-sizing:border-box;}
.veltrix-auth-section {
  position:relative; isolation:isolate; min-height:75vh;
  display:flex; align-items:center; justify-content:center;
  padding:64px 20px 80px; overflow:hidden;
}
.veltrix-auth-decoration { position:absolute; z-index:-1; pointer-events:none;
  width:min(820px,95vw); aspect-ratio:1; top:50%; left:50%;
  transform:translate(-50%,-50%); border:1px solid var(--auth-border);
  border-radius:50%; opacity:.4; }
.veltrix-auth-decoration::before,.veltrix-auth-decoration::after {
  content:""; position:absolute; border:1px solid var(--auth-border);
  border-radius:50%; inset:12%; }
.veltrix-auth-decoration::after{inset:26%;}
.veltrix-auth-card {
  position:relative; z-index:1; width:min(100%,530px); max-width:530px;
  min-width:0; margin:0 auto; padding:43px 42px 38px;
  background:var(--auth-card); border:1px solid var(--auth-border);
  border-radius:24px; box-shadow:0 22px 60px rgba(0,0,0,.09);
}
.veltrix-auth-heading{text-align:center;margin:0 0 29px;}
.veltrix-auth-eyebrow{display:block;color:var(--auth-accent);font-size:11px;
  letter-spacing:2.5px;font-weight:700;margin-bottom:13px;}
.veltrix-auth-heading h1{font:500 clamp(28px,4vw,35px)/1.2 Georgia,'Times New Roman',serif;
  margin:0 0 10px;color:var(--auth-text);}
.veltrix-auth-heading p{color:var(--auth-muted);font-size:13px;line-height:1.6;margin:0;}
.veltrix-auth-form,.veltrix-auth-form .tml,.veltrix-auth-form .tml form {
  width:100%;max-width:100%;min-width:0;margin:0;
}
.veltrix-auth-form .tml form{display:flex;flex-direction:column;gap:16px;}
.veltrix-auth-form .tml-field-wrap,
.veltrix-auth-form .tml-indicator-wrap,
.veltrix-auth-form .tml-indicator-hint,
.veltrix-auth-form .tml-submit-wrap {width:100%;min-width:0;max-width:100%;
  margin:0;padding:0;min-height:0;height:auto;}
.veltrix-auth-form .tml-label{display:block;color:var(--auth-muted);
  font-size:13px;font-weight:500;margin:0 0 7px;}
.veltrix-auth-form .tml-field,
.veltrix-auth-form input[type="text"],
.veltrix-auth-form input[type="email"],
.veltrix-auth-form input[type="password"]{
  display:block;width:100%;min-width:0;max-width:100%;height:48px;
  border:1px solid var(--auth-border);border-radius:9px;
  padding:10px 13px;font-size:14px;font-family:inherit;
  color:var(--auth-text);background:var(--auth-input);
  outline:none;box-shadow:none;}
.veltrix-auth-form .tml-field:focus,
.veltrix-auth-form input:focus-visible{border-color:var(--auth-accent);
  outline:2px solid transparent;box-shadow:0 0 0 3px rgba(201,149,121,.14);}
.veltrix-auth-form .tml-pwd-wrap{position:relative;width:100%;min-width:0;}
.veltrix-auth-form .tml-pwd-wrap input{padding-right:46px;}
.veltrix-auth-form .tml-pwd-wrap button{color:var(--auth-muted);}
.veltrix-auth-form .tml-rememberme-wrap{display:flex;align-items:center;gap:8px;}
.veltrix-auth-form .tml-rememberme-wrap label{font-size:13px;color:var(--auth-muted);}
.veltrix-auth-form input[type="checkbox"]{width:16px;height:16px;accent-color:var(--auth-accent);}
.veltrix-auth-form .tml-button,
.veltrix-auth-form input[type="submit"],.veltrix-auth-button {
  display:flex;justify-content:center;align-items:center;width:100%;
  min-height:52px;padding:12px 18px;border:0;border-radius:32px;
  background:linear-gradient(105deg,#d8b593,#ebc2cc);color:#241c1c;
  font-family:inherit;font-size:13px;font-weight:700;line-height:1.4;letter-spacing:1.4px;text-transform:uppercase;
  text-align:center;text-decoration:none;cursor:pointer;
  transition:transform .2s,box-shadow .2s;
}
.veltrix-auth-form .tml-button:hover,
.veltrix-auth-form input[type="submit"]:hover,.veltrix-auth-button:hover {
  transform:translateY(-2px);box-shadow:0 8px 22px rgba(201,149,121,.22);color:#241c1c;}
.veltrix-auth-form .tml-button:focus-visible,
.veltrix-auth-button:focus-visible {outline:3px solid var(--auth-accent);outline-offset:3px;}
/* Password strength rows must never reserve a tall placeholder. Keep the hint visible. */
.veltrix-auth-form .tml-register .tml-indicator-wrap,
.veltrix-auth-form .tml-register .tml-indicator-hint,
.veltrix-auth-form .tml-register .tml-indicator,
.veltrix-auth-form .tml-register .tml-indicator-hint-wrap,
.veltrix-auth-form .tml-register #pass-strength-result,
.veltrix-auth-form .tml-register .description,
.veltrix-auth-form .tml-register .tml-description {
  margin:0!important;padding:0!important;height:auto!important;min-height:0!important;
  max-width:100%;font-size:12px;line-height:1.6;color:var(--auth-muted);
}
.veltrix-auth-form .tml-register .tml-indicator:empty,
.veltrix-auth-form .tml-register .tml-indicator-wrap:empty {display:none;}
.veltrix-auth-form .tml-register .tml-indicator-hint,
.veltrix-auth-form .tml-register .description {overflow-wrap:anywhere;}
.veltrix-auth-form .tml-register .tml-form {gap:14px;}
.veltrix-auth-form .tml-errors,.veltrix-auth-form .tml-messages,
.veltrix-auth-form .tml-message,.veltrix-auth-notice {
  margin:0 0 16px;padding:12px 14px;border:1px solid var(--auth-border);
  border-radius:9px;color:var(--auth-text);background:var(--auth-bg);
  line-height:1.6;font-size:13px;overflow-wrap:anywhere;}
.veltrix-auth-form .tml-errors{border-color:#b84646;}
.veltrix-auth-form .tml-errors li,.veltrix-auth-form .tml-messages li{margin:0 0 4px;}
.veltrix-auth-footer{margin-top:24px;padding-top:19px;border-top:1px solid var(--auth-border);text-align:center;}
.veltrix-auth-footer p{margin:0;color:var(--auth-muted);font-size:13px;line-height:1.8;}
.veltrix-auth-footer a,.veltrix-auth-text-link {color:var(--auth-accent);font-weight:700;text-decoration:none;}
.veltrix-auth-footer a:hover,.veltrix-auth-text-link:hover{text-decoration:underline;}
.veltrix-auth-secondary-link{display:inline-block;margin-top:12px;font-size:13px;}
/* Dashboard */
.veltrix-dashboard{max-width:850px;width:100%;padding:38px 38px 34px;}
.veltrix-dashboard-header{display:flex;gap:18px;align-items:center;margin-bottom:28px;}
.veltrix-dashboard-avatar{width:70px;height:70px;flex:0 0 70px;border-radius:50%;
  overflow:hidden;background:var(--auth-bg);border:1px solid var(--auth-border);}
.veltrix-dashboard-avatar img{display:block;width:100%;height:100%;object-fit:cover;}
.veltrix-dashboard-header h1{font:500 clamp(25px,4vw,34px)/1.2 Georgia,serif;
  color:var(--auth-text);margin:0 0 5px;}
.veltrix-dashboard-email{color:var(--auth-muted);font-size:13px;overflow-wrap:anywhere;margin:0;}
.veltrix-dashboard-title{font-size:12px;letter-spacing:2px;color:var(--auth-accent);
  text-transform:uppercase;font-weight:700;margin:0 0 15px;}
.veltrix-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.veltrix-dashboard-tile{display:flex;flex-direction:column;gap:8px;padding:23px;
  border:1px solid var(--auth-border);border-radius:15px;background:var(--auth-bg);
  text-decoration:none;color:var(--auth-text);transition:transform .2s,border-color .2s;}
.veltrix-dashboard-tile:hover{transform:translateY(-2px);border-color:var(--auth-accent);color:var(--auth-text);}
.veltrix-dashboard-tile svg{width:23px;height:23px;stroke:var(--auth-accent);fill:none;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.veltrix-dashboard-tile strong{font-size:15px;}
.veltrix-dashboard-tile span{font-size:12px;line-height:1.5;color:var(--auth-muted);}
.veltrix-dashboard-actions{margin-top:25px;padding-top:20px;border-top:1px solid var(--auth-border);}
.veltrix-dashboard-logout{display:inline-flex;align-items:center;gap:8px;color:var(--auth-accent);
  font-size:14px;font-weight:700;text-decoration:none;}
.veltrix-dashboard-logout:hover{text-decoration:underline;}
@media(max-width:768px){
  .veltrix-auth-section{padding:35px 16px 50px;}
  .veltrix-auth-card{padding:34px 28px;border-radius:20px;}
  .veltrix-dashboard{padding:30px 26px;}
}
@media(max-width:480px){
  .veltrix-account-page{overflow-x:hidden;}
  .veltrix-auth-section{padding:24px 12px 40px;min-height:65vh;}
  .veltrix-auth-card{width:100%;max-width:100%;min-width:0;padding:29px 20px;border-radius:18px;}
  .veltrix-auth-heading{margin-bottom:25px;}
  .veltrix-auth-heading h1{font-size:28px;}
  .veltrix-dashboard-header{align-items:flex-start;gap:12px;}
  .veltrix-dashboard-avatar{width:52px;height:52px;flex-basis:52px;}
  .veltrix-dashboard-grid{grid-template-columns:1fr;}
  .veltrix-dashboard-tile{padding:18px;}
  .veltrix-auth-form .tml form{gap:13px;}
}
@media(prefers-reduced-motion:reduce){.veltrix-account-page *, .veltrix-account-page *::before,
 .veltrix-account-page *::after{transition:none!important;animation:none!important;}}

 
/* ========================================
   REGISTER - PASSWORD TIPS
======================================== */

.veltrix-account-page
.tml-register
.tml-indicator-hint-wrap {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.veltrix-account-page
.tml-register
p.description.indicator-hint {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 14px 16px !important;

    background: rgba(189, 140, 117, 0.08);
    border: 1px solid rgba(189, 140, 117, 0.22);
    border-radius: 12px;

    color: var(--auth-muted);
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.veltrix-account-page
.tml-register
p.description.indicator-hint::before {
    content: "PASSWORD TIPS";
    display: block;
    margin-bottom: 7px;
    color: var(--auth-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

@media (max-width: 480px) {
    .veltrix-account-page
    .tml-register
    p.description.indicator-hint {
        padding: 12px 14px !important;
        font-size: 11px;
    }
}


/* GOOGLE SOCIAL LOGIN */

.veltrix-social-login {
    margin-top: 25px;
    width: 100%;
}

.veltrix-social-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
    color: var(--auth-muted);
    font-size: 12px;
}

.veltrix-social-divider::before,
.veltrix-social-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--auth-border);
}

.veltrix-social-login .nsl-container {
    width: 100%;
    max-width: 100%;
}

.veltrix-social-login .nsl-container-buttons {
    width: 100%;
}

.veltrix-social-login .nsl-button {
    border-radius: 35px !important;
    overflow: hidden;
}
