.container-calculadora {
    background: white;
    padding: 5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 60rem;
    text-align: center;
}

.charge-inputs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.charge-circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.charge-circle input {
    width: 80%;
    padding: 0.5rem;
    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 1.2rem;
    outline: none;
    background-color: rgba(255, 255, 255, 0.8);
}

.charge-circle span {
    margin-top: 0.5rem;
    font-weight: bold;
    color: #555;
}

button#calculateButton {
    background-color: #007BFF;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

button#calculateButton:hover {
    background-color: #0056b3;
}

#result {
    margin-top: 20px;
    color: #333;
    font-size: 1.2rem;
}

#animationContainer {
    position: relative;
    width: 300px;
    height: 150px;
    margin: 20px auto;
    border: 1px solid #ccc;
    overflow: hidden;
    display: none;
}

.bolinha {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.bolinha1 {
    background-color: #ff5733;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    height: 50%;
}

.bolinha2 {
    background-color: #33c4ff;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    height: 50%;
}

.group {
    display: block;
    margin-top: 30px;
    font-size: 1rem;
    color: #666;
}

/* Responsividade para tablets e dispositivos menores */
@media (max-width: 768px) {
    .container {
        padding: 3rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .charge-inputs {
        gap: 1.5rem;
    }

    .charge-circle {
        width: 120px;
        height: 120px;
    }

    .charge-circle input {
        width: 70%;
        font-size: 1rem;
    }

    button#calculateButton {
        font-size: 1.3rem;
        padding: 0.6rem 1.5rem;
    }
}

/* Responsividade para smartphones */
@media (max-width: 480px) {
    .container {
        padding: 2rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .charge-inputs {
        flex-direction: column;
        align-items: center;
    }

    .charge-circle {
        width: 100px;
        height: 100px;
    }

    .charge-circle input {
        width: 60%;
        font-size: 0.9rem;
    }

    button#calculateButton {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    #animationContainer {
        width: 200px;
        height: 100px;
    }

    .bolinha {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}
