@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.container {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 650px;
    box-sizing: border-box;
}
h1, h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}
h3 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 30px;
    font-size: 1.2rem;
}
.banner img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    max-height: 300px;
    object-fit: cover;
}
.form-group {
    margin-bottom: 15px;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row .form-group {
    flex: 1;
}
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
}
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s;
}
input:focus, select:focus, textarea:focus {
    border-color: #3498db;
    outline: none;
}
.evento-info {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin: 5px 0;
}
.evento-info.vagas { color: #e67e22; font-weight: bold; }
.evento-info.valor { color: #27ae60; font-weight: bold; }

.status-box {
    text-align: center;
    padding: 40px;
}

#status-screen { text-align: center; padding: 40px; }
#spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.hidden { display: none; }

.error-message {
    color: #c0392b;
    background-color: #f9e3e3;
    border: 1px solid #c0392b;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .form-row { flex-direction: column; gap: 0; }
    .container { padding: 15px; }
    h1 { font-size: 1.5rem; }
}
