html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #9ca478;
    border-color: black;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHR0PSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC42NzgyIDI5MSA9Ny40MDkwNyAyODkuMDM4IDk5IDI4Ni42MTcgOThMMjQwLjM4MyA9OUMyMzcuOTYzIDk5IDI0NiA9NC42NzQ4IDI0NiA9NC4zNzk5IDI0Ni4wMzEgOTQuMDg4NiAyMzYuMDg5IDkzLjAxNjIgMjQ2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA6IDUxLjQ4MzcgMjYzLjU4NiA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg 690LjAxODczIDI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: #fff;
    color: #444;
    margin: 0;
    padding: 0;
}

.wedding-header {
    text-align: center;
    margin-top: 18px; /* reduced from 40px */
    margin-bottom: 12px; /* reduced from 20px */
    display: flex;
    flex-direction: column;
    align-items: center
}

.botanical-img {
    max-width: 350px;
    margin-bottom: 20px;
}

.couple-names {
    font-size: 2.8rem;
    letter-spacing: 0.15em;
    margin: 0;
    font-weight: 400;
}

.wedding-details {
    font-size: 1.1rem;
    margin: 10px 0 20px 0;
    color: #888;
}

.wedding-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 1rem;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.wedding-nav a {
    color: #444;
    text-decoration: none;
    padding-bottom: 2px;
    font-family: 'Cormorant Garamond', serif;
}

.wedding-nav .active {
    border-bottom: 1.5px solid #444;
    font-weight: 500;
}

.wedding-main {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 16px 0 24px 0; /* reduced from 30px 0 60px 0 */
    flex-wrap: wrap;
    max-width: 1000px;
    margin: auto;
}

.photo-component {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0 24px 0; /* reduced from 30px 0 60px 0 */
    max-width: 750px;
    margin: auto;
}

.wedding-party-component {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 16px 0 24px 0; /* reduced from 30px 0 60px 0 */
    flex-wrap: wrap;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.wedding-party-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.party-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 32px; /* Adds padding between cards */
}

.party-grid img {
    display: block;
    width: 160px;           /* Equal width and height for a circle */
    height: 160px;
    object-fit: cover;      /* Center and crop the image */
    background: #fff;
    border-radius: 50% !important;     /* Perfect circle */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #eee; /* Optional: subtle border for definition */
}

.event-details {
    max-width: 350px;
    font-size: 1.1rem;
}

.event-details h2 {
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    /*margin-bottom: 30px;*/
    font-weight: 400;
}

.event-details section {
    margin-bottom: 28px;
}

.event-details h3 {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 6px 0;
    font-style: italic;
    letter-spacing: 0.04em;
}

.event-photo img {
    max-width: 350px;
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.wedding-footer {
    text-align: center;
    margin-top: 24px; /* reduced from 60px */
    margin-bottom: 18px; /* reduced from 30px */
}

.footer-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    letter-spacing: 0.08em;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.footer-line {
    width: 120px;
    height: 2px;
    background: #888;
    margin: 0 auto 0.7rem auto;
}

.footer-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 1.2rem;
}

.footer-botanical {
    max-width: 220px;
    margin-top: 18px;
}

.carousel slide carousel-fade pointer-event {
    max-width: 750px;
}

.carousel-control-next,
.carousel-control-prev /*, .carousel-indicators */ {
    filter: invert(100%);
}

.travel-section {
    max-width: 225px;
    margin-left: auto;
    margin-right: auto;
}

.hotel-section {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    /* Hotel cards: match registry-card hover behavior */
    background: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    /*box-shadow: 0 6px 18px rgba(0,0,0,0.06);*/
    padding: 12px;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.hotel-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.09);
}

.hotel-section a {
    display: block;
    width: 100%;
    text-align: center;
}

.hotel-section img,
.hotel-section .ourstory-photo,
.hotel-section .hotel-photo-pad {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}
.travel-hotel-outer {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.travel-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive: stack columns vertically on small screens */
@media (max-width: 800px) {
    .travel-hotel-outer {
        flex-direction: column;
        justify-content: space-evenly;
        margin-left: auto;
        margin-right: auto;
        gap: 1.5rem;
    }
}

.ourstory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 32px;
    align-items: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.ourstory-photo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ourstory-text {
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 8px;
}

.hotel-photo-pad {
    padding-top: 12px; /* Adds whitespace below the image */
    padding-bottom: 12px; /* Adds whitespace below the image */
    background: #fff; /* Ensures whitespace is visible if image doesn't fill area */
}

@media (max-width: 768px) {
    .ourstory-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 24px;
    }
    .ourstory-photo {
        max-width: 100%;
        margin-bottom: 8px;
    }
}

@media (max-width: 900px) {
    .ourstory-grid {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Registry cards + layout */
.registry-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;             /* space between cards */
    flex-wrap: wrap;       /* wrap on small screens */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 16px;
}

.registry-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    padding: 12px;
    max-width: 240px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.registry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.09);
}

.registry-card a {
    display: block;
    text-align: center;
    width: 100%;
}

.registry-card img,
.registry-card .img-fluid,
.registry-img {
    display: block;
    max-width: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive: stack vertically on very small screens */
@media (max-width: 600px) {
    .registry-container {
        flex-direction: column;
        gap: 16px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .registry-card {
        max-width: 420px;
        width: 100%;
    }

    .registry-card img,
    .registry-img {
        max-width: 320px;
    }
}

/* RSVP layout: match travel/hotels max-width */
.rsvp-section {
    max-width: 800px; /* same as .travel-hotel-outer */
    margin-left: auto;
    margin-right: auto;
    padding: 16px 0;
}

/* RSVP visual adjustments inspired by provided screenshots */

/* Step indicator */
.rsvp-section .step-indicator {
  text-align: center;
  color: #7a7a78;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* Script-like section title */
.rsvp-section .rsvp-title {
  font-family: "GreatVibes", "Palatino Linotype", "Georgia", serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #6b7a7b;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

/* Sections and separators */
.rsvp-section .section {
  margin-top: 10px;
}

/* Person row: left label, right controls */
.person-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 6px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

/* Label styling */
.person-label {
  color: #6b6f6f;
  font-size: 1rem;
}
.person-label .required::after {
  content: " *";
  color: #c64968;
  margin-left: 3px;
}

/* Controls (radio group) aligned to the right */
.person-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Radio text spacing */
.radio-text {
  margin-left: 6px;
  color: #4b4f4f;
}

/* Food rows & labels */
.food-row {
  padding: 12px 6px;
}
.food-label {
  display:block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #6b6f6f;
}

/* Info box for dietary/hotel fields */
.info-box {
  background: #f6f7f7;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 18px;
  color: #5c6666;
}
.info-title {
  text-align: center;
  color: #6b7a7b;
  margin-bottom: 12px;
  font-style: italic;
}

/* Centered large next/submit button */
.btn-next {
  min-width: 220px;
  padding-left: 28px;
  padding-right: 28px;
}

/* Small responsive tweaks */
@media (max-width: 576px) {
  .person-row {
    grid-template-columns: 1fr;
  }
  .person-controls {
    margin-top: 8px;
  }
  .btn-next {
    width: 100%;
  }
}
