* { /*browser margin */
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

.container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh; /* Full viewport height so % heights inside work */
    background-color: #F8FAFC;
    background-image: url(/Resources/login-page/login-bg.jpg);
    background-size: cover;       /* Fill without stretching */
    background-position: center;  /* Center the image */
    background-repeat: no-repeat; /* Avoid tiling */
}

.login-design{
  width: 80%;
  height: 100%;
  padding: 2%;
}

.logo-header {
  display: flex;
  align-items: center; /* Vertically center */
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.login-logo {
  width: 100px;
  height: auto;
  margin-right: 10px;
  animation: fadeIn 2s ease-in forwards;
}

.logo-header p {
  font-size:40px;
  font-weight: bold;
  margin: 0; /* Remove default paragraph margin */
  color: white;
}

.login-information{
  display: flex;
  justify-content: center;     /* Center horizontally inside this column */
  align-items: center;         /* Center vertically inside this column */
}

.login-picture {
  padding-top: 7%;
  width: 80%; /* Keep width fixed */
  opacity: 0; /* Start fully transparent */
  animation: fadeIn 3s ease-in forwards;
}

.login-page {
  width: 30%;
  height: 100vh;  /* Full height, but only 30% width */
  display: flex;
  justify-content: center;     /* Center horizontally inside this column */
  align-items: center;         /* Center vertically inside this column */
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: black;
  padding: 20px;
}

/* The actual login container box */
.login-container {
  background-color: white;
  width: 100%;                 /* Use full width of .login-page */
  max-width: 350px;            /* But don’t get too big on large screens */
  height: 100%;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;  
  flex-direction: column;
  justify-content: center;   /* Center vertically inside container */
  align-items: center;       /* Center horizontally inside container */
  text-align: center; 
  animation: fadeIn 3s ease-in forwards;
}

.login-message{
  width: 100%;  
}

.details-container {
  width: 100%;
}

.details-label {
  display: block;       /* ✅ forces label to occupy full line */
  text-align: left;  
  color:black;  
}

.details-input {
  width: 100%;
  box-sizing: border-box;
  background-color: white;
  border: 1px solid black;
  padding: 2px;
}

.blue-button {
  border-radius: 20px;
  border: 2px solid #053969;
  background-color: #053969;
  padding: 2%;
  color: white;
  width: 100%;
  max-width: 250px;
  min-width: 100px;
  font-size: 15px;
  display: block;
  margin: 0 auto;
  cursor: pointer;

  /* Smooth fade and scale */
  transition: background-color 0.8s ease-in-out, 
              color 0.8s ease-in-out, 
              transform 0.3s ease-in-out;
}

.blue-button:hover {
  background-color: white;  /* Light blue */
  color: #053969;             /* Original button color */
  transform: scale(1.02);     /* Optional subtle zoom */
}

.sign-input {
  width: 100%;
  box-sizing: border-box; /* ensures padding and borders don’t break the width */
  align-self: center;
  background-color: white;
  border: 1px solid black; /* fixed border */
  padding: 2px; /* optional: adds space inside */
}

@media (max-width: 900px) {
  .container {
      display: flex;
      flex-direction: column;
      width: 100%;
      height: 100vh; /* Full viewport height so % heights inside work */
  }

  .login-design {
      width: 100%;
      height: 10%;
      padding: 2%;
  }

  .logo-header {
    display: flex;
    align-items: center; /* Vertically center */
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    align-self: center;       /* vertical centering in flex row */
    justify-content: center;  /* horizontal centering if flex child has flex items */
    margin: 0 auto;           /* horizontal centering for block inside flex */
  }

  .login-picture{
    width: 0%;
  }


  .login-page {
      width: 100%;
      height: 100vh; 
      display: flex;
  }


}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

