:root {
  --color-primary: #007ced;
  --bg-dark: #0d0d0d;
  --panel-dark: #1a1a1a;
  --border-dark: #2a2a2a;
  --text-light: #f5f5f5;
  --text-muted: #b5b5b5;
  --box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

/* ====== Base ====== */
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* ====== Header / Menu (match main site) ====== */
.site-header {
  background: #000;
  border-bottom: 1px solid #222;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 100;
  position: sticky;
  top: 0;
  padding: 10px 0;
}

.resume-x-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.resume-x-menu li a {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.resume-x-menu li a:hover,
.resume-x-menu li a.active {
  color: #007ced;
}

/* SlickNav (mobile) menu styling to match main site */
.slicknav_menu {
  background: #000;
  border-bottom: 1px solid #222;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* === Prevent double menu === */

/* Hide SlickNav menu by default */
.slicknav_menu {
  display: none;
}

/* Desktop: show main nav, hide SlickNav */
@media (min-width: 769px) {
  #resume-x-menu {
    display: flex !important;
  }
  .slicknav_menu {
    display: none !important;
  }
}

/* Mobile: hide main nav, show SlickNav */
@media (max-width: 768px) {
  #resume-x-menu {
    display: none !important;
  }
  .slicknav_menu {
    display: block !important;
  }
}
/* ====== SlickNav Mobile Menu Styling Fix (Match Main Site) ====== */

/* Hamburger icon and container */
.slicknav_menu {
  background: #000 !important;
  border-bottom: 1px solid #222;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  font-family: 'Poppins', sans-serif;
  padding: 10px 15px;
  z-index: 1000;
}

/* Align toggle to the right */
.slicknav_btn {
  background: none !important;
  border: none !important;
  color: #fff !important;
  font-size: 1.4rem !important;
  text-shadow: none !important;
}

/* Dropdown background */
.slicknav_nav {
  background: #000 !important;
  border-top: 1px solid #222;
  padding: 10px 0;
  text-align: center;
}

/* Links inside dropdown */
.slicknav_nav a {
  color: #fff !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  transition: color 0.3s ease;
}

/* Hover and active link colors */
.slicknav_nav a:hover,
.slicknav_nav a.active {
  color: #007ced !important;
}

/* Divider between menu items */
.slicknav_nav li {
  border-bottom: 1px solid #222;
}

.slicknav_nav li:last-child {
  border-bottom: none;
}

/* Remove ugly triangle icons SlickNav adds by default */
.slicknav_arrow {
  display: none !important;
}

/* === Fix for Officiant Form Mobile Layout === */
.rx-form form {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.rx-form label {
  display: block;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  color: #fff;
}

.rx-form input[type="text"],
.rx-form input[type="email"],
.rx-form input[type="date"],
.rx-form input[type="time"],
.rx-form input[type="number"],
.rx-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #111;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0.7rem;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

.rx-form textarea {
  resize: vertical;
  min-height: 100px;
}

.rx-form input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

.rx-form button[type="submit"] {
  margin-top: 1.5rem;
  background-color: #0a84ff;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.rx-form button[type="submit"]:hover {
  background-color: #0077e6;
}
/* ====== Success Banner Visibility Fix ====== */
#success-banner {
  display: none;
  background-color: #0a84ff;
  color: #fff;
  text-align: center;
  padding: 1rem;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 9999;
  font-weight: 500;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  border-radius: 0 0 8px 8px;
}

/* When .show class is applied via JS */
#success-banner.show {
  display: block;
  animation: fadeInOut 4s ease-in-out;
}

/* Smooth fade animation */
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-10px); }
  10%, 90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}
.site-footer-note {
  text-align: center;
  font-size: 0.9em;
  color: #777;
  margin-top: 10px;
}
.site-footer-note a {
  color: #777;
  text-decoration: none;
}
/* === Center title and subtitle on form pages === */
.rx-form {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.rx-form .section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: var(--text-light);
}

.rx-form .section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}
/* === Footer alignment and styling === */
.site-footer {
  text-align: center;
  background: var(--panel-dark);
  color: var(--text-muted);
  padding: 20px 0;
  border-top: 1px solid var(--border-dark);
}

.site-footer .site-info {
  font-size: 0.95em;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--color-primary);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}