/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}

body {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
}


.login-page {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 0; 
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  position: relative;
}


.login-left {
  position: relative;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  color: #fff;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.login-left .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.2);
  z-index: 0;
}

.login-left h1,
.login-left p,
.login-left .login-image {
  position: relative;
  z-index: 1;
}

.login-left .login-image {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  object-fit: cover;
}


.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  z-index: 0;
  animation: float 6s infinite;
}

.circle1 { width: 120px; height: 120px; top: -40px; right: -30px; animation-delay: 0s; }
.circle2 { width: 80px; height: 80px; bottom: 50px; left: -20px; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(15px); }
}


.login-right {
  padding: 60px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f9f9f9;
}

.login-card {
  width: 100%;
  max-width: 450px; 
}

.login-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff7e5f;
  text-align: center;
}

/* Inputs */
.input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.input-group label {
  margin-bottom: 8px;
  font-weight: 600;
}

.input-group input {
  padding: 12px 15px;
  border-radius: 25px;
  border: 1px solid #ccc;
  outline: none;
  transition: all 0.3s;
}

.input-group input:focus {
  border-color: #ff7e5f;
  box-shadow: 0 0 15px rgba(255, 126, 95, 0.3);
}


.btn-login {
  width: 100%;
  padding: 15px 0;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255,126,95,0.4);
}

.btn-login:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255,126,95,0.5);
}


.signup-link {
  margin-top: 20px;
  text-align: center;
}

.signup-link a {
  color: #ff7e5f;
  text-decoration: none;
  font-weight: 600;
}

.signup-link a:hover {
  text-decoration: underline;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff; /* text color */
  background: linear-gradient(135deg, #ff9a9e, #fad0c4); /* nice gradient */
  padding: 10px 20px; /* spacing */
  border-radius: 25px; /* rounded edges */
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* subtle shadow */
}

.back-btn i {
  font-size: 1rem;
}

.back-btn:hover {
  transform: translateX(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #ff758c, #ff7eb3); /* hover gradient */
  color: #fff;
}



@media(max-width: 900px){
  .login-container {
    grid-template-columns: 1fr;
  }

  .login-left {
    display: none;
  }

  .login-right {
    padding: 40px 20px;
  }
}


