* {
    margin: 0;
    padding: 0;
  }
  
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #0eaa5c;
    padding: 1rem;
  }
  
  .container {
    background-color: lightgrey;
    padding: 2rem;
    border-radius: 1rem;
    min-height: 60vh;
    width: 50vh;
  }
  
  form {
    margin: 2rem 0 1rem 0;
  }
  
  form select,
  button,
  input {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 0.75rem;
  }
  
  form input {
    border: 1px solid lightgray;
    font-size: 1rem;
    height: 3rem;
    padding-left: 0.5rem;
  }
  
  .dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
  }
  
  .dropdown i {
    font-size: 2rem;
    margin-top: 1rem;
  }
  
  .select-container img {
    max-width: 4rem;
    height: 4rem;
  }
  
  .select-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 6rem;
    border-radius: 0.5rem;
    border: 1px solid lightgray;
  }
  
  .select-container select {
    font-size: 1.2rem;
    width: auto;
    background-color: lightgray;
    cursor: pointer;
  }
  
  .msg {
    margin: 2rem 0 2rem 0;
    font-size: larger;
    text-align: center;
  }
  
  form button {
    height: 3rem;
    background-color: #af4d98;
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
  }
  .border:hover{
    border : 0.07rem solid white;
}
@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }
  
  .dropdown {
    flex-direction: column; /* Stack elements vertically on smaller screens */
    align-items: flex-start;
  }

  .select-container {
    width: 100%; /* Full width on smaller screens */
    margin-bottom: 1rem;
    margin-top: 1rem;
  }

  .exchange_logo{
    margin-bottom: 1rem;
    transform: rotate(90deg);
    margin-left: 2rem;
  }
  .select-container img {
    width: 5rem; /* Smaller image size */
    margin-right: 0.5rem; /* Adjust margin */
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
    border-radius: 0.5rem;
  }
  .exchange_logo{
    margin-bottom: 1rem;
    transform: rotate(90deg);
    margin-left: 2rem;
  }
  .select-container img {
    width: 3rem; /* Even smaller image size */
  }

  form input,
  form button,
  .select-container select {
    font-size: 0.9rem; /* Smaller font size */
    height: 2.5rem; /* Adjust height */
  }

  .dropdown i {
    font-size: 1.5rem; /* Smaller arrow size */
    margin-top: 0.5rem; /* Adjust margin */
  }
}