/* --- GIFT MESSAGE & MAIN SECTION --- */
.main_section {
    display: flex;
    flex-direction: column; /* untereinander */
    align-items: center;
    padding: 40px 20px;
    gap: 2rem; /* Abstand zwischen gift-message und Formular */
}

.gift-message {
    max-width: 700px;
    margin: 0 auto; /* horizontal zentriert */
    padding: 2rem 2.5rem;
    border-radius: 15px;
    text-align: center; /* Text innerhalb der Box zentrieren */
}


.gift-message h2 {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    color: #800000;
    margin-bottom: 1rem;
}

.gift-message p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.gift-message p.highlight {
    font-weight: bold;
    color: #b80000;
    font-size: 1.6rem;
}

/* --- FORMULAR --- */
.form-container {
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    background-color: rgb(255, 255, 255, 0.6);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

input, select, textarea, .submit-btn {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #45a049;
}

.toggle-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.toggle-btn {
    flex: 1;
    padding: 10px 0;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.3s;
}

#btnZusage { background-color: #61ce64; }
#btnAbsage { background-color: #ec594f; }

.toggle-btn.active#btnZusage {
    background-color: #2a702e;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.2);
}
.toggle-btn.active#btnAbsage {
    background-color: #a11e1e;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.2);
}

/* Allergien Dropdown */
.allergien-container {
    position: relative;
}
#allergienDropdownInput {
    cursor: text;
}
.allergien-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    display: none;
    z-index: 100;
    padding: 5px;
}
.allergien-dropdown div {
    padding: 5px;
    cursor: pointer;
}
.allergien-dropdown div:hover {
    background-color: #f0f0f0;
}
