/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
  position: relative;
}

/* Background Image */
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://i.pinimg.com/1200x/24/f5/db/24f5dbe4652bcad09efc34035e4f3e97.jpg') no-repeat center center/cover;
  z-index: -2;
}

/* Dark overlay for better readability */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(2px);
  z-index: -1;
}

/* Centering Container */
.login-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Login Form */
.login-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  width: 350px;
  transition: transform 0.3s ease;
}
.login-form:hover {
  transform: translateY(-5px);
}

.title {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 600;
}

/* Input Group */
.input-group {
  position: relative;
  margin-bottom: 30px;
}
.input-group input {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: none;
  border-bottom: 2px solid #ccc;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}
.input-group label {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #aaa;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Floating Label Effect */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 13px;
  color: red;
}
.input-group input:focus {
  border-bottom: 2px solid red;
}

/* Button */
.login-button {
  width: 100%;
  padding: 12px;
  background: red;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.login-button:hover {
  background: black;
  color: #fff;
}
