:root {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 100vh;
     
    );
    background-color: #0f172a; 
}
form {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 40px 60px;
    width: 90%;
    max-width: 500px;
    border-radius: 40px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

p { font-weight: 900; font-size: 36px; margin: 0; padding-bottom: 20px; color: white; }

label { display: flex; flex-direction: column; gap: 5px; padding: 8px 0; color: white; text-align: left; }

input {
    padding: 12px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    outline: none;
}

.error { border: 2px solid #ff3b30 !important; }
.success { border: 2px solid #34c759 !important; }

.msg-erro { color: #ff3b30; font-size: 11px; min-height: 15px; margin-top: 4px; }

.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    transition: all 0.4s ease;
}

.fraca { width: 25% !important; background-color: #ff3b30 !important; }
.razoavel { width: 50% !important; background-color: #ff9500 !important; }
.boa { width: 75% !important; background-color: #ffcc00 !important; }
.forte { width: 100% !important; background-color: #34c759 !important; }

button {
    margin-top: 20px;
    padding: 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

button:disabled { opacity: 0.6; cursor: not-allowed; }

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    display: none;
    animation: spin 1s linear infinite;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.success-banner { color: #34c759; font-weight: bold; margin-top: 15px; display: none; }
