body{
    margin: 0;
    font-family: 'Montserrat', 'Inter', sans-serif;
    background: radial-gradient(circle at 10% 10%, #080a14, #010103);
    color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    letter-spacing: 0.5px;
}

.painel{
    background: rgba(6, 11, 25, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.painel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f2ff, transparent);
    box-shadow: 0 0 10px #00f2ff;
}

h2{
    font-weight: 200;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    text-align: center;
}

h2 strong{ 
    font-weight: 700; 
    color: #e2e8f0;
}

.input-group{
    margin-bottom: 1.5rem;
}

label{
    display: block;
    font-size: 0.75rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: #64748b;
}

input{
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #00f2ff;
    font-size: 1.1rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
}

input:focus{
    border-color: #00f2ff;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
     background: rgba(0, 242, 255, 0.03);
}


.barra{
    border-radius: 12px;
    height: 32px;
    width: 100%;
    margin: 2.5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px;
    box-sizing: border-box;
}


button {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 1px solid #00f2ff;
    border-radius: 10px;
    color: #00f2ff;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

button:hover{
    background: rgba(0, 242, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
    letter-spacing: 3px;
}


.status{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}


#porcento {
    font-size: 2.2rem;
    font-weight: 800;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
}

#porcento span {
    font-size: 1rem;
    color: #64748b;
}

#mensagem{
    font-size: 0.8rem; 
    color: #64748b; 
    margin: 0;
    margin-bottom: 2rem;
    min-height: 1em;
}



#modobarra {
    height: 100%;
    width: 0%; 
    background: linear-gradient(90deg, #1e3a8a, #00f2ff);
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1), background 0.8s;
    position: relative;
    opacity: 0; 
    transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1), background 0.8s, opacity 0.3s;
}


#modobarra::after {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 10px;
    height: 100%;
    background: white;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 0 15px white, 0 0 30px #00f2ff;
    opacity: 0.8;
}


.overcharge {
    background: linear-gradient(90deg, #3fff00, #ffee00) !important;
    box-shadow: 0 0 25px #3fff00, 0 0 50px rgba(63, 255, 0, 0.3);
    animation: corePulse 1s infinite alternate;
}

@keyframes corePulse {
    from { opacity: 1; }
    to { opacity: 0.8; }
}