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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    padding: 40px;
    max-width: 900px;
    width: 100%;
}

.logo h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #2c3e50;
    letter-spacing: 2px;
}

.selection-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.selection-box {
    width: 280px;
    padding: 60px 40px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.selection-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

.selection-box:active {
    transform: translateY(-5px);
}

.selection-box .icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.selection-box h2 {
    font-size: 22px;
    font-weight: 400;
    color: #2c3e50;
}

/* Botão de voltar genérico */
.back-btn {
    padding: 10px 18px;
    background:#ecf0f1;
    color:#2c3e50;
    border:1px solid #d0d7de;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
    transition:.3s;
}
.back-btn:hover {
    background:#dfe6e9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 400;
}

.modal-content p {
    margin-bottom: 20px;
    color: #666;
}

.modal-content input {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.modal-content input:focus {
    outline: none;
    border-color: #3498db;
}

.modal-content button {
    width: 100%;
    padding: 14px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-content button:hover {
    background-color: #2980b9;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 36px;
    }
    
    .selection-box {
        width: 100%;
    }
}
