

* {
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--app-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   Layout
   ========================= */

.login-container {
  display: flex;
  width: 100%;
  min-height: 680px;
  background: var(--surface);
  overflow: hidden;
}

/* =========================
   Left Panel
   ========================= */

.login-panel {
  flex: 2;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-form-wrap {
  width: 100%;
  max-width: 400px;
  /* padding: var(--space-md); */
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand-text span {
  display: block;
  font-size: 13px;
  color: var(--gray);
}

.welcome h1 {
  margin: 0 0 6px;
  font-size: 32px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* =========================
   Form
   ========================= */

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  background-color: var(--input-bg);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 15px;
}

.field input:focus {
  outline: none;
  border-color: var(--primary);
}

.password-wrap {
  position: relative;
}

.password-wrap .peek {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 28px;
}

.link {
  color: var(--primary);
  text-decoration: none;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--primary) 70%, var(--secondary));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 1s ease, opacity .3s ease;
}

.submit-btn:hover {
  opacity: .95;
  background: linear-gradient(120deg, var(--primary) 95%, var(--secondary));
}

.tenant-btn {
  margin-top: 18px;
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* =========================
   Right Panel
   ========================= */

.feature-panel {
  flex: 1;
  padding: 56px 48px;
  background: var(--primary);
  /* background: linear-gradient(135deg, var(--primary), var(--secondary)); */
  color: #fff;
}

.feature-panel h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.subtitle {
  opacity: .9;
  margin-bottom: 40px;
}

  .features-list {
      position: relative;
      z-index: 1;
  }

  .feature-item {
      display: flex;
      margin-bottom: 40px;
      animation: fadeInUp 0.5s ease forwards;
      opacity: 0;
  }

  .feature-item:nth-child(2) {
      animation-delay: 0.2s;
  }

  .feature-item:nth-child(3) {
      animation-delay: 0.4s;
  }

  .feature-icon {
      background: rgba(255, 255, 255, 0.1);
      width: 60px;
      height: 60px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 20px;
      flex-shrink: 0;
      font-size: 24px;
      backdrop-filter: blur(10px);
  }

  .feature-content h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
  }

  .feature-content p {
      font-size: 15px;
      opacity: 0.8;
      line-height: 1.6;
  }

  .feature-highlight {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      padding: 30px;
      margin-top: 20px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      position: relative;
      z-index: 1;
      animation: fadeInUp 0.5s ease 0.6s forwards;
      opacity: 0;
  }

  .feature-highlight h4 {
      font-size: 18px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
  }

  .feature-highlight h4 i {
      margin-right: 10px;
      color: var(--success);
  }

  .feature-highlight p {
      font-size: 14px;
      opacity: 0.8;
  }

  /* Animations */
  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(20px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  @keyframes pulse {
      0% {
          box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4);
      }
      70% {
          box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
      }
      100% {
          box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
      }
  }

        /* Responsive Design */



/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
  .login-container {
    flex-direction: column;
  }
  .feature-panel {
    order: -1;
  }
}
