/* ===== CONTAINER PRINCIPAL ===== */

.calc-container {
    width: 100%;        /* fluido em telas menores */
    margin: 0 auto;     /* centraliza horizontalmente */
    background-color: #1e1e1ec7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    border: 1px solid #2A2A2A;
  }
  
  /* ===== TÍTULOS ===== */
  
  h2, h3 {
    text-align: center;
    color: #CCCCCC;
    margin-bottom: 10px;
  } 
  
  /* ===== BOTÕES ===== */
  
  .button-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .button-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 0px;
  }
  
  .button-group button {
    padding: 10px 14px;
    border: none;
    background: #2A2A2A;
    color: #CCCCCC;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.15s ease;
  }
  
  button:hover {
    background: #3A3A3A;
    transform: scale(1.03);
  }
  
  button.active {
    background: #d19c00f5;
    color: #fff;
    font-weight: bold;
    border: 1px solid #ffd100;
  }
  
  /* ===== RESULTADO ===== */
  
  .result {
    margin-top: 15px;
    padding: 12px;
    background: #1A1A1A;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #2A2A2A;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  /* animação ao atualizar */
  .result.flash {
    background: #2a2a2a;
    transform: scale(1.03);
  }

@media screen and (max-width: 424px) {
  .button-group, .button-row{
    width: 85%;
  }
  
}