@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Great+Vibes&family=Italianno&family=Parisienne&family=Tangerine:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.background-form {
    /* Full height */
    min-height: 100vh;
    /* filter: brightness(50%); */

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    /* Optional: keeps the background fixed when scrolling */
    background-attachment: fixed;

    font-family: 'Crimson Text', serif;
    font-style: normal;
    font-weight: 400;
    overflow-x: hidden;
    color: #6E5C4E;

    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container { 
    background: #FBF8F1;
    padding-top: 10px; 
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 20px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); 
    text-align: center; 
    max-width: 70%;
    max-height: 75%;
}

input[type="text"], input[type="number"] { 
    width: 100%; 
    padding: 10px; 
    margin: 10px 0; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    box-sizing: border-box; 
}

button { 
    background-color: #6b0e33; 
    color: #FBF8F1; 
    padding-top: 10px;
    padding-bottom: 10px;

    padding-left: 15px;
    padding-right: 15px;
    border: none; 
    border-radius:10px; 
    cursor: pointer; 
}

.error { 
    color: red; 
    padding-top: 10px; 
}

.success-same {
    color: green;
}

.success-different {
    color: #6E5C4E;
}

.success-same, .success-different {
    font-weight: bold; 
    margin-bottom: 5px;
}

.redish-color {
    color: #6b0e33;
}

.line {
    color: #6b0e33;
    margin-top: 10px;
    margin-bottom: 10px;
}

.coupled-guest-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px 0;
    border-radius: 10px;
    background-color: #fff;
    /* Changed from left to center */
    text-align: center; 
}

/* Ensure button groups center their children */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center; /* Centers the buttons horizontally */
}

/* Ensure the dropdown form also centers its inputs */
.address-form-dropdown {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Helper for the street/number row - keeps them side by side but centered */
.flex-row {
    display: flex; 
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.address-form-dropdown.show {
    display: block !important;
    width: 100%;
    margin-top: 15px;
}

.back-link {
    display: inline-block;
    margin-top: 25px;
    color: #6E5C4E;
    text-decoration: none;
    font-size: 0.9em;
    font-style: italic;
    transition: color 0.3s;
}

.back-link:hover {
    color: #6b0e33; /* Turns your reddish color on hover */
    text-decoration: underline;
}