/* login.css – Standalone login page styles (extracted from login.html) */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: #0a1628;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Full-screen background video with zoom-out effect */
.login-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1.25);
  z-index: 0;
  object-fit: contain;
  animation: zoomOut 20s ease-out forwards;
}

@keyframes zoomOut {
  0%   { transform: translate(-50%, -50%) scale(1.55); }
  100% { transform: translate(-50%, -50%) scale(1.5); }
}

/* Dark overlay */
.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.55);
  z-index: 1;
}

.login-container {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  max-width: 400px;
  width: 90%;
  padding: 40px;
  position: relative;
  z-index: 10;
}

.logo-section {
  text-align: center;
  margin-bottom: 30px;
  margin-left: -40px;
  margin-right: -40px;
  margin-top: -40px;
  padding: 30px 40px 20px;
  background: #F37021;
  border-radius: 16px 16px 0 0;
}

.logo-section h1 {
  font-size: 28px;
  color: #0B4F8A;
  font-weight: 800;
  margin-bottom: 8px;
}

.logo-section p {
  color: #0B4F8A;
  font-size: 14px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #0B4F8A;
  box-shadow: 0 0 0 3px rgba(11, 79, 138, 0.1);
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #0B4F8A;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 79, 138, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  border-left: 4px solid #c62828;
}

@media (max-width: 480px) {
  .login-container {
    width: 94%;
    padding: 24px;
    border-radius: 12px;
  }

  .logo-section {
    margin-left: -24px;
    margin-right: -24px;
    margin-top: -24px;
    padding: 24px 24px 16px;
    border-radius: 12px 12px 0 0;
  }

  .logo-section h1 {
    font-size: 24px;
  }

  .form-group input {
    padding: 14px 16px;
    font-size: 16px;
  }

  .login-btn {
    padding: 16px;
    font-size: 16px;
    min-height: 52px;
  }
}
