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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    background: white;
    border: 8px solid #ffd700;
    border-radius: 30px;
    padding: 40px;
    max-width: 550px;
    width: 100%;
    box-shadow: 
        0 0 0 4px #1a237e,
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px #ffd700;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

h1 {
    color: #1a237e;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.event-info {
    background: #1a237e;
    border: 3px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.event-title {
    color: #ffd700;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-time {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
    position: relative;
}

.autocomplete-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 3px solid #ffd700;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: #fff9e6;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-name {
    display: block;
    color: #1a237e;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.suggestion-details {
    display: block;
    color: #666;
    font-size: 13px;
    font-weight: normal;
}

label {
    display: block;
    color: #1a237e;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.optional {
    font-weight: 400;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

input[type="text"],
select {
    width: 100%;
    padding: 15px;
    border: 3px solid #ffd700;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a237e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #1a237e;
    border: 3px solid #ffd700;
    border-radius: 15px;
    color: #ffd700;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #283593;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.submit-btn:disabled {
    background: #ccc;
    border-color: #999;
    color: #666;
    cursor: not-allowed;
}

.footer-text {
    margin-top: 20px;
    color: #666;
    font-size: 13px;
    font-family: 'Arial', sans-serif;
}

.welcome-text {
    color: #1a237e;
    font-size: 20px;
    margin: 20px 0;
}

.attendance-text {
    color: #555;
    font-size: 16px;
    margin: 20px 0;
    line-height: 1.6;
}

.attendance-text strong {
    color: #1a237e;
    font-size: 18px;
}

.thank-you-box {
    background: #1a237e;
    border: 3px solid #ffd700;
    border-radius: 15px;
    color: #ffd700;
    padding: 25px;
    margin: 30px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.confirmation-info {
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    font-family: 'Arial', sans-serif;
    line-height: 1.8;
}

.confirmation-info span {
    font-weight: 700;
    color: #1a237e;
}

@media (max-width: 600px) {
    .card {
        padding: 30px 20px;
        border-width: 6px;
    }
    h1 { font-size: 26px; }
    .logo { width: 80px; height: 80px; }
}
