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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 300;
}

h2 {
    color: #2c3e50;
    font-size: 1.5em;
    margin: 30px 0 20px;
    font-weight: 300;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

h3 {
    color: #2c3e50;
    font-size: 1.2em;
    margin: 20px 0 15px;
    font-weight: 400;
}

.heart {
    text-align: center;
    font-size: 2em;
    color: #e74c3c;
    margin: 20px 0;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 40px;
    font-size: 1.2em;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Georgia', serif;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #e74c3c;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input[type="radio"] {
    width: auto;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

button {
    background: #e74c3c;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Georgia', serif;
    display: block;
    margin: 30px auto 0;
}

button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.error {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 5px;
}

.success {
    background: #2ecc71;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.admin-link {
    text-align: center;
    margin-top: 20px;
}

.admin-link a {
    color: #3498db;
    text-decoration: none;
}

.admin-link a:hover {
    text-decoration: underline;
}

.guest-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.85em;
}

.guest-table th,
.guest-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
    word-wrap: break-word;
}

.guest-table th {
    background: #34495e;
    color: white;
    font-weight: bold;
    position: relative;
}

.guest-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.guest-table th.sortable:hover {
    background: #2c3e50;
}

.sort-arrow {
    font-size: 0.8em;
    color: #95a5a6;
    margin-left: 5px;
}

.guest-table th.sorted-asc .sort-arrow {
    color: white;
}

.guest-table th.sorted-asc .sort-arrow::after {
    content: ' ↑';
}

.guest-table th.sorted-desc .sort-arrow {
    color: white;
}

.guest-table th.sorted-desc .sort-arrow::after {
    content: ' ↓';
}

.guest-table tr:hover {
    background: #f8f9fa;
}

.guest-table td:first-child,
.guest-table th:first-child {
    width: 40px;
    text-align: center;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
    white-space: nowrap;
}

.status-pending {
    background: #f39c12;
    color: white;
}

.status-completed {
    background: #2ecc71;
    color: white;
}

.status-declined {
    background: #e74c3c;
    color: white;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85em;
    margin: 0;
}

.btn-edit {
    background: #3498db;
}

.btn-delete {
    background: #e74c3c;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    background: white;
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #95a5a6;
}

.close:hover {
    color: #2c3e50;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    color: #e74c3c;
    font-weight: bold;
}

.stat-label {
    color: #7f8c8d;
    margin-top: 5px;
}

.plus-one-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.children-section {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.child-form {
    background: #fffaeb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #f39c12;
}

.info-note {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.admin-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-actions button {
    margin: 0;
}
