/* Custom font: Montserrat */
@font-face {
  font-family: 'HospitalFont';
  src: url('fonts/montserrat_regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}

/* Fullscreen video */
.bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Dark overlay for readability */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

/* Centered container */
.login-container {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Glassmorphism login card */
.login-form {
  /* background: rgba(255, 255, 255, 0.1); */
   background: rgba(10, 14, 32, 0.707);
  border: 1px solid rgba(147, 140, 227, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 32px 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Hospital title with custom font */
.login-form h2 {
  font-family: 'HospitalFont', Arial, sans-serif;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.05em;
  color: #f6f8ff; /* light theme */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Labels & inputs */
.login-form label {
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
}

.login-form input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 14px;
}

/* Button */
.login-form button {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border-radius: 6px;
  border: none;
  background: #0d6efd;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.login-form button:hover {
  background: #0b5ed7;
  transform: translateY(-1px);
}

/* Forgot password link */
.forgot-link {
  display: block;
  margin-top: 12px;
  text-align: right;
  font-size: 13px;
  color: #f1f1f1;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Small screens */
@media (max-width: 480px) {
  .login-form {
    padding: 24px 20px;
  }
}
