* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    /* Fundo lilás claro parecido com o mockup */
    background: linear-gradient(135deg, #f3efff, #e5dbff);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cadastro-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.cadastro-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 400px;
}

.lang-selector {
    text-align: right;
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.lang-selector span {
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.lang-selector span:hover, .lang-selector span.active {
    color: #5b4fe5;
}

.cadastro-box h2 {
    color: #111;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

/* Bolinha da Foto de Perfil */
.avatar-upload-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.avatar-preview {
    width: 80px;
    height: 80px;
    background-color: #f0f0f5;
    border: 2px dashed #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s;
    background-size: cover;
    background-position: center;
}

.avatar-preview:hover {
    border-color: #5b4fe5;
    background-color: #e5e3ff;
}

.avatar-preview i {
    font-size: 24px;
    color: #aaa;
}

/* Inputs */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: #444;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #5b4fe5;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

/* Botão e Links */
.btn-cadastrar {
    width: 100%;
    padding: 14px;
    background-color: #5b4fe5; /* Roxo principal */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-cadastrar:hover {
    background-color: #4338ca;
}

.login-link {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #555;
}

.login-link a {
    color: #5b4fe5;
    text-decoration: none;
    font-weight: bold;
}