/* Custom CSS for Listmonk Public Pages */
:root {
  --color-scheme-1--background: black;
  --color-scheme-1--text: #89839c;
  --_typography---font-styles--body: Inter, Arial, sans-serif;
  --_typography---font-styles--heading: Inter, Arial, sans-serif;
  --brand-purple-dark: #1a0c25;
  --brand-purple-medium: #5a4a74;
  --brand-cyan: #143d51;
  --brand-pink: #ff00ff;
}

html, body, .container, .wrap, .wrapper, .app, .navbar, #app, .main, .section, .columns, .column {
  background-color: #1a0c25 !important;
}

body {
  background-color: var(--brand-purple-dark);
  color: var(--color-scheme-1--text);
  font-family: var(--_typography---font-styles--body);
  background-image: linear-gradient(to bottom right, #2a002a80, #143d5180);
  min-height: 100vh;
}

/* Style containers */
.container, .wrapper {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* Style headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--_typography---font-styles--heading);
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 2rem;
}

/* Style card containers */
.card, .box, .content-wrapper {
  background-color: rgba(26, 12, 37, 0.7);
  color: var(--color-scheme-1--text);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 3px 6px #00000040, 0 2px 4px #00000040;
}

/* Style buttons */
.button,
button[type="submit"] {
  z-index: 1;
  color: white;
  text-align: center;
  background-color: #1a0c25cc;
  border-radius: 3rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  transition: box-shadow 0.2s, background-color 0.2s;
  position: relative;
  box-shadow: inset 0 1px 1px #5a4a7480, 0 3px 6px #00000040, 0 2px 4px #00000040;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
}

.button:hover,
button[type="submit"]:hover {
  background-color: #1a0c2599;
  box-shadow: inset 0 1px 1px #5a4a74e6, 0 3px 6px #00000040, 0 2px 4px #00000040;
}

/* Add button blur effects for public pages */
.button {
  position: relative;
  display: inline-block;
}

.button::before,
.button::after {
  content: "";
  z-index: -1;
  background-color: var(--brand-pink);
  opacity: 0.8;
  filter: blur(12px);
  pointer-events: none;
  will-change: transform, opacity;
  border-radius: 1.5rem;
  width: 100%;
  height: 100%;
  transition-property: filter;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  position: absolute;
  inset: 0% auto -25% auto;
  animation: blobFloat1 5s ease-in-out infinite;
}

.button::after {
  background-color: var(--brand-cyan);
  animation: blobFloat2 7s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0% {
    transform: translate(-0.75rem, -0.25rem) scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: translate(0rem, 0rem) scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-0.75rem, -0.25rem) scale(0.9);
    opacity: 0.6;
  }
}

@keyframes blobFloat2 {
  0% {
    transform: translate(0.25rem, -0.5rem) scale(0.9);
    opacity: 0.4;
  }
  50% {
    transform: translate(0.5rem, 0.25rem) scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: translate(0.25rem, -0.5rem) scale(0.9);
    opacity: 0.4;
  }
}

/* Form styles */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  border: 0;
  background-color: var(--brand-purple-dark);
  color: var(--color-scheme-1--text);
  border-radius: 1.5rem;
  height: auto;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  transition: all 0.4s;
  box-shadow: inset 0 1px 1px #5a4a7480, 0 3px 6px #00000040, 0 2px 4px #00000040;
  width: 100%;
}

/* Form labels */
label {
  display: block;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 600;
}

/* Checkboxes and radios */
input[type="checkbox"],
input[type="radio"] {
  margin-right: 0.5rem;
}

/* Links */
a {
  color: var(--brand-pink);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: white;
}

/* Logo */
.logo {
  margin-left:auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 2rem;
}

.header .logo img {
  max-width: 350px !important;
}

.logo img {
  max-height: 450px;
}

/* Notifications */
.notification {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

.notification.is-success {
  background-color: rgba(20, 61, 81, 0.8);
  color: white;
}

.notification.is-danger {
  background-color: rgba(255, 0, 255, 0.3);
  color: white;
}

/* Text content */
p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--color-scheme-1--text);
  font-size: 0.875rem;
}

/* Media queries for responsive design */
@media screen and (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .card, .box, .content-wrapper {
    padding: 1.5rem;
  }
}