/* Bet30 Login Modal Styles */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

.login-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.login-content {
  background: rgba(0, 0, 50, 1); /* Dark blue background requested */
  width: 90%;
  max-width: 400px;
  padding: 40px 30px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.login-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
  padding: 5px;
}

.login-close:hover {
  opacity: 1;
}

.login-logo {
  margin-bottom: 20px;
}

.login-logo img {
  height: 80px; /* Adjust based on actual logo aspect ratio */
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.login-subtitle {
  color: #fff;
  font-size: 15px;
  margin-bottom: 30px;
  font-weight: 500;
  line-height: 1.4;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-group {
  position: relative;
}

.form-input {
  width: 100%;
  background: rgba(30, 30, 80, 0.6); /* Semi-transparent blueish */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 14px 15px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-weight: 600;
}

.form-input:focus {
  border-color: #c5a009;
  background: rgba(40, 40, 90, 0.8);
}

.form-input::placeholder {
  color: #9ca3af;
}

.password-wrap {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  color: #fff;
}

.btn-login-custom {
  width: 100%;
  background: #c5a009; /* Golden yellow */
  color: #000;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 15px;
  transition: background 0.2s, transform 0.1s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-login-custom:hover {
  background: #ffd700;
}

.btn-login-custom:active {
  transform: scale(0.98);
}

.login-error {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #fca5a5;
  border-radius: 4px;
  padding: 10px;
  font-size: 13px;
  text-align: left;
  margin-top: 5px;
}
