@font-face {
    font-family: 'Asmelina Harley';
    src: url('fonts/AsmelinaHarley.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Florilane Cardillac';
    src: url('fonts/Florilane Cardillac.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
    background: url('bg-floral.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #5b4330;
}

.container {
    background-color: rgba(255, 250, 240, 0.85);
    max-width: 750px;
    margin: 6% auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    text-align: center;
}

h1 {
    font-size: 2.2em;
    margin-bottom: 5px;
}

.date {
    font-size: 1.2em;
    margin-bottom: 10px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #c8b8a5;
    border-radius: 5px;
    background-color: #fffaf3;
}

button {
    background-color: #c2a681;
    color: #fff;
    padding: 12px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #b0906a;
}

.wedding-container {
    max-width: 600px;
    margin: 100px auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(150, 130, 120, 0.3);
}

header h1 {
    font-family: 'Playfair Display', serif;
    color: #8b6f61;
    text-align: center;
}

.title {
	 font-family: 'Florilane Cardillac';
    font-size: 50px;
    color: #a67b5b;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -1px; /* enger für Script-Font */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.1);
 	 white-space: nowrap; /* verhindert Umbruch */
}





.initials {
	 font-family: 'Asmelina Harley', cursive;
    font-size: 60px;
    color: #000000;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -1px; /* enger für Script-Font */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.1);
 	 white-space: nowrap; /* verhindert Umbruch */
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

button {
    background-color: #d6b6a2;
    color: #fff;
    font-size: 1.1em;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}
button:hover {
    background-color: #c9a38b;
}

/* ----- Rückmeldungen (z. B. nach Anmeldung) ----- */
.response {
    background-color: rgba(255, 250, 240, 0.85);
    max-width: 600px;
    margin: 6% auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    text-align: center;
}

.response h2 {
    font-family: 'Florilane Cardillac', serif;
    font-size: 3em;
    color: #8b6f61; /* dezentes Nude-Braun */
    margin-bottom: 15px;
    white-space: nowrap; /* verhindert Umbruch */
}

.response p {
    font-family: 'Florilane Cardillac', serif;
    font-size: 2em;
    color: #5a4b43;
    white-space: nowrap; /* verhindert Umbruch */
}

.response .name {
    font-weight: bold;
    color: #a17965;
}

.response .error {
    color: #c0392b;
    font-weight: bold;
}

/* Tabelle Admin */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.admin-table th,
.admin-table td {
    border: 1px solid #ddd;
    padding: 12px 15px; /* mehr Abstand in Zellen */
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    background-color: #f8f0e3; /* dezenter Farbton für Kopfzeile */
    font-weight: bold;
    font-size: 16px;
}

.admin-table tr {
    background-color: rgba(255, 250, 240, 0.85);
}

.admin-table tr:nth-child(even) {
    background-color: rgba(255, 245, 230, 0.85); /* abwechselnde Zeilenfarbe */
}

.admin-table tr:hover {
    background-color: rgba(255, 230, 200, 0.85); /* Hover Effekt */
}

.admin-table td {
    font-size: 15px;
    line-height: 1.5; /* Zeilenhöhe für bessere Lesbarkeit */
}

.logout-link {
    text-decoration: none;
    color: #444;
    font-weight: bold;
    margin-left: 10px;
}

.logout-link:hover {
    color: #000;
}