html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  justify-content: center; 
  align-items: center;     
  height: 100vh;
  background: #121212; 
}

.login-box {
  max-width: 400px;
  padding: 3rem; 
  background: #1e1e1e;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.login-box h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 24px;
  color: #00e1ff;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  width: 280%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #2a2a2a;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.login-box input[type="text"],
.login-box input[type="password"],
.login-box button {
  width: 280px; 
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  font-size: 16px;
  
}


.login-box button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #00e1ff;
  color: #000;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-box button:hover {
  background-color: #00c0d6;
}

.login-box .error {
  color: #ff4f4f;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}


.captcha-block{
  width: 100%;
  margin-bottom: 10px;
}

.captcha-row{
  width: 280px; 
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.captcha-q{
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 12px;
  border-radius: 6px;
  background: #2a2a2a;
  border: 1px solid #333;
  color: #fff;
  font-size: 14px;
}

.captcha-label{
  color: rgba(255,255,255,.65);
  font-weight: 600;
  letter-spacing: .02em;
}

.captcha-expr{
  color: #00e1ff;
  font-weight: 800;
  letter-spacing: .04em;
}

.captcha-eq{
  color: rgba(255,255,255,.65);
  font-weight: 700;
}

.captcha-refresh{
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;
  background: rgba(0,225,255,.10);
  border: 1px solid rgba(0,225,255,.35);
  color: #00e1ff;

  text-decoration: none;
  font-size: 18px;
  line-height: 1;

  transition: transform .08s ease, background .2s ease;
}

.captcha-refresh:hover{
  background: rgba(0,225,255,.18);
}

.captcha-refresh:active{
  transform: translateY(1px);
}

.captcha-note{
  width: 280px;
  margin-top: -2px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
