/* Hide all Listmonk branding, footer, and default logos */
footer.container, footer.footer, footer, .footer {
  display: none !important;
}

.logo img {
  display: none !important;
}

/* Custom modern branded logo on login screen */
.logo a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #0f172a;
  margin: 20px auto 10px auto;
}

.logo a::before {
  content: "✉";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  color: #ffffff;
  font-size: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

.logo a::after {
  content: "MailStudio";
  letter-spacing: -0.5px;
}

body {
  background: #f8fafc !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

section.login {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  border: 1px solid #e2e8f0;
  padding: 36px 32px;
  max-width: 420px;
  margin: 20px auto;
}

section.login h2 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  text-align: center;
  margin-bottom: 24px;
}

section.login .form input[type="text"],
section.login .form input[type="password"] {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

section.login .form input[type="text"]:focus,
section.login .form input[type="password"]:focus {
  border-color: #6366f1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

section.login button.button {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  width: 100%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

section.login button.button:hover {
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}
