/* Importação da fonte Inter do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Efeito de partículas animadas no fundo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    padding: 40px 35px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container h2 {
    text-align: center;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.container p {
    text-align: center;
    color: #718096;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.container p h2 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #4a5568;
}

.container p h4 {
    font-size: 14px;
    font-weight: 400;
    color: #718096;
    margin: 0;
}

.container p strong {
    color: #667eea;
    font-weight: 600;
}

.image-container {
    border-radius: 20px;
    padding: 20px;
    width: 180px;
    margin: 0 auto 25px;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.05);
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: inline-block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #2d3748;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.form-group input::placeholder {
    color: #a0aec0;
}

.form-group button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.form-group button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.form-group button:hover::before {
    left: 100%;
}

.form-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.form-group button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.form-group a {
    color: #667eea;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.form-group a:hover {
    color: #764ba2;
    background: rgba(102, 126, 234, 0.1);
    text-decoration: none;
}

/* Estilos para checkbox "Lembrar-me" */
.form-group label[for="lembrar_me"],
.form-group label:has(input[type="checkbox"][name="lembrar_me"]) {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: 400;
    color: #4a5568;
    font-size: 14px;
    user-select: none;
}

.form-group input[type="checkbox"] {
    width: auto;
    min-width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.form-group input[type="checkbox"]:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-group input[type="checkbox"]:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .container h2 {
        font-size: 22px;
    }
    
    .image-container {
        width: 150px;
        padding: 15px;
    }
    
    .form-group input,
    .form-group button {
        padding: 12px 16px;
        font-size: 14px;
    }
}
