
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@700;800&display=swap');

body.wm-login {
  min-height: 100vh;
  margin: 0;
  color: #10132b;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,101,125,.18), transparent 34rem),
    radial-gradient(circle at 100% 100%, rgba(41,217,178,.2), transparent 38rem),
    #f8f8fe;
  font-family: 'DM Sans', system-ui, sans-serif;
}

body.wm-login::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, transparent 46%, rgba(112,92,255,.055) 46%, rgba(112,92,255,.055) 47%, transparent 47%),
    radial-gradient(circle at 82% 18%, rgba(112,92,255,.11), transparent 20rem);
}

body.wm-login .container.wrap {
  position: relative;
  width: min(460px, calc(100% - 32px));
  margin: 7vh auto 0;
  padding: 38px 42px 40px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(24,28,66,.15);
  backdrop-filter: blur(18px);
}

body.wm-login .header {
  margin: 0 0 30px;
  padding: 0 0 26px;
  border-bottom: 1px solid #e8e8f3;
}

body.wm-login .header .logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #10132b;
  font: 800 23px/1 'Manrope', system-ui, sans-serif;
  letter-spacing: -.045em;
  text-decoration: none;
}

body.wm-login .header .logo a::after {
  content: 'WannaMail.me';
}

body.wm-login .header .logo img {
  width: 52px;
  height: 52px;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

body.wm-login .login h2 {
  margin: 0;
  color: #10132b;
  font: 800 34px/1.1 'Manrope', system-ui, sans-serif;
  letter-spacing: -.045em;
}

body.wm-login .wm-subtitle {
  margin: 11px 0 26px;
  color: #686d88;
  font-size: 15px;
  line-height: 1.55;
}

body.wm-login .wm-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  padding: 7px 11px;
  color: #5143b8;
  background: rgba(112,92,255,.09);
  border: 1px solid rgba(112,92,255,.14);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.wm-login .wm-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #29d9b2;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(41,217,178,.14);
}

body.wm-login .form p { margin: 0 0 19px; }

body.wm-login .form label {
  display: block;
  margin-bottom: 7px;
  color: #343852;
  font-size: 13px;
  font-weight: 700;
}

body.wm-login .form input[type='text'],
body.wm-login .form input[type='password'] {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  color: #10132b;
  background: #fff;
  border: 1px solid #ddddec;
  border-radius: 13px;
  box-shadow: 0 3px 12px rgba(18,21,50,.04);
  font: 500 15px/1 'DM Sans', system-ui, sans-serif;
  transition: border-color .2s, box-shadow .2s;
}

body.wm-login .form input:focus {
  outline: none;
  border-color: #705cff;
  box-shadow: 0 0 0 4px rgba(112,92,255,.12);
}

body.wm-login .form .submit { margin-top: 25px; }

body.wm-login .form .button {
  width: 100%;
  min-height: 52px;
  color: #fff;
  background: linear-gradient(100deg, #ff657d, #705cff 58%, #29bfa2 125%);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(90,72,215,.25);
  font: 700 15px/1 'DM Sans', system-ui, sans-serif;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

body.wm-login .form .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(90,72,215,.31);
}

body.wm-login .login .center.small { margin: 23px 0 0; }

body.wm-login .login .center.small a {
  color: #5f50d5;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.wm-login > footer { display: none !important; }

.navbar .navbar-brand .logo {
  min-width: 215px;
}

.navbar .navbar-brand .logo .wm-admin-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 6px 14px;
  color: #10132b;
  font: 800 19px/1 'Manrope', system-ui, sans-serif;
  letter-spacing: -.045em;
  text-decoration: none;
}

.navbar .navbar-brand .logo .wm-admin-logo img {
  width: 38px;
  height: 38px;
  max-height: none;
  object-fit: contain;
}

.navbar .navbar-brand .logo .wm-admin-logo em {
  color: #705cff;
  font-style: normal;
}

.navbar {
  border-bottom: 1px solid #ececf5;
  box-shadow: 0 5px 20px rgba(24,28,66,.045);
}

.button.is-primary {
  background-color: #6754e8;
}

.button.is-primary:hover {
  background-color: #5744d5;
}

@media (max-width: 560px) {
  body.wm-login .container.wrap {
    margin-top: 22px;
    padding: 30px 25px 32px;
    border-radius: 23px;
  }
  body.wm-login .login h2 { font-size: 30px; }
}
