/* ==========================
   RESET
========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f7f8fc;
  color: #111827;
}

/* ==========================
CONTAINER
========================== */

.container {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* ==========================
LEFT
========================== */

.left-side {
  width: 60%;

  position: relative;

  overflow: hidden;

  /* padding: 100px 250px; */
  padding: 40px 150px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  background: linear-gradient(135deg, #3d72ff 0%, #2f62ef 40%, #214fd2 100%);
}

/* ==========================
LOGO
========================== */

.logo {
  display: flex;

  align-items: center;

  gap: 14px;
  margin-bottom: 30px;
}

.logo-icon {
  width: 46px;

  height: 46px;

  /* background: rgba(255, 255, 255, 0.14); */

  border-radius: 15px;

  display: flex;

  justify-content: center;

  align-items: center;

  backdrop-filter: blur(20px);
}

.logo-icon img {
  width: 35px;
  height: 35px;
}

.logo span {
  color: white;

  font-size: 20px;

  font-weight: 700;
}

/* ==========================
HERO
========================== */

.hero {
  max-width: 560px;
}

.hero h1 {
  color: white;

  font-size: 45px;

  line-height: 1.05;

  font-weight: 800;

  margin-bottom: 20px;
}

.hero h1 span {
  display: block;

  color: #bdd7ff;
}

.hero p {
  color: #dbe8ff;

  font-size: 15px;

  line-height: 1.9;

  margin-bottom: 20px;
}

/* ==========================
FEATURES
========================== */

.feature-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;

  max-width: 650px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(15px);

  border-radius: 18px;

  padding: 20px;

  transition: 0.35s;
}

.feature-card:hover {
  transform: translateY(-6px);

  background: rgba(255, 255, 255, 0.16);
}

.feature-card .icon {
  width: 45px;

  height: 45px;

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(255, 255, 255, 0.18);

  margin-bottom: 18px;
}

.feature-card i {
  color: white;

  font-size: 22px;
}

.feature-card h3 {
  color: white;

  font-size: 15px;

  margin-bottom: 8px;
}

.feature-card p {
  color: #d9e5ff;

  font-size: 10px;
}

/* ==========================
BOTTOM
========================== */

.bottom-info {
  display: flex;

  align-items: center;

  margin-top: 45px;

  gap: 18px;

  color: white;
}

.bottom-info p {
  font-size: 13px;
}

.bottom-info small {
  color: #ffd54f;

  font-size: 13px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 28px;

  height: 28px;

  border-radius: 50%;

  border: 3px solid white;

  margin-left: -8px;
}

.avatars span:nth-child(1) {
  background: #8b5cf6;
}

.avatars span:nth-child(2) {
  background: #3b82f6;
}

.avatars span:nth-child(3) {
  background: #22c55e;
}

/* ==========================
FLOATING IMAGE
========================== */

.floating {
  position: absolute;

  border-radius: 18px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);

  animation: float 5s ease-in-out infinite;
}

.floating.top {
  width: 250px;

  right: 60px;

  top: 70px;

  transform: rotate(8deg);
}

.floating.bottom {
  width: 230px;

  left: -40px;

  bottom: 35px;

  transform: rotate(-8deg);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ==========================
RIGHT
========================== */

.right-side {
  width: 45%;

  display: flex;

  justify-content: center;

  align-items: center;

  background: #fafafa;

  padding: 50px;
}

/* ==========================
LOGIN CARD
========================== */

.login-card {
  width: 100%;

  max-width: 380px;

  background: white;

  border-radius: 26px;

  padding: 40px;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.login-card h2 {
  font-size: 20px;

  margin-bottom: 8px;

  font-weight: 700;
}

.subtitle {
  color: #6b7280;
  font-size: 15px;
  margin-bottom: 35px;
}

/* ==========================
FORM
========================== */

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;

  font-size: 13px;

  font-weight: 600;

  margin-bottom: 10px;
}

.form-group input {
  width: 100%;

  height: 50px;

  border: 1px solid #dfe3eb;

  border-radius: 14px;

  padding: 0 18px;

  font-size: 15px;

  transition: 0.25s;
}

.form-group input:focus {
  outline: none;

  border-color: #356dff;

  box-shadow: 0 0 0 4px rgba(53, 109, 255, 0.15);
}

/* ==========================
PASSWORD
========================== */

.password-box {
  position: relative;
}

.password-box button {
  position: absolute;

  right: 18px;

  top: 50%;

  transform: translateY(-50%);

  border: none;

  background: none;

  cursor: pointer;
}

.password-box i {
  font-size: 20px;

  color: #8c94a4;
}

.label-row {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 10px;
}

.label-row a {
  text-decoration: none;

  color: #356dff;

  font-size: 13px;
}

/* ==========================
REMEMBER
========================== */

.remember {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 25px;
}

.remember input {
  width: 18px;

  height: 18px;
}

.remember label {
  color: #555;

  font-size: 12px;
}

/* ==========================
BUTTON
========================== */

.login-btn {
  width: 100%;

  height: 50px;

  border: none;

  border-radius: 14px;

  background: #356dff;

  color: white;

  font-size: 15px;

  font-weight: 500;

  cursor: pointer;

  transition: 0.25s;
}

.login-btn:hover {
  transform: translateY(-2px);
  background: #3061dd;
}

/* ==========================
DIVIDER
========================== */

.divider {
  display: flex;

  align-items: center;

  gap: 15px;

  margin: 28px 0;
}

.divider::before,
.divider::after {
  content: "";

  flex: 1;

  height: 1px;

  background: #ececec;
}

.divider span {
  color: #999;

  font-size: 12px;
}

/* ==========================
GOOGLE
========================== */

.google-btn {
  width: 100%;

  height: 50px;

  border: 1px solid #ddd;

  border-radius: 14px;

  background: white;

  display: flex;
  
  text-decoration: none;

  justify-content: center;

  align-items: center;

  gap: 12px;

  cursor: pointer;

  font-weight: 500;

  transition: 0.25s;
}

.google-btn:hover {
  background: #f8f8f8;
}

/* ==========================
SIGNUP
========================== */

.signup {
  text-align: center;

  margin-top: 28px;

  color: #666;
}

.signup a {
  text-decoration: none;

  color: #356dff;

  font-weight: 600;
}

/* ==========================
RESPONSIVE
========================== */

@media (max-width: 1100px) {
  .left-side {
    display: none;
  }

  .right-side {
    width: 100%;

    padding: 40px;
  }

  .login-card {
    max-width: 500px;
  }
}

@media (max-width: 600px) {
  .right-side {
    padding: 20px;
  }

  .login-card {
    padding: 30px 22px;

    border-radius: 20px;
  }

  .login-card h2 {
    font-size: 30px;
  }

  .login-btn,
  .google-btn {
    height: 52px;
  }
}
