* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }

  body {
    background-color: #121212; 
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: start;
    height: 100vh;
    padding: 20px;
  }

  .container {
    width: 70%;
    max-width: 800px;
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
  }

  h1 {
    color: #fff; 
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2px;
  }

  label {
    font-size: 1rem;
    margin-bottom: 5px;
    display: block;
    color: #ccc;
  }

  input[type="text"],
  input[type="number"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #333;
    color: #e0e0e0;
    font-size: 1rem;
  }

  input[type="text"]:focus,
  input[type="number"]:focus {
    border-color: none;
    outline: none;
  }

  button {
    width: 48%;
    padding: 12px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    color: #fff;
    transition: background-color 0.3s ease;
  }
  .btn{
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 28px;
  }

.balance{
    width: 100%;
    padding: 20px 50px;
    border: 1px solid #fff;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
  #buyBtn {
    background-color: #f44336; 
  }

  #buyBtn:hover {
    background-color: #d32f2f;
  }

  #sellBtn {
    background-color: #4caf50; 
  }

  #sellBtn:hover {
    background-color: #388e3c;
  }

  h2 {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    color: #ccc;
  }
  h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ccc;
  }
  .line{
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
  }
  .line1{
      width: 20%;
      height: 2px;
      background-color: #ccc;
  }

  ul#history {
    margin-top: 20px;
    list-style: none;
    padding: 0;
  }

  ul#history li {
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }
  

  ul#history li:hover {
    background-color: #333;
  }

  ul#history li.red {
    color: #f44336;
  }

  ul#history li.green {
    color: green;
  }

  ul#history li.black {
    color: #e0e0e0;
  }

  @media (max-width: 768px) {
    .container {
      width: 90%;
    }

    button {
      width: 100%;
      margin-top: 10px;
    }
  }