* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: white;
  font-weight: 400;
  overflow: hidden;
}

/* Placeholder styles */
::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.7); }
::-moz-placeholder { color: rgba(255, 255, 255, 0.7); opacity: 1; }
:-moz-placeholder { color: rgba(255, 255, 255, 0.7); opacity: 1; }
:-ms-input-placeholder { color: rgba(255, 255, 255, 0.7); }
.wrapper {
  background: #473c01;
  background: linear-gradient(135deg, #473c01 0%, #5a4a02 50%, #473c01 100%);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  position: relative;
  z-index: 10;
}

.login-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Login Header Styles */
.login-header {
  margin-bottom: 2.5rem;
}

.logo-container {
  margin-bottom: 1.5rem;
}

.main-logo {
  width: 180px;
  height: auto;
  filter: brightness(1.1);
}

.system-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
  letter-spacing: -0.025em;
}

.system-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.datetime-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(204, 221, 232, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.datetime-display i {
  font-size: 0.8rem;
}

/* Form Styles */
.login-form-container {
  margin-bottom: 2rem;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  z-index: 2;
}

.modern-form input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  color: white;
  font-weight: 400;
  transition: all 0.3s ease;
  outline: none;
}

.modern-form input:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.modern-form input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.login-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  color: #473c01;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.login-btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.login-btn:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.login-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Validation Errors */
.validation-errors {
  margin-top: 1rem;
}

.validation-errors ul {
  list-style: none;
  padding: 0;
}

.validation-errors li {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 107, 107, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border-left: 3px solid #ff6b6b;
}
/* Footer Styles */
.login-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.powered-by {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 400;
}

.powered-by strong {
  color: white;
  font-weight: 600;
  margin-left: 0.25rem;
}

.footer-logo {
  width: 140px;
  height: auto;
  opacity: 0.9;
  filter: brightness(1.1);
}

/* Responsive Design */
@media (max-width: 640px) {
  .login-card {
    padding: 2rem 1.5rem;
    margin: 1rem;
    border-radius: 20px;
  }

  .system-title {
    font-size: 1.75rem;
  }

  .system-subtitle {
    font-size: 0.9rem;
  }

  .main-logo {
    width: 150px;
  }

  .footer-logo {
    width: 120px;
  }
}

/* Background Bubbles */
.bg-bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bg-bubbles li {
  position: absolute;
  list-style: none;
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  bottom: -160px;
  border-radius: 50%;
  animation: bubble-float 25s infinite linear;
}
.bg-bubbles li:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.bg-bubbles li:nth-child(2) {
  left: 20%;
  width: 80px;
  height: 80px;
  animation-delay: 2s;
  animation-duration: 17s;
  background-color: rgba(255, 255, 255, 0.06);
}

.bg-bubbles li:nth-child(3) {
  left: 25%;
  animation-delay: 4s;
  width: 30px;
  height: 30px;
}

.bg-bubbles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-duration: 22s;
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-bubbles li:nth-child(5) {
  left: 70%;
  animation-delay: 1s;
}

.bg-bubbles li:nth-child(6) {
  left: 80%;
  width: 100px;
  height: 100px;
  animation-delay: 3s;
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-bubbles li:nth-child(7) {
  left: 32%;
  width: 120px;
  height: 120px;
  animation-delay: 7s;
  background-color: rgba(255, 255, 255, 0.04);
}

.bg-bubbles li:nth-child(8) {
  left: 55%;
  width: 20px;
  height: 20px;
  animation-delay: 15s;
  animation-duration: 35s;
}

.bg-bubbles li:nth-child(9) {
  left: 15%;
  width: 15px;
  height: 15px;
  animation-delay: 8s;
  animation-duration: 30s;
  background-color: rgba(255, 255, 255, 0.12);
}

.bg-bubbles li:nth-child(10) {
  left: 85%;
  width: 90px;
  height: 90px;
  animation-delay: 11s;
  background-color: rgba(255, 255, 255, 0.06);
}
@keyframes bubble-float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}