:root{
  --bg:#070707;
  --card:#0d0d0d;
  --card2:#111;
  --line:#262626;
  --text:#f4f4f4;
  --muted:#85898d;
  --gold:#d4aa52;
  --gold2:#f5db8c;
}

*{
  box-sizing:border-box;
}

html,
body{
  min-height:100%;
}

body{
  margin:0;
  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(216,174,82,.08),
      transparent 34%
    ),
    #070707;
  color:var(--text);
  font-family:
    Inter,
    Arial,
    sans-serif;
}

button,
input{
  font:inherit;
}

button{
  cursor:pointer;
}

.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.topbar{
  height:82px;
  padding:0 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #171717;
  background:rgba(7,7,7,.92);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand img{
  width:45px;
  height:45px;
  object-fit:contain;
  border-radius:12px;
}

.brand strong{
  display:block;
  font-size:18px;
  letter-spacing:.05em;
}

.brand span{
  display:block;
  margin-top:4px;
  color:#606368;
  font-size:9px;
  letter-spacing:.17em;
}

.lang-btn{
  min-width:46px;
  height:38px;
  border:1px solid #292929;
  border-radius:11px;
  color:#ccc;
  background:#101010;
  font-weight:700;
  font-size:12px;
}

.auth-wrap{
  flex:1;
  display:grid;
  place-items:center;
  padding:60px 20px 80px;
}

.auth-card{
  width:min(100%,480px);
  border:1px solid #242424;
  border-radius:24px;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(211,170,80,.07),
      transparent 32%
    ),
    #0c0c0c;
  padding:30px;
  box-shadow:
    0 30px 100px rgba(0,0,0,.45);
}

.bull-mark{
  width:84px;
  height:84px;
  margin:0 auto 25px;
  border-radius:22px;
  display:grid;
  place-items:center;
  border:1px solid rgba(220,180,88,.28);
  background:#090909;
  box-shadow:
    0 0 35px rgba(212,170,82,.1);
}

.bull-mark img{
  width:72px;
  height:72px;
  object-fit:contain;
}

.tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-bottom:1px solid #282828;
}

.tab{
  height:54px;
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  color:#777b80;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
}

.tab.active{
  color:#fff;
  border-bottom-color:var(--gold);
}

.tab-panel{
  display:none;
}

.tab-panel.active{
  display:block;
}

.auth-head{
  padding:32px 0 24px;
}

.eyebrow{
  color:var(--gold);
  font-size:10px;
  font-weight:800;
  letter-spacing:.2em;
}

.auth-head h1{
  margin:11px 0 8px;
  font-size:30px;
  letter-spacing:-.03em;
}

.auth-head p{
  margin:0;
  color:#777b80;
  line-height:1.55;
  font-size:13px;
}

form{
  display:grid;
  gap:17px;
}

label{
  display:grid;
  gap:8px;
}

label span{
  color:#8f9398;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
}

input{
  width:100%;
  height:56px;
  border:1px solid #313131;
  border-radius:12px;
  background:#121212;
  color:#fff;
  padding:0 16px;
  outline:none;
}

input::placeholder{
  color:#555a5f;
}

input:focus{
  border-color:rgba(222,184,92,.65);
  box-shadow:
    0 0 0 3px rgba(212,170,82,.07);
}

.primary-btn{
  margin-top:4px;
  width:100%;
  height:56px;
  border:0;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  background:
    linear-gradient(
      135deg,
      #b88c36,
      #f0d47c,
      #b8862f
    );
  color:#0a0a0a;
  font-weight:900;
  letter-spacing:.04em;
}

.primary-btn b{
  font-size:20px;
}

.primary-btn:disabled{
  opacity:.35;
  cursor:not-allowed;
}

.divider{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:14px;
  margin:29px 0;
}

.divider span{
  height:1px;
  background:#262626;
}

.divider b{
  color:#696d72;
  font-size:10px;
  letter-spacing:.15em;
}

.telegram-btn{
  width:100%;
  min-height:58px;
  border:1px solid #393939;
  border-radius:12px;
  background:#0f0f0f;
  color:#fff;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:12px;
}

.tg-icon{
  margin-right:7px;
  color:var(--gold2);
}

.security{
  display:grid;
  gap:13px;
  margin-top:26px;
}

.security div{
  display:flex;
  align-items:center;
  gap:11px;
  color:#808489;
  font-size:12px;
}

.security i{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border:1px solid #333;
  border-radius:50%;
  color:var(--gold2);
  font-style:normal;
  font-size:11px;
}

.status-box{
  display:none;
  margin-top:23px;
  padding:13px;
  border:1px solid #292929;
  border-radius:10px;
  background:#101010;
  color:#8a8e92;
  text-align:center;
  font-size:11px;
}

.status-box.show{
  display:block;
}

footer{
  min-height:74px;
  padding:0 24px;
  border-top:1px solid #171717;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#4f5356;
  font-size:9px;
  letter-spacing:.12em;
}

.toast{
  position:fixed;
  z-index:100;
  left:50%;
  bottom:24px;
  transform:
    translate(-50%,30px);
  opacity:0;
  pointer-events:none;
  padding:13px 17px;
  border-radius:11px;
  border:1px solid #303030;
  background:#171717;
  color:#ddd;
  font-size:12px;
  transition:.2s;
  white-space:nowrap;
}

.toast.show{
  opacity:1;
  transform:
    translate(-50%,0);
}

@media(max-width:600px){

  .topbar{
    height:70px;
    padding:0 17px;
  }

  .brand img{
    width:39px;
    height:39px;
  }

  .brand strong{
    font-size:16px;
  }

  .brand span{
    display:none;
  }

  .auth-wrap{
    padding:
      34px
      14px
      55px;
  }

  .auth-card{
    padding:
      24px
      20px
      26px;
    border-radius:20px;
  }

  .bull-mark{
    width:72px;
    height:72px;
  }

  .bull-mark img{
    width:62px;
    height:62px;
  }

  .auth-head h1{
    font-size:27px;
  }

  footer{
    display:grid;
    gap:7px;
    align-content:center;
  }

}


/* THE_BULL_WEB_TELEGRAM_LOGIN_UI_V1 */

.tg-login-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(9px);
}

.tg-login-card{
  position:relative;
  width:min(100%,410px);
  padding:34px 26px 28px;
  border:1px solid #2d2d2d;
  border-radius:22px;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(216,174,82,.09),
      transparent 34%
    ),
    #0d0d0d;
  text-align:center;
  box-shadow:
    0 30px 100px rgba(0,0,0,.65);
}

.tg-login-close{
  position:absolute;
  top:14px;
  right:15px;
  width:34px;
  height:34px;
  border:1px solid #292929;
  border-radius:10px;
  background:#111;
  color:#777;
  font-size:21px;
}

.tg-login-badge{
  width:58px;
  height:58px;
  margin:0 auto 20px;
  display:grid;
  place-items:center;
  border:1px solid rgba(212,170,82,.35);
  border-radius:17px;
  background:#111;
  color:#efd078;
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
}

.tg-login-eyebrow{
  color:#c69b45;
  font-size:9px;
  font-weight:900;
  letter-spacing:.17em;
}

.tg-login-card h2{
  margin:10px 0 8px;
  font-size:27px;
}

.tg-login-text{
  margin:0;
  color:#85898d;
  line-height:1.5;
  font-size:13px;
}

.tg-login-code{
  margin:25px 0;
  padding:18px;
  border:1px solid rgba(212,170,82,.35);
  border-radius:14px;
  background:#090909;
  color:#f0d47c;
  font-size:32px;
  font-weight:900;
  letter-spacing:.25em;
  text-indent:.25em;
  box-shadow:
    inset 0 0 25px rgba(212,170,82,.04);
}

.tg-login-open{
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  border-radius:12px;
  background:
    linear-gradient(
      135deg,
      #b88c36,
      #f0d47c,
      #b8862f
    );
  color:#090909;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.tg-login-open b{
  font-size:18px;
}

.tg-login-wait{
  margin-top:21px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#808489;
  font-size:11px;
  font-weight:700;
}

.tg-login-wait span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#d1aa55;
  box-shadow:
    0 0 10px rgba(209,170,85,.6);
  animation:
    bullLoginPulse 1.3s infinite;
}

.tg-login-wait.approved{
  color:#79cb91;
}

.tg-login-note{
  margin:18px 0 0;
  color:#55595d;
  font-size:10px;
  line-height:1.5;
}

@keyframes bullLoginPulse{
  0%,100%{
    opacity:.35;
    transform:scale(.8);
  }

  50%{
    opacity:1;
    transform:scale(1.15);
  }
}
