:root {
  --meos-blue: #2563eb;
  --meos-blue-light: #3b82f6;
  --meos-blue-dark: #0f172a;
  --meos-text: #ffffff;
  --meos-text-soft: rgba(255,255,255,.72);
  --meos-border: rgba(255,255,255,.14);
  --meos-card: rgba(15, 23, 42, 0.58);
  --meos-card-strong: rgba(15, 23, 42, 0.72);
  --meos-shadow: 0 20px 60px rgba(0,0,0,.35);
  --meos-danger: #ff6b81;
  --discord: #5865f2;
  --discord-dark: #4752c4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #0f172a;
}

.meos-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.meos-login::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,18,40,.88), rgba(10,18,40,.58)),
    radial-gradient(circle at top left, rgba(37,99,235,.22), transparent 30%),
    url('../images/image_06.png') center center / cover no-repeat;
  z-index: 1;
}

.meos-login-wrap {
  width: 100%;
  max-width: 430px;
  position: relative;
  z-index: 2;
}

.meos-login-card {
  background: var(--meos-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--meos-border);
  border-radius: 24px;
  box-shadow: var(--meos-shadow);
  padding: 32px 28px;
}

.meos-login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.meos-login-brand img {
  display: block;
  max-width: 110px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.28));
}

.meos-login-title {
  text-align: center;
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 6px;
}

.meos-login-subtitle {
  text-align: center;
  color: var(--meos-text-soft);
  margin: 0 0 22px;
  font-size: .96rem;
  line-height: 1.5;
}

.meos-login-warning {
  text-align: center;
  color: rgba(255,255,255,.62);
  margin: 18px 0 0;
  font-size: .73rem;
  line-height: 1.5;
}

.meos-login-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(59,130,246,.22);
  color: rgba(255,255,255,.72);
  font-size: .78rem;
}

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

.form-label {
  display: block;
  color: rgba(255,255,255,.92);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: .95rem;
}

.form-control {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 13px 15px;
  min-height: 48px;
  transition: .2s ease;
  outline: none;
  font-family: inherit;
  font-size: .96rem;
}

.form-control::placeholder {
  color: rgba(255,255,255,.45);
}

.form-control:focus {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(59,130,246,.75);
  box-shadow: 0 0 0 .25rem rgba(59,130,246,.18);
}

.alert-danger {
  border: 1px solid rgba(255,107,129,.35);
  background: rgba(255,107,129,.14);
  color: #ffd8df;
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 18px;
  font-size: .92rem;
  line-height: 1.5;
}

.btn-primary,
.btn-discord {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  border: none;
  border-radius: 14px;
  min-height: 50px;
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .01em;
  font-family: inherit;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--meos-blue), var(--meos-blue-light)) !important;
  box-shadow: 0 12px 30px rgba(37,99,235,.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(59,130,246,.40);
}

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

.btn-discord {
  background: linear-gradient(135deg, var(--discord), var(--discord-dark));
  box-shadow: 0 12px 30px rgba(88,101,242,.25);
}

.btn-discord:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(88,101,242,.32);
}

.meos-login-links {
  margin-top: 18px;
  text-align: center;
}

.meos-login-links a {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.meos-login-links a:hover {
  color: #fff;
}

.meos-login-divider {
  position: relative;
  text-align: center;
  margin: 22px 0 18px;
}

.meos-login-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,.14);
}

.meos-login-divider span {
  position: relative;
  background: rgba(15, 23, 42, .72);
  padding: 0 12px;
  color: rgba(255,255,255,.58);
  font-size: .85rem;
}

/* mobiel */
@media (max-width: 575.98px) {
  .meos-login {
    padding: 18px;
  }

  .meos-login-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .meos-login-brand img {
    max-width: 90px;
    max-height: 90px;
  }

  .meos-login-title {
    font-size: 1.6rem;
  }
}