/* Vericato Listmonk Custom Styling */

/* Import Inter font as a fallback for Altone */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --vericato-green: #307351;
  --vericato-blue: #1B2A41;
  --vericato-orange: #E24E1B;
  --vericato-sand: #C5BAAF;
  --radius: 0.5rem;
  --font-family: 'Altone', 'Inter', sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: #f9fafb; /* Light gray background */
  color: var(--vericato-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

/* Hide powered by listmonk completely */
[style*="display: none"] {
  display: none !important;
}

/* Vericato Logo Styling */
.vericato-logo {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--vericato-blue);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vericato-logo::before {
  content: '√';
  color: var(--vericato-green);
  margin-right: 0.25rem;
  display: inline-block;
}

/* Container Styling */
.container, body > div:first-child {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-width: 480px;
  width: 100%;
  border: 1px solid #e5e7eb;
  position: relative;
}

.container > *:last-child {
  margin-bottom: 0 !important;
}

/* Headings */
h2, h3 {
  color: var(--vericato-blue);
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Form Elements */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form > label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  background-color: white;
  font-size: 0.875rem;
  transition: all 0.2s;
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--vericato-blue);
  box-shadow: 0 0 0 2px rgba(27, 42, 65, 0.1);
}

/* Checkbox Lists */
.list-group {
  margin: 1rem 0;
}

.list-group-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  line-height: 1;
}

.list-group-item label {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.125rem;
  display: inline-flex;
  align-items: center;
}

input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 0.25rem;
  border: 1px solid #cbd5e1;
  accent-color: var(--vericato-green);
  flex-shrink: 0;
  margin: 0;
  vertical-align: middle;
}

/* Submit Button */
button[type="submit"], input[type="submit"] {
  background-color: var(--vericato-blue);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 0.875rem;
  transition: background-color 0.2s;
  margin-top: 1rem;
}

button[type="submit"]:hover, input[type="submit"]:hover {
  background-color: #2d4568; /* Slightly lighter blue */
}

/* Privacy Policy Disclaimer */
.privacy-disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.privacy-disclaimer a {
  color: var(--vericato-green);
  text-decoration: underline;
  font-size: 0.75rem;
}

.privacy-disclaimer a:hover {
  color: var(--vericato-blue);
}

/* Links */
a {
  color: var(--vericato-green);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

a:hover {
  color: var(--vericato-blue);
  text-decoration: underline;
}

/* Footer / Powered By - Hide completely */
.footer, p.powered-by, [class*="powered"], [id*="powered"] {
  display: none !important;
}

footer, .footer-container {
  display: none !important;
}

/* Success/Error Messages */
.message {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
