@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root{ 
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #1a1715; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #110a06; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #2953fa; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --secondary-color: #0fcfff; /* A lighter shade of the background color, used for secondary sections or elements that need to be visually separated from the main background */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
    --text-color: #000;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body{
    background-color: #adc3d4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
}

a{
    text-decoration: none;
    color: var(--text-color);
}

.close-btn{
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px;
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  /* width: 40px;  */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, color 0.3s;
}

.auth-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-family: Inter, sans-serif;
}

/* LEFT */


.brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 40px;
}



.auth-left h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.auth-left h1 span {
  color: var(--accent-color);
}

.sub-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555;
}

.features li {
  list-style: none;
  margin-bottom: 12px;
  font-size: 16px;
}

/* RIGHT */
.auth-right {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-right h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: 30px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.google-btn img {
  width: 20px;
}

.divider {
  text-align: center;
  margin: 25px 0;
  color: #999;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #ddd;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
  text-align: left;
}

.form-group input {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.submit-btn {
  margin-top: 10px;
  padding: 14px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.login-text {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

.login-text a {
  color: var(--accent-color);
  font-weight: 600;
}


.moving-gradient {
  background: linear-gradient(
    120deg,
    var(--accent-color),
    var(--secondary-color),
    var(--accent-color)
  );
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.gradient-text {
  background: linear-gradient(
    120deg,
    var(--accent-color),
    var(--secondary-color),
    var(--accent-color)
  );
  background-size: 300% 300%;
  animation: textGradientMove 6s ease infinite;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes textGradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}



/* RESPONSIVE */
@media (max-width: 992px) {
  .auth-section {
    grid-template-columns: 1fr;
  }

  .auth-left {
    padding: 50px 30px;
    text-align: center;
  }

  .auth-right {
    padding: 50px 30px;
  }
}
