/* Estilo para a página de registro - registrar.css (Versão Final com Refinamento) */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=Roboto:wght@400;500;700&display=swap');

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #1a2e24; /* Fallback caso a imagem não carregue */
    background-image: url('URL_DA_SUA_IMAGEM_DE_FUNDO.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito parallax */
    color: #F5F5DC;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.registration-container {
    padding: 20px;
    width: 100%;
}

.registration-card {
    background-color: rgba(15, 30, 25, 0.85); /* Verde mais escuro e mais transparente */
    backdrop-filter: blur(10px); /* Efeito de vidro fosco no fundo */
    padding: 2rem 3rem;
    border-radius: 10px;
    border: 1px solid rgba(46, 139, 87, 0.5); /* Borda mais sutil */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: 0 auto; /* Garante centralização */
}

.logo {
    font-family: 'Oswald', sans-serif; /* Nova fonte de impacto */
    font-size: 2.5rem; /* Tamanho aumentado */
    font-weight: 700;
    color: #3CB371; /* Verde um pouco mais vibrante */
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 500;
}

p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.input-group {
    text-align: left;
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #F5F5DC;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background-color: rgba(47, 79, 79, 0.7);
    border: 1px solid #556B2F;
    border-radius: 6px;
    color: #F5F5DC;
    box-sizing: border-box;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: #3CB371;
    box-shadow: 0 0 0 3px rgba(60, 179, 113, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(145deg, #3CB371, #2E8B57);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(60, 179, 113, 0.4);
}

.login-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.login-link a {
    color: #3CB371;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

/* --- REGRAS DE RESPONSIVIDADE REFINADAS --- */
@media (max-width: 480px) {
    body {
        align-items: flex-start; /* Alinha o card no topo em mobile */
        padding-top: 2rem;
    }

    .registration-card {
        padding: 2rem 1.5rem;
        border: none;
        border-radius: 0;
        backdrop-filter: none; /* Remove o blur para performance em mobile */
        background-color: transparent; /* Fundo transparente para imersão total */
        box-shadow: none;
    }
    
    .logo {
        font-size: 2rem;
    }
}