/* Import Classic Library Font */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Poppins:wght@300;400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Playfair Display", serif;
}

/* Background - Dark Wood Library */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #2d1f1f;
  padding: 20px;
}

/* Main Container */
.container {
  display: flex;
  width: 800px;
  background: rgba(240, 224, 202, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 2px solid #8b5e3c;
}

/* Image Container */
.imgContainer {
  width: 50%;
}

.imgContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%) contrast(90%);
}

/* Login Form Container */
.dataContainer {
  width: 50%;
  padding: 30px;
  text-align: center;
  color: #f5e6ca;
}

/* Headings */
#head h1 {
  font-size: 30px;
  font-weight: 700;
  color: #d4a373;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.subhead p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #e6ccb2;
  font-style: italic;
}

/* Input Fields - Aged Parchment Look */
.inputBox input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #8b5e3c;
  border-radius: 6px;
  font-size: 16px;
  background: rgba(230, 204, 178, 0.8);
  color: #3e2f2f;
  outline: none;
  transition: all 0.3s ease-in-out;
}

/* Placeholder Styling */
.inputBox input::placeholder {
  color: #6d4c41;
}

/* Focus Effect */
.inputBox input:focus {
  background: rgba(245, 230, 202, 0.9);
  box-shadow: 0 0 8px rgba(139, 94, 60, 0.8);
}

/* Login Button */
button {
  background: #a67c52;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  width: 100%;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

button:hover {
  background: #8b5e3c;
  box-shadow: 0px 0px 10px rgba(212, 163, 115, 0.8);
}

/* Forgot Password & Sign Up Links */
.extra-links {
  margin-top: 15px;
}

.extra-links a {
  color: #d4a373;
  text-decoration: none;
  font-size: 14px;
}

.extra-links a:hover {
  text-decoration: underline;
}
.extra-links :nth-child(1) {
  color: #f4f4f4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 90%;
  }

  .imgContainer {
    width: 100%;
    height: 250px;
  }

  .dataContainer {
    width: 100%;
    padding: 20px;
  }
}
