@import url(shared.css);
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  font-family: "Montserrat", sans-serif;
  background: #0081c9 linear-gradient(135deg, #00aeef 0%, #003366 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 80, 0.75);
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 100vh;
  align-items: center;
  justify-content: space-around;
  padding: 0 8%;
}

/* LEFT PANEL */
.left-panel {
  flex: 1.2;
  text-align: center;
  color: white;
}

.logo-box {
  width: 280px;
  margin: 0 auto 10px;
}

.logo-box img {
  width: 100%;
  border-radius: 30px;
}

.brand-title {
  font-size: 90px;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.brand-subtitle {
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

/* RIGHT PANEL */
.right-panel {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 210, 50, 0.3);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.login-card h2 {
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.login-card p {
  text-align: center;
  margin: 0 0 15px 0;
  color: #e8f2ff;
}

/* FIELD STYLES */
.field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.field label {
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-left: 5px;
  opacity: 0.9;
}

.input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 18px;
  color: white;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-icon i {
  width: 18px;
  height: 18px;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 45px 14px 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-weight: 600;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  line-height: normal;
}

.input-wrapper input:focus {
  border-color: #ffd84a;
  background: rgba(255, 216, 74, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 216, 74, 0.12);
}

.input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-size: 12px;
}

.input-wrapper input:-webkit-autofill,
.input-wrapper input:-webkit-autofill:hover,
.input-wrapper input:-webkit-autofill:focus,
.input-wrapper input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.05) inset !important;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.05) inset !important;

  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff;
  border-radius: 50px;
  transition: background-color 9999s ease-in-out 0s;
}
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

input[type="password"]::-webkit-textfield-decoration-container {
  display: none;
}
/* Password toggle button */
.toggle-btn {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 24px;
  height: 24px;
  opacity: 0.8;
  z-index: 2;
}

.toggle-btn i {
  width: 18px;
  height: 18px;
}

.toggle-btn:hover {
  opacity: 1;
}

/* Error / success messages */
.error-message {
  background: rgba(255, 80, 80, 0.18);
  border: 1px solid rgba(255, 80, 80, 0.4);
  color: #ffc5c5;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-message {
  background: rgba(80, 255, 150, 0.15);
  border: 1px solid rgba(80, 255, 150, 0.4);
  color: #c5ffe0;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Gold submit button */
.btn-login {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #ffd84a, #ffb300);
  color: #1a1200;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(255, 210, 50, 0.35);
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 210, 50, 0.5);
}

.superadmin-footer {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.copyright {
  position: absolute;
  bottom: 30px;
  left: 50px;
  font-size: 11px;
  color: white;
  opacity: 0.7;
}

@media (max-width: 850px) {
  .container {
    flex-direction: column;
    padding: 50px 20px;
    height: auto;
  }

  .brand-title {
    font-size: 60px;
  }

  .copyright {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 40px;
    text-align: center;
    padding-bottom: 20px;
  }
}
