:root {
    --primary: #2563eb;
    --secondary: #7e22ce;
    --accent: #06b6d4;
    --dark: #1e293b;
    --light: #f8fafc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: var(--dark);
}

.container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
    margin: 20px;
}

.header {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.header p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.logo {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--accent);
}

.form-container {
    padding: 30px;
}

.form-section {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.section-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.row {
    display: flex;
    gap: 15px;
}

.row .form-group {
    flex: 1;
}

button {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    text-align: center;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.required {
    color: #ef4444;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 14px;
}

.event-details {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.detail-item {
    text-align: center;
}

.detail-item i {
    font-size: 24px;
    margin-bottom: 5px;
    color: white;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    flex: 1;
    min-width: 150px;
}

.checkbox-item input {
    width: auto;
    margin-right: 10px;
}

.mensagem {
    padding: 15px;
    margin: 20px;
    border-radius: 8px;
    text-align: center;
}

.sucesso {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.erro {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.switch-form {
    text-align: center;
    margin-top: 20px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #5a6268;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
        gap: 0;
    }
    
    .checkbox-item {
        width: 100%;
    }
    
    .event-details {
        flex-direction: column;
        gap: 15px;
    }
}