.message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

/* Hero section - container */
.hero-section {
    position: relative;
    width: 100%;
    max-width: 100dvw;
    min-height: 100vh;
    overflow: hidden;
}

/* Background video */
.hero {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content overlay - centers everything */
.hero-content {
    /* Remove position: relative and z-index */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-height: 100vh;
    padding: 1rem;
    position: relative; /* Keep this for stacking */
}

/* Text styling */
.hero-text {
    margin: 0;
    padding: 0;
    font-size: clamp(2rem, 4vw, 6rem);
    line-height: 1.4em;
    letter-spacing: 0.6rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 800;
    color: rgb(255, 255, 255);
    text-align: center;
    /* mix-blend-mode: difference; */
    
}


/* SVG rings */
.rings {
    width: 200px;
    height: auto;
    mix-blend-mode: difference; /* Add this if you want the rings to blend too */
}


/* RSVP button */
.stylish-button {
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    height: 60px;
    width: 150px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.stylish-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.stylish-alert {
    padding: 1rem 2.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(0, 0, 0);
    color: rgb(0, 0, 0);
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border-radius: 9999px;
    font-weight: 600;
}

.password-field-label {
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    height: 60px;
    width: 100px;
}

.password-field {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    height: 60px;
    max-width: 200px;
}

.rsvp-body {
    color: black;
    background: rgb(131, 131, 131);
    
    /* Set your background image */
    background-image: url('/static/rsvp-bg-2.jpg');

    /* Cover the whole viewport and scale nicely */
    background-size: cover;

    /* Keep it centered */
    background-position: center;

    /* Keep it fixed if you want parallax-style scrolling */
    background-attachment: fixed;

    /* No repetition */
    background-repeat: no-repeat;

    /* Optional: add an elegant overlay */
    position: relative;
}

.card {
    background: rgba(253, 253, 253, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 50px;
}

body.rsvp-body .form-control {
    background-color: rgba(255, 255, 255, 0.5); /* semi-transparent white */
    border-color: rgba(0, 0, 0, 0.2);           /* subtle border */
    transition: background-color 0.3s, border-color 0.3s;
}

/* Optional: darken a bit on focus */
body.rsvp-body .form-control:focus {
    background-color: rgba(255, 255, 255, 0.9); /* almost opaque */
    border-color: #036016;                      /* accent color if you want */
    box-shadow: 0 0 0 0.2rem rgba(3, 96, 22, 0.25); /* Bootstrap-style focus ring */
}

body.rsvp-body .form-select {
    background-color: rgba(255, 255, 255, 0.5); /* same as inputs */
    color: #000;                                 /* readable text */
    border: 1px solid rgba(0, 0, 0, 0.2);       /* subtle border */
    border-radius: 0.375rem;                     /* match Bootstrap 5 default */
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(3px);                  /* optional frosted glass */
}

body.rsvp-body .form-select:focus {
    background-color: rgba(255, 255, 255, 0.9); /* slightly more opaque */
    border-color: #036016;                      /* your accent color */
    box-shadow: 0 0 0 0.2rem rgba(3, 96, 22, 0.25);
    outline: none;                              /* keep Bootstrap shadow focus only */
}

/* Default unchecked */
body.rsvp-body .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.7);
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

/* Checked state */
body.rsvp-body .form-check-input:checked {
    background-color: #036016; /* your accent green */
    border-color: #036016;
}

/* Focused state */
body.rsvp-body .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(3, 96, 22, 0.25);
}

/* Hover state */
body.rsvp-body .form-check-input:hover {
    border-color: #036016;
}

/* Disabled state */
body.rsvp-body .form-check-input:disabled {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
}

body.rsvp-body .form-check-input {
    accent-color: #036016;
}

.active-link {
    font-family: 'Cormorant Garamond', serif;
    border-bottom: 2px solid currentColor;     /* bottom border */
    color: inherit;
    text-decoration: none;   
}

.link-underline {
    font-family: 'Cormorant Garamond', serif;
    text-decoration: none;                      /* remove underline */
    color: inherit;                             /* inherit text color */
                            /* space between text and border */
    border-bottom: 2px transparent;
}

.link-underline:hover {
    padding-bottom: 0px;
    border-bottom: 1px solid currentColor;     /* bottom border */
}
