@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

body {
  background: linear-gradient(145deg, #09031a 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
  margin: 0;
}

/* ===== Container ===== */
.lg-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

/* ===== Card ===== */
.login-window {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 8px 50px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.1);
  max-width: 480px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* ===== Gradient accent bar ===== */
.brand-accent {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #f59e0b, #7c5cfd, #7c5cfd);
}

/* ===== Form area ===== */
.sign-form {
  padding: 48px 44px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sign-form .clearfix {
  text-align: center;
  width: 100%;
}

.sign-form h2.heading {
  color: #09031a;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  text-align: center;
  white-space: nowrap;
}

.sign-form form {
  width: 100%;
  margin-top: 28px;
}

/* ===== Input fields ===== */
.sign-form .form-group {
  margin-bottom: 14px;
  width: 100%;
}

.sign-form .input-group {
  background: #f4f6fb;
  border: 2px solid #ebedf5;
  border-radius: 14px;
  position: relative;
  transition: all 0.25s ease;
}

.sign-form .input-group:focus-within {
  border-color: #7c5cfd;
  background: #fafaff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.sign-form .input-group > .input-group-text {
  background: transparent;
  border: none;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  padding: 0 0 0 16px;
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.sign-form .input-group > .input-group-text i {
  color: #9ca3af;
  font-size: 15px;
}

.sign-form .form-control {
  background: transparent;
  border: none;
  color: #09031a;
  font-size: 15px;
  font-weight: 400;
  padding: 15px 16px 15px 46px;
  width: 100%;
  height: auto;
  box-shadow: none;
}

.sign-form .form-control::placeholder {
  color: #a0a4b8;
  font-weight: 400;
}

.sign-form .form-control:focus {
  box-shadow: none;
  outline: none;
}

/* ===== Main Login button ===== */
.main-login-btn {
  width: 100%;
  padding: 15px 20px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #7c5cfd 0%, #7c5cfd 100%);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
}

.main-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

.main-login-btn:active {
  transform: translateY(0);
}

/* ===== Admin Login button ===== */
.admin-link-wrap {
  text-align: center;
  margin: 20px 0 16px;
  width: 100%;
}

.admin-login-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-login-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  text-decoration: none;
}

.admin-login-link:active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}
.admin-login-link svg {
  flex-shrink: 0;
  fill: transparent !important;
}

/* ===== Sign up text ===== */
.signup-text {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-top: 0;
}

.signup-text a {
  color: #7c5cfd;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.signup-text a:hover {
  color: #7c5cfd;
  text-decoration: underline;
}