:root {
  --orange: #ff6b00;
  --orange-dark: #e65300;
  --orange-light: #fff1e8;
  --dark: #202020;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #fff7f2;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.main-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 10% 20%, #ff8a3d 0, transparent 25%), radial-gradient(circle at 90% 80%, #ffd1b5 0, transparent 30%), #fff7f2;
}

.auth-card {
  width: min(1050px, 100%);
  min-height: 500px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(80, 35, 10, 0.18);
  position: relative;
}

/* LEFT SIDE */

.brand-side {
  background: url("../images/img1.png") center center / cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.brand-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(230, 83, 0, 0.75), rgba(20, 20, 20, 0.35));
  z-index: 1;
}

.brand-side::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  right: -130px;
  bottom: -100px;
  z-index: 1;
}

.brand-content {
  position: relative;
  z-index: 2;
}

.brand-content {
  position: relative;
  z-index: 2;
}

.logo-box {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: #fff;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.orange-line {
  width: 55px;
  height: 4px;
  background: #fff;
  border-radius: 10px;
}

.circle-shape {
  width: 110px;
  height: 110px;
  border: 18px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  position: absolute;
  right: 40px;
  top: 130px;
}

.circle-shape.two {
  width: 65px;
  height: 65px;
  border-width: 11px;
  left: 45px;
  bottom: 120px;
}

/* RIGHT SIDE */

.form-side {
  min-height: 400px;
  background: #fff;
}

.top-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 25px;
  border-radius: 30px;
  transition: 0.9s;
  border: 1px solid white;
}

.top-nav a:hover,
.top-nav a.active {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.form-title {
  font-size: 30px;
  font-weight: 800;
  color: #222;
}

.home-btn a {
  background: linear-gradient(210deg, #b25922, #c19c85);
}

.home-btn a:hover {
  background: #e9884c;
  box-shadow: 8px 5px 10px 2px #2c2a29;
  transition: 1s ease;
}

.form-subtitle {
  color: #8b8b8b;
  font-size: 14px;
}

.input-group-custom {
  border: 1px solid #eee;
  border-radius: 13px;
  background: #fafafa;
  transition: 0.2s;
}

.input-group-custom:focus-within {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.08);
}

.input-group-custom input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.input-icon {
  color: var(--orange);
  font-weight: bold;
}

.main-btn {
  background: linear-gradient(90deg, #ff7a18, #eb5600);
  color: white;
  border: 0;
  border-radius: 13px;
  padding: 13px 20px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.22);
}

.main-btn:hover {
  color: white;
  transform: translateY(-1px);
  background: linear-gradient(90deg, #eb5600, #d94800);
}

.outline-btn {
  border: 1px solid #ffb183;
  color: var(--orange-dark);
  border-radius: 13px;
  padding: 12px 20px;
  font-weight: 700;
  background: #fff;
}

.outline-btn:hover {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.small-link {
  color: var(--orange-dark);
  text-decoration: none;
  font-weight: 600;
}

/* SIGNUP */

#signupForm {
  display: none;
}

.signup-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 12px;
}

/* ADMIN */

#adminPanel {
  display: none;
}

.admin-card {
  background: linear-gradient(145deg, #242424, #101010);
  color: white;
  border-radius: 20px;
  padding: 25px;
}

.admin-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.15);
  color: #ff8a42;
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
}

.admin-input {
  background: #1c1c1c !important;
  border: 1px solid #333 !important;
  color: #fff !important;
}

.admin-input::placeholder {
  color: #777;
}

.admin-input:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1) !important;
}

/* Keep form from becoming unnecessarily tall */
.form-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

/* MOBILE */

@media (max-width: 767px) {
  .main-wrapper {
    padding: 10px;
    align-items: flex-start;
  }

  .auth-card {
    margin-top: 5px;
    min-height: auto;
    border-radius: 20px;
  }

  .brand-side {
    min-height: 230px;
  }

  .brand-side .circle-shape {
    display: none;
  }

  .form-side {
    min-height: auto;
  }

  .form-title {
    font-size: 27px;
  }

  .top-nav a {
    font-size: 13px;
    padding: 7px 10px;
  }

  .signup-fields {
    grid-template-columns: 1fr;
  }

  .brand-content {
    padding: 25px !important;
  }

  .brand-content h1 {
    font-size: 28px;
  }
}

@media (max-width: 400px) {
  .main-wrapper {
    padding: 5px;
  }

  .auth-card {
    border-radius: 15px;
  }

  .form-side {
    padding: 20px !important;
  }

  .brand-side {
    min-height: 200px;
  }

  .top-nav a {
    padding: 6px 8px;
  }
}
