/* ===== Auth Shared Styles ===== */
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #0a0a0a, #4b2e2e);
  color: #fff; /* make text readable */

  height: 100vh;
  overflow: hidden;
}

.auth-container {
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* Left Panel */
.auth-left {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 30px;   /* reduce top padding */
  text-align: center;
  margin-top: -20px;    /* move entire block higher */
}


.auth-left form,
.auth-subtitle,
.auth-title,
.auth-logo 
{
  margin-top: 0px;
}

.auth-logo {
  width: 300px;
  margin-top: -20px;
  margin-bottom: -50px; /* tighter spacing */
}


.auth-title {
  font-size: 65px;
  font-weight: 900;
  margin: -75px 0 35px 0; /* closer to logo */
}

.auth-subtitle {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 400px;
}

/* ===== Form ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 340px;
  margin-top: 30px; /* closer to toggle */
}

form label {
  font-weight: 600;
  font-size: 18px;
  text-align: left;
}

form input {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 16px;
}

form input:focus {
  border-color: #C9FF2D;
  box-shadow: 0 0 6px rgba(201,255,45,0.6);
  outline: none;
}

.auth-btn {
  padding: 18px;
  border-radius: 999px;
  border: none;
  background: #C9FF2D;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 16px;
}

.auth-btn:hover {
  background: #b3f017;
}

.auth-links {
  margin-top: 25px;
  font-size: 15px;
}

.auth-links a {
  color: #000;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* ===== Smaller User/Admin Switch ===== */
.switch-wrapper {
  display: flex;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #000;
  width: 200px;
  margin: 0px 0 30px 10px; /* increased margin for more space below */
}

.switch-option {
  flex: 1;
  padding: 10px 10px; /* shorter height */
  font-size: 14px; /* smaller text */
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.switch-option.active {
  background: #000;
  color: #fff;
}

.switch-option.inactive {
  background: #C9FF2D;
  color: #000;
}

/* Inactive = yellow background, black text */
.switch-option.inactive {
  background: #C9FF2D;
  color: #000;
}

/* ===== Google Sign-in Button ===== */
.google-btn {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  width: 100%;
  max-width: 320px;
  border: none; /* remove border */
  border-radius: 999px;
  background: #000; /* black background */
  color: #fff; /* white text */
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.google-btn:hover {
  background: #222; /* slightly lighter black on hover */
}

.google-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); /* make Google logo visible on dark bg */
}

/* Right Panel */
.auth-right {
  flex: 0.9; /* reduce width */
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-bg {
  width: 110%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 5px; /* shifted right */
  z-index: 0;
}

.auth-right-text {
  position: relative;
  z-index: 1;
  font-size: 50px;
  font-weight: 900;
  color: #fff;
  line-height: 1.5;
  text-align: center;
  padding: 0 30px;
}


/* Helper text under username field */
.helper-text {
  display: block;
  font-size: 10px;
  color: #666;
  margin-bottom: 2px;
  text-align: left;
}

/* Password field with eye icon */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* leave room for the icon */
}

.toggle-password {
  position: absolute;
  right: 12px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.toggle-password:hover {
  opacity: 1;
}

.auth-right-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.demo-btn-right {
  margin-top: 10px;
  padding: 10px 32px;
  border: none;
  border-radius: 999px;
  background: #fff;       /* white background */
  color: #000;            /* black text for contrast */
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.demo-btn-right:hover {
  background: #f2f2f2; /* subtle hover effect */
}

/* Back Button (Bottom Left Corner) */
.back-btn-container {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 10;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #000;      /* black background */
  color: #fff;           /* white text */
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none; /* remove underline */
}

.back-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1); /* make icon white */
}

.back-btn:hover {
  background: #222; /* lighter black on hover */
}

/* Back to home button */
    .back-home-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      border-radius: 999px;
      background: #f7f5f5;
      color: #010101;
      font-weight: 700;
      font-size: 15px;
      text-decoration: none;
      transition: background 0.3s ease;
      margin-top: 25px;
    }

    .back-home-btn:hover {
      background: #858484;
    }

    .back-home-btn img {
      width: 18px;
      height: 18px;
    }

    .syb-title{
      font-size:14px;
      margin-top:-20px;
      margin-bottom:60px
  }

  /* ===== Dark Gradient Background for Demo/Login Page ===== */
body {
  background: linear-gradient(135deg, #0a0a0a, #4b2e2e);
  color: #fff; /* make text readable */
}

/* Optional: make left panel semi-transparent */
.auth-left {
  background: rgba(0, 0, 0, 0.7); /* keeps layout intact but darker */
  color: #fff;
}
