* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Background */
body {
  min-height: 100vh;
  background: url("../images/2.jpg") no-repeat center center / cover;
  display: flex;
  flex-direction: column;
  color: #fff;
  backdrop-filter: blur(6px); /* glassmorphism */
}

/* Navbar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  font-size: 20px;
}

header .logo img {
  height: 100px;
}

.logo img {
  width: 100px;
  border-radius: 50%;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.3s;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.2);
}

nav a.active {
  background: #673147; /* highlight */
}

/* Auth Section Layout */
.auth-section {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 80px;
  flex-wrap: wrap; /* Allow elements to wrap on smaller screens */
}

/* Left Side Title */
.auth-text {
  flex: 1;
  max-width: 50%;
}

.auth-text h1 {
  font-size: 80px;
  font-weight: bold;
  line-height: 1.2;
}

.auth-box {
background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 20px;
  width: 450px;
  color: #f5f5f5; /* lighter text for contrast */
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  margin-left: 30px;
}

.auth-box h2 {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Labels & Inputs */
.auth-box label {
  display: block;
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: left;
  font-weight: bold;
}

.auth-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: none;
  border-radius: 15px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  outline: none;
  font-size: 14px;
}

.auth-box input::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Button */
.auth-box button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #3d2c25;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.auth-box button:hover {
  background: #673147;
}

/* Bottom link */
.auth-link {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  color: #fff;
}

.auth-link a {
  color: #fff;
  text-decoration: underline;
}

/* ===================== RESPONSIVENESS ===================== */

/* Medium Screens / Tablets (max-width: 768px) */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    font-size: 18px;
  }

  header .logo img {
    height: 80px;
  }

  .auth-section {
    padding: 80px 30px;
    flex-direction: column; /* Stack the sections vertically on small screens */
  }

  .auth-text {
    max-width: 100%; /* Full width */
    text-align: center;
    margin-bottom: 30px;
  }

  .auth-text h1 {
    font-size: 60px;
  }

  .auth-box {
    width: 100%;
    margin-left: 0;
  }

  .auth-box h2 {
    font-size: 20px;
  }

  .auth-box input {
    font-size: 16px;
  }

  .auth-box button {
    font-size: 16px;
  }
}

/* Small Screens / Mobile (max-width: 480px) */
@media (max-width: 480px) {
  header {
    padding: 10px 15px;
    font-size: 16px;
  }

  header .logo img {
    height: 60px;
  }

  .auth-section {
    padding: 60px 20px;
    flex-direction: column; /* Stack the sections vertically */
  }

  .auth-text {
    max-width: 100%; /* Full width */
    text-align: center;
    margin-bottom: 20px;
  }

  .auth-text h1 {
    font-size: 45px;
  }

  .auth-box {
    width: 100%;
    margin-left: 0;
  }

  .auth-box h2 {
    font-size: 18px;
  }

  .auth-box input {
    font-size: 14px;
  }

  .auth-box button {
    font-size: 14px;
  }

  .auth-link {
    font-size: 12px;
  }
}
