html,
body,
#root{
  width:100%;
  min-height:100%;
  margin:0;
  padding:0;
}

body{
  overflow-x:hidden;
}
/* ===============================
   GLOBAL RESET
================================ */

*,
*::before,
*::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

/* ROOT VARIABLES*/
:root{

  /* Background Colors */
  --bg:#F1F5F9;
  --surface:#FFFFFF;

  /* Border Colors */
  --border:#CBD5E1;
  --border-focus:#4F46E5;

  /* Text Colors */
  --text:#0F172A;
  --text-sub:#64748B;
  --text-muted:#94A3B8;

  /* Brand / Primary Colors */
  --accent:#4F46E5;
  --accent-hover:#4338CA;

  /* Border Radius */
  --radius:16px;
}
/*DARK MODE*/
@media(prefers-color-scheme:dark){
:root{
  --bg:#111113;
  --surface:#1c1c1e;
  --border:rgba(255,255,255,.09);

  --text:#f2f2f2;
  --text-sub:#9ca3af;
  --text-muted:#6b7280;

}
}
/*AUTH PAGE*/
.auth-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem 1rem;
  background:var(--bg);
  font-family:
  system-ui,
  -apple-system,
  sans-serif;
}
/*AUTH CARD*/
.auth-card{
  width:100%;
  max-width:420px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
  padding:2.5rem;
  box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}
/*TABS*/
.auth-tabs{
  display:flex;
  background:var(--bg);
  border-radius:var(--radius);
  padding:5px;
  margin-bottom:2rem;
}
.auth-tab{
  flex:1;
  padding:10px;
  border:none;
  background:none;
  cursor:pointer;
  border-radius:8px;
  color:var(--text-sub);
  font-size:14px;
  font-weight:500;
}
.auth-tab.active{
  background:var(--surface);
  color:var(--text);
}
/*FORM*/
.auth-form{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.auth-field{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.auth-field label{
  font-size:14px;
  color:var(--text);
}
/*INPUT*/
.auth-input-wrap{
  position:relative;
}
.auth-input-wrap input,
.auth-field input{
  width:100%;
  height:44px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:0 12px 0 40px;
  font-size:15px;
  color:var(--text);
  background:var(--surface);
  outline:none;
}
.auth-field input{
  padding-left:12px;
}
.auth-input-wrap input:focus,
.auth-field input:focus{
  border-color:var(--border-focus);
  box-shadow:
  0 0 0 3px rgba(99,102,241,.12);
}
/*INPUT ICON*/
.field-icon{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:17px;
  color:var(--text-muted);
}
/*PASSWORD BUTTON*/
.auth-eye-btn{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  border:none;
  background:none;
  cursor:pointer;
  color:var(--text-muted);
}
/*BUTTON*/
.auth-btn{
  width:100%;
  height:44px;
  border:none;
  border-radius:var(--radius);
  background:var(--accent);
  color:white;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  margin-top:5px;
}
.auth-btn:hover{
  background:var(--accent-hover);
}
.auth-btn:disabled{
  opacity:.6;
  cursor:not-allowed;
}
/*LOADER*/
@keyframes spin{
  from{
    transform:rotate(0deg);
  }
  to{
    transform:rotate(360deg);
  }
}
.spinning{
  animation:spin .8s linear infinite;
}


.auth-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--text-sub);
}

.auth-footer button {
  background: none;
  border: none;
  padding: 0;
  margin-left: 5px;
  color: #6366f1;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-footer button:hover {
  color: #4f46e5;
  transform: translateY(-1px);
}

.auth-footer button:active {
  transform: translateY(0);
}



.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 2rem;
}

.auth-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.auth-brand-name {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.auth-brand-tagline {
  margin-top: 4px;
  color: var(--text-sub);
  font-size: 14px;
}



.Toastify{
    position: fixed !important;
    inset: 0;
    pointer-events: none;
}

.Toastify__toast-container{
    pointer-events: auto;
}

.guest-divider{
    text-align:center;
    margin:20px 0;
    color:#9ca3af;
}


.guest-btn{

    width:100%;

    padding:12px;

    border-radius:12px;

    background:white;

    color:#4f46e5;

    border:1px solid #4f46e5;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}


.guest-btn:hover{

    background:#4f46e5;

    color:white;

}