/* Global */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f5f5f5;
}

/* Hero Background */
.login-hero {
  height: 100vh;
  background: url('../images/decohome.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.login-hero .overlay {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.5);
}

/* Card */
.login-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 2;
  animation: fadeIn 1s ease;
}

.login-card h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
  color: #d4af37;
}

.login-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
}

/* Form */
.login-card form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  position: relative;
}
.input-group input {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}
.input-group input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212,175,55,0.3);
}

/* Floating Labels */
.input-group label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 0.9rem;
  pointer-events: none;
  transition: 0.3s ease all;
}
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 0.75rem;
  color: #d4af37;
  background: #fff;
  padding: 0 5px;
}

/* Button */
.login-card button {
  padding: 1rem;
  background: #d4af37;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.login-card button:hover {
  background: #b9962b;
  transform: scale(1.05);
}

/* Signup text */
.signup-text {
  margin-top: 1rem;
  font-size: 0.9rem;
}
.signup-text a {
  color: #d4af37;
  text-decoration: none;
}
.signup-text a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px);}
  to { opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 500px) {
  .login-card { padding: 2rem 1.5rem; }
}
