@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* ========================= ROOT ========================= */
:root{
  --bg:#0b0b0f;
  --card:rgba(255,255,255,0.05);
  --border:rgba(255,255,255,0.08);
  --text:#ffffff;
  --darky:rgba(0,0,0,0.7);

  --primary: linear-gradient(135deg, #ff6a00, #ff2e00);
  --accent:#ff3c00;

  --comment: rgba(255,255,255,0.05);

  --glass-1: rgba(255,255,255,0.03);
  --glass-2: rgba(255,255,255,0.06);
  --glass-3: rgba(255,255,255,0.12);

  --border-soft: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.15);
}

/* ========================= GLOBAL ========================= */
*{
  box-sizing:border-box;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

body{
  background: var(--bg);
  color: var(--text);

  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
}

/* ========================= AUTH BOX ========================= */
.auth-box{
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  width:100%;
  max-width:420px;

  border-radius:18px;
  border:1px solid var(--border);

  padding:30px;

  box-shadow:0 20px 40px rgba(0,0,0,0.4);
}

/* ========================= LOGO ========================= */
.logo{
  text-align:center;
  font-weight:700;
  font-size:26px;
  color: var(--accent);
  margin-bottom:20px;
}

/* ========================= TITLE ========================= */
.auth-box h2{
  margin-bottom:20px;
  font-size:20px;
  text-align:center;
}

/* ========================= INPUT ========================= */
.auth-box input{
  width:100%;
  padding:12px;
  margin-bottom:12px;

  border-radius:12px;
  border:1px solid var(--border-soft);

  background: var(--glass-1);
  color: var(--text);

  outline:none;
  font-size:14px;

  transition:0.3s;
}

.auth-box input::placeholder{
  color:#888;
}

.auth-box input:focus{
  border-color: var(--accent);
  background: var(--glass-2);
  box-shadow: 0 0 10px rgba(255,60,0,0.2);
}

/* ========================= BUTTON ========================= */
.auth-box button{
  width:100%;
  padding:12px;

  border-radius:12px;
  border:none;

  background: var(--primary);
  color:#fff;

  font-weight:600;
  cursor:pointer;

  transition:0.3s;
}

.auth-box button:hover{
  transform: translateY(-2px);
  box-shadow:0 10px 25px rgba(255,60,0,0.4);
}

/* ========================= SWITCH ========================= */
.switch{
  text-align:center;
  margin-top:15px;
  font-size:14px;
}

.switch a{
  color: var(--accent);
  text-decoration:none;
  font-weight:600;
}

/* ========================= ALERTS ========================= */
.error{
  background: rgba(255, 0, 0, 0.1);
  color:#ff4d4d;
  padding:10px;
  border-radius:10px;
  margin-bottom:10px;
  border:1px solid rgba(255,0,0,0.3);
}

.success{
  background: rgba(0, 255, 150, 0.1);
  color:#00ff9c;
  padding:10px;
  border-radius:10px;
  margin-bottom:10px;
  border:1px solid rgba(0,255,150,0.3);
}

/* ========================= MOBILE ========================= */
@media(max-width:480px){
  .auth-box{
    margin:10px;
    padding:20px;
  }
}