/* Tengsai Cloud login theme. Scoped to preserve authentication widgets. */
.ts-tech-login { --ts-accent:#64e9ff; --ts-text:#eef4ff; color:var(--ts-text); background:#080d1b; min-height:100vh; font-family: "Segoe UI","Microsoft YaHei",sans-serif; }
.ts-tech-login > .row { min-height:100vh; }
.ts-tech-login a { transition:color .2s,background .2s,box-shadow .2s; }
.ts-tech-login .bglogo { position:relative; overflow:hidden; background:radial-gradient(ellipse at 38% 46%,#123452 0,transparent 56%),radial-gradient(ellipse at 90% 5%,#252050 0,transparent 45%),#080e20; }
.ts-tech-login .bglogo::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.35; background-image:linear-gradient(#67bfff0d 1px,transparent 1px),linear-gradient(90deg,#67bfff0d 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(#000,transparent); }
.ts-tech-login .auth-full-bg { min-height:100vh; padding:42px 9% !important; position:relative; }
.ts-tech-login .auth-full-bg .bg-overlay,.ts-tech-login .auth-full-bg .w-100 > .d-flex { display:none !important; }
.ts-hero { position:relative; z-index:1; max-width:760px; margin:auto; }
.ts-wordmark { display:flex; align-items:center; gap:12px; font-size:24px; font-weight:700; color:#fff !important; text-decoration:none !important; }
.ts-wordmark small { color:#8294b7; font-size:10px; letter-spacing:2px; font-weight:400; }
.ts-brand-icon { display:grid; place-items:center; width:38px; height:38px; font-style:italic; border:1px solid #58d6ff70; border-radius:11px; color:#76f1ff; background:linear-gradient(140deg,#15354f,#171b3e); box-shadow:0 0 28px #40cfff20; }
.ts-online { margin-top:65px; font-size:10px; letter-spacing:3px; color:#80b9cf; display:flex; align-items:center; gap:9px; }
.ts-online > span { width:6px; height:6px; background:#6de6d0; border-radius:50%; box-shadow:0 0 12px #6de6d0; }
.ts-hero h1 { font-size:clamp(32px,3.7vw,60px); font-weight:700; line-height:1.4; margin:20px 0 16px; letter-spacing:1px; color:#f0f6ff; }
.ts-hero h1 > span { color:#6ce5fa; }
.ts-hero-description { color:#91a2c0; font-size:14px; line-height:1.95; }
.ts-orbit { position:relative; height:260px; width:min(100%,480px); margin:10px auto 18px; perspective:600px; }
.ts-ring { position:absolute; left:50%; top:50%; border:1px solid #62daff45; border-radius:50%; box-shadow:0 0 24px #28baff12,inset 0 0 30px #28baff08; }
.ts-ring-one { width:330px; height:150px; transform:translate(-50%,-50%) rotate(-23deg); }
.ts-ring-two { width:260px; height:210px; transform:translate(-50%,-50%) rotate(28deg); border-style:dashed; border-color:#a58cff45; }
.ts-core { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%) rotate(-6deg); width:124px; height:124px; border-radius:30px; border:1px solid #7be8ff88; background:linear-gradient(140deg,#24627caa,#162d56dd 60%,#312c62); box-shadow:0 0 75px #4abfff30,inset 0 0 25px #9aefff20; display:flex; flex-direction:column; justify-content:center; align-items:center; }
.ts-core > span { font-size:48px; font-weight:800; letter-spacing:-3px; color:#b4f7ff; }
.ts-core > small { font-size:8px; letter-spacing:2px; color:#9ac5dd; }
.ts-satellite { position:absolute; border:1px solid #82baff35; background:#11243ae6; border-radius:8px; padding:9px 13px; color:#98c6df; font-size:9px; letter-spacing:2px; }
.ts-satellite-one { left:4%; top:30%; }.ts-satellite-two { right:0; top:24%; }.ts-satellite-three { right:13%; bottom:10%; }
.ts-features { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid #91b6df22; padding-top:23px; gap:14px; }
.ts-features span { display:block; color:#6289a9; font-size:9px; letter-spacing:1.5px; margin-bottom:8px; }.ts-features strong { font-size:13px; font-weight:500; color:#c5d5eb; }
.ts-hero-bottom { display:flex; justify-content:space-between; gap:12px; margin-top:40px; color:#4d6482; font-size:9px; letter-spacing:1px; }.ts-hero-bottom > span { letter-spacing:0; }
.ts-tech-login .col-xl-5 { background:radial-gradient(ellipse at 100% 0,#18233b77,transparent 60%),#0c1222; border-left:1px solid #afc6ff12; }
.ts-tech-login .auth-full-page-content { min-height:100vh; padding:48px 10% !important; display:flex; align-items:center; }
.ts-tech-login .login_right { width:100%; max-width:420px; }
.ts-tech-login .login_right > .d-flex { height:auto !important; }
.ts-tech-login .logo { text-align:left !important; margin-bottom:32px; }.ts-tech-login .logo img { max-width:180px; height:auto; max-height:48px; object-fit:contain; }
.ts-form-heading > span { font-size:9px; color:#6699b7; letter-spacing:2px; }.ts-form-heading h2 { color:#f0f5ff; font-size:28px; font-weight:600; margin:14px 0 10px; }.ts-form-heading p { color:#8292ae; font-size:13px; margin-bottom:30px; }
.ts-tech-login .nav-tabs { border:0; background:#ffffff05; border-radius:10px; padding:5px; gap:5px; }
.ts-tech-login .nav-tabs .nav-link { border:0; border-radius:7px; color:#899ab7; padding:12px 8px; font-size:13px; }
.ts-tech-login .nav-tabs .nav-link::after { display:none; }.ts-tech-login .nav-tabs .nav-link.active { background:#193249 !important; color:#88e9fc; box-shadow:inset 0 0 0 1px #77d8fa22; }
.ts-tech-login label { color:#b4c2d8; font-size:12px; margin-bottom:10px; }.ts-tech-login .form-group { margin-bottom:22px; }
.ts-tech-login .form-control { background:#111d30; border:1px solid #29364d; color:#eef5ff; border-radius:9px; height:49px; padding:11px 14px; font-size:13px; box-shadow:none; }
.ts-tech-login .form-control::placeholder { color:#62728e; }.ts-tech-login .form-control:focus { background:#142239; color:#fff; border-color:#5dbbd8; box-shadow:0 0 0 3px #46d5ff12; }
.ts-tech-login .btn-primary { color:#072234; background:linear-gradient(110deg,#62def7,#73b5ff); border:0; border-radius:9px; min-height:46px; font-weight:600; box-shadow:0 5px 22px #45bfff20; }
.ts-tech-login .btn-primary:hover { color:#041927; background:linear-gradient(110deg,#93edff,#95cbff); box-shadow:0 5px 26px #45bfff38; }
.ts-tech-login .btn:focus-visible,.ts-tech-login a:focus-visible { outline:2px solid #91ecff; outline-offset:4px; }
.ts-tech-login .text-primary { color:#78cce9 !important; }.ts-tech-login .text-center > p,.ts-tech-login h5 { color:#8494af; font-size:12px; }
.ts-tech-login .social-list-item { background:#18243a; border:1px solid #33425c; border-radius:50%; }.ts-tech-login .input-group-append .btn { border-radius:0 9px 9px 0; font-size:12px; }
.ts-tech-login .select2-container--default .select2-selection--single { background:#111d30; border-color:#29364d; min-height:49px; }.ts-tech-login .select2-container--default .select2-selection--single .select2-selection__rendered { color:#b4c2d8; line-height:47px; }
@media (min-width:1200px) and (max-height:850px) { .ts-tech-login .auth-full-bg { padding-top:28px !important; padding-bottom:28px !important; }.ts-online { margin-top:36px; }.ts-orbit { height:200px; }.ts-hero-bottom { margin-top:24px; } }
@media (max-width:1199px) { .ts-tech-login > .row { min-height:100vh; }.ts-tech-login .bglogo { display:block !important; }.ts-tech-login .auth-full-bg { min-height:0; padding:26px 7% !important; }.ts-online { margin-top:28px; }.ts-hero h1 { font-size:34px; }.ts-orbit,.ts-features,.ts-hero-bottom { display:none; }.ts-hero-description { margin-bottom:0; font-size:12px; }.ts-tech-login .auth-full-page-content { min-height:0; padding:36px 24px 48px !important; }.ts-tech-login .col-xl-5 { border-left:0; border-top:1px solid #afc6ff12; }.ts-tech-login .logo { display:none; } }
@media (max-width:480px) { .ts-wordmark { font-size:21px; }.ts-wordmark small { font-size:8px; }.ts-hero h1 { font-size:29px; }.ts-form-heading h2 { font-size:25px; }.ts-tech-login .auth-full-page-content { padding:30px 22px 40px !important; } }

/* Layout fix: override legacy responsive widths, offsets and inherited line heights. */
.ts-tech-login > .row > [class*="col-xl-"] { min-width:0; }
.ts-tech-login .auth-full-bg { height:auto; }
.ts-tech-login .auth-full-page-content { height:auto; max-height:none; }
.ts-tech-login .login_right { width:100% !important; min-width:0; margin-top:0 !important; margin-bottom:0; }
.ts-tech-login .login_right > .d-flex > .my-auto { width:100%; min-width:0; }
.ts-tech-login .logo { line-height:1; margin-bottom:24px; }
.ts-tech-login .logo img { max-width:min(180px,100%); vertical-align:middle; }
.ts-tech-login .affs-nav.nav-tabs-custom .nav-item .nav-link { line-height:1.5; }
.ts-tech-login .ts-form-heading p { margin-bottom:22px; }
.ts-tech-login .login_right > .d-flex > .my-auto > .mt-5 { margin-top:24px !important; }
@media (min-width:1200px) and (max-height:850px) {
  .ts-tech-login .auth-full-page-content { padding-top:24px !important; padding-bottom:24px !important; }
  .ts-tech-login .logo { margin-bottom:16px; }
  .ts-tech-login .logo img { max-height:40px; }
  .ts-tech-login .ts-form-heading h2 { margin-top:10px; margin-bottom:8px; font-size:26px; }
  .ts-tech-login .ts-form-heading p { margin-bottom:18px; }
  .ts-tech-login .nav-tabs .nav-link { padding-top:9px; padding-bottom:9px; }
  .ts-tech-login .login_right > .d-flex > .my-auto > .mt-4 { margin-top:18px !important; }
  .ts-tech-login .form-group { margin-bottom:16px; }
  .ts-tech-login label { margin-bottom:7px; }
  .ts-tech-login .login_right > .d-flex > .my-auto > .mt-5 { margin-top:20px !important; }
}
@media (max-width:1199px) {
  .ts-tech-login .auth-full-bg { padding:22px 7% !important; }
  .ts-tech-login .ts-online,.ts-tech-login .ts-hero-description { display:none; }
  .ts-tech-login .ts-hero h1 { margin:12px 0 0; font-size:28px; line-height:1.4; }
  .ts-tech-login .ts-hero h1 br { display:none; }
  .ts-tech-login .auth-full-page-content { padding:24px !important; }
  .ts-tech-login .ts-form-heading h2 { margin-top:10px; margin-bottom:8px; font-size:25px; }
  .ts-tech-login .ts-form-heading p { margin-bottom:18px; }
  .ts-tech-login .nav-tabs .nav-link { padding-top:9px; padding-bottom:9px; }
  .ts-tech-login .login_right > .d-flex > .my-auto > .mt-4 { margin-top:18px !important; }
  .ts-tech-login .form-group { margin-bottom:16px; }
  .ts-tech-login label { margin-bottom:7px; }
  .ts-tech-login .login_right > .d-flex > .my-auto > .mt-5 { margin-top:20px !important; }
}
