/* SELECTION COLOR */
::selection {
  color: #fff;
  background: #8b5cf6; /* primary theme color */
}

/* WRAPPER */
.wrapper {
  width: 100%;
  max-width: 500px;
  padding: 30px;
  border-radius: 14px;
  background: #0f172a; /* dark theme background */
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  margin: auto;
  color: #fff;
}

/* HEADER */
.wrapper header {
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  color: #8b5cf6; /* primary theme color */
}

/* FORM */
.wrapper form {
  margin: 40px 0 20px 0;
}

/* UNIVERSAL FORM ELEMENTS */
form :where(input, select, button) {
  width: 100%;
  outline: none;
  border-radius: 10px;
  border: none;
  font-family: 'Poppins', sans-serif;
}

/* FORM LABELS */
form p {
  font-size: 18px;
  margin-bottom: 5px;
  color: #fff;
}

/* INPUT FIELDS */
form input {
  height: 50px;
  font-size: 17px;
  padding: 0 15px;
  border: 1px solid #334155;
  background: #1e293b; /* input dark bg */
  color: #fff;
  transition: 0.3s;
}

form input:focus {
  padding: 0 14px;
  border: 2px solid #8b5cf6;
  background: #1e293b;
}

/* DROPDOWN */
form .drop-list {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drop-list .select-box {
  display: flex;
  width: 175px;
  height: 45px;
  align-items: center;
  border-radius: 10px;
  justify-content: center;
  border: 1px solid #334155;
  background: #1e293b;
}

.select-box img {
  max-width: 21px;
}

.select-box select {
  width: auto;
  font-size: 17px;
  color: #fff;
  background: #1e293b;
  margin-left: 5px;
  border: none;
}

.select-box select option {
  background: #1e293b;
  color: #fff;
}

/* CUSTOM SCROLLBAR */
.select-box select::-webkit-scrollbar {
  width: 8px;
}

.select-box select::-webkit-scrollbar-track {
  background: #0f172a;
}

.select-box select::-webkit-scrollbar-thumb {
  background: #8b5cf6;
  border-radius: 8px;
}

/* ICON */
.drop-list .icon {
  cursor: pointer;
  margin-top: 30px;
  font-size: 22px;
  color: #8b5cf6;
}

/* EXCHANGE RATE DISPLAY */
form .exchange-rate {
  border: 1px dotted #6366f1;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 19px;
  margin: 20px 0 30px;
  color: #fff;
}

/* BUTTONS */
form button {
  height: 52px;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  transition: all 0.3s;
}

form button:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}


/* RESPONSIVE */
@media (max-width: 700px) {

  .wrapper {
    width: 90%;
    padding: 20px;
  }

  .drop-list {
    flex-direction: column;
    gap: 15px;
  }

  .drop-list .select-box {
    width: 100%;
    height: 45px;
  }

  form .exchange-rate {
    font-size: 17px;
  }

  .wrapper header {
    font-size: 22px;
  }

  form button {
    height: 50px;
    font-size: 16px;
  }
}