*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial,sans-serif;
}

/* =========================================
   THEME VARIABLES
========================================= */

:root{

  --bg:#050505;
  --text:#ffffff;
  --secondary:#cfcfcf;

  --glass:
  rgba(255,255,255,0.05);

  --glass-border:
  rgba(255,255,255,0.08);

  --button:#ffffff;
  --button-text:#000000;

  --input-bg:
  rgba(255,255,255,0.04);

  --shadow:
  0 10px 35px rgba(0,0,0,0.4);
}

/* LIGHT MODE */

body.light-mode{

  --bg:#f5f5f5;
  --text:#111111;
  --secondary:#555555;

  --glass:
  rgba(255,255,255,0.7);

  --glass-border:
  rgba(0,0,0,0.08);

  --button:#111111;
  --button-text:#ffffff;

  --input-bg:
  rgba(0,0,0,0.04);

  --shadow:
  0 10px 35px rgba(0,0,0,0.08);
}

/* =========================================
   BODY
========================================= */

body{

  min-height:100vh;

  background:var(--bg);

  color:var(--text);

  overflow-x:hidden;

  transition:0.4s ease;

  position:relative;
}

/* =========================================
   BACKGROUND
========================================= */

body::before{

  content:"";

  position:fixed;

  width:600px;
  height:600px;

  border-radius:50%;

  background:
  rgba(255,255,255,0.04);

  filter:blur(120px);

  top:-200px;
  right:-100px;

  z-index:-1;
}

body::after{

  content:"";

  position:fixed;

  width:500px;
  height:500px;

  border-radius:50%;

  background:
  rgba(255,255,255,0.03);

  filter:blur(120px);

  bottom:-200px;
  left:-100px;

  z-index:-1;
}

/* =========================================
   THEME BUTTON
========================================= */

.theme-toggle{

  position:fixed;

  top:25px;
  right:25px;

  width:55px;
  height:55px;

  border:none;

  border-radius:50%;

  background:var(--glass);

  backdrop-filter:blur(18px);

  border:
  1px solid var(--glass-border);

  color:var(--text);

  font-size:20px;

  cursor:pointer;

  z-index:999;

  transition:0.3s;
}

.theme-toggle:hover{

  transform:scale(1.08);
}

/* =========================================
   BACK HOME
========================================= */

.back-home{

  position:fixed;

  top:25px;
  left:25px;

  padding:14px 24px;

  border-radius:18px;

  text-decoration:none;

  color:var(--text);

  background:var(--glass);

  backdrop-filter:blur(18px);

  border:
  1px solid var(--glass-border);

  z-index:999;

  transition:0.3s;
}

.back-home:hover{

  transform:translateY(-4px);
}

/* =========================================
   AUTH SECTION
========================================= */

.auth-section{

  width:100%;

  min-height:100vh;

  display:grid;

  grid-template-columns:
  1fr 1fr;

  gap:60px;

  align-items:center;

  padding:120px 7%;
}

/* =========================================
   LEFT
========================================= */

.auth-left h1{

  font-size:72px;

  line-height:1.05;

  margin-bottom:30px;
}

.auth-left p{

  font-size:18px;

  line-height:1.8;

  color:var(--secondary);

  max-width:550px;

  margin-bottom:40px;
}

.auth-badge{

  display:inline-block;

  padding:12px 24px;

  border-radius:30px;

  background:var(--glass);

  border:
  1px solid var(--glass-border);

  margin-bottom:30px;
}

/* FEATURES */

.auth-features{

  display:flex;

  flex-direction:column;

  gap:20px;
}

.feature-card{

  display:flex;

  align-items:center;

  gap:18px;

  padding:22px;

  border-radius:24px;

  background:var(--glass);

  backdrop-filter:blur(20px);

  border:
  1px solid var(--glass-border);

  box-shadow:var(--shadow);
}

.feature-card span{

  font-size:32px;
}

.feature-card h3{

  margin-bottom:8px;
}

.feature-card p{

  margin:0;

  font-size:15px;
}

/* =========================================
   CARD
========================================= */

.auth-card{

  position:relative;

  padding:50px;

  border-radius:35px;

  background:var(--glass);

  backdrop-filter:blur(24px);

  border:
  1px solid var(--glass-border);

  box-shadow:var(--shadow);

  overflow:hidden;
}

.card-glow{

  position:absolute;

  width:250px;
  height:250px;

  border-radius:50%;

  background:
  rgba(255,255,255,0.08);

  filter:blur(80px);

  top:-100px;
  right:-80px;
}

.auth-card h2{

  font-size:42px;

  margin-bottom:12px;

  position:relative;

  z-index:2;
}

.auth-text{

  color:var(--secondary);

  margin-bottom:35px;

  position:relative;

  z-index:2;
}

/* =========================================
   INPUTS
========================================= */

.input-group{

  margin-bottom:24px;

  position:relative;

  z-index:2;
}

.input-group label{

  display:block;

  margin-bottom:10px;

  font-size:15px;
}

.input-group input{

  width:100%;

  height:58px;

  border:none;

  outline:none;

  padding:0 18px;

  border-radius:18px;

  background:var(--input-bg);

  border:
  1px solid var(--glass-border);

  color:var(--text);

  font-size:15px;
}

/* OPTIONS */

.auth-options{

  display:flex;

  align-items:center;

  justify-content:space-between;

  margin-bottom:30px;

  font-size:14px;

  position:relative;

  z-index:2;
}

.auth-options a{

  color:var(--text);

  text-decoration:none;
}

.remember{

  display:flex;

  align-items:center;

  gap:10px;
}

/* =========================================
   BUTTONS
========================================= */

.login-btn,
.google-btn{

  width:100%;

  height:58px;

  border:none;

  border-radius:18px;

  font-size:16px;

  font-weight:bold;

  cursor:pointer;

  transition:0.3s;

  position:relative;

  z-index:2;
}

/* LOGIN */

.login-btn{

  background:var(--button);

  color:var(--button-text);

  margin-bottom:18px;
}

.login-btn:hover{

  transform:translateY(-4px);
}

/* GOOGLE */

.google-btn{

  background:transparent;

  border:
  1px solid var(--glass-border);

  color:var(--text);

  display:flex;

  align-items:center;

  justify-content:center;

  gap:12px;
}



.google-btn:hover{

  background:var(--glass);
}

/* =========================================
   DIVIDER
========================================= */

.divider{

  display:flex;

  align-items:center;

  justify-content:center;

  margin:30px 0;

  position:relative;

  z-index:2;
}

.divider::before,
.divider::after{

  content:"";

  flex:1;

  height:1px;

  background:var(--glass-border);
}

.divider span{

  margin:0 15px;

  color:var(--secondary);
}

/* =========================================
   SWITCH
========================================= */

.switch{

  text-align:center;

  color:var(--secondary);

  position:relative;

  z-index:2;
}

.switch a{

  color:var(--text);

  text-decoration:none;

  font-weight:bold;
}

/* =========================================
   MESSAGE
========================================= */

#message{

  margin-top:20px;

  text-align:center;

  font-size:14px;

  position:relative;

  z-index:2;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1100px){

  .auth-section{

    grid-template-columns:1fr;

    gap:50px;
  }

  .auth-left{

    text-align:center;
  }

  .auth-left p{

    margin:auto auto 40px;
  }

  .auth-features{

    max-width:650px;

    margin:auto;
  }
}

@media(max-width:768px){

  .auth-section{

    padding:140px 20px 60px;
  }

  .auth-left h1{

    font-size:48px;
  }

  .auth-card{

    padding:35px 25px;
  }

  .auth-options{

    flex-direction:column;

    gap:15px;
  }

  .theme-toggle{

    top:15px;
    right:15px;
  }

  .back-home{

    top:15px;
    left:15px;
  }
}

.google-logo{

  width:22px;

  height:22px;

  object-fit:contain;
}

/* =========================================
   CREATE ACCOUNT / SIGN UP BUTTON
========================================= */
.signup-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #00c896 0%, #00a57c 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 200, 150, 0.2);
}

/* Hover State: Subtle brightness boost and lift */
.signup-btn:hover {
  background: linear-gradient(135deg, #02dba5 0%, #00b88a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 150, 0.35);
}

/* Active State: Button presses down when clicked */
.signup-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 200, 150, 0.15);
}

/* Disabled State: Clean UI lock during active database submissions */
.signup-btn:disabled {
  background: #2a2a35;
  color: #777788;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}