/* Import Google Font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Reset and global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Layout */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  min-height: 100vh;
  background: #E5E5E5; /* Light gray background */
}

.container {
  max-width: 800px;
  width: 100%;
  padding: 40px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Input Wrapper */
.wrapper {
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

/* Text Input Styles */
.wrapper .text-input {
  display: flex;
  border-bottom: 1px solid #E2E8F0;
}

.text-input .to-text {
  border-radius: 0;
  border-left: 1px solid #E2E8F0;
}

.text-input textarea {
  height: 200px;
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  background: #F9FAFB;
  font-size: 16px;
  padding: 15px;
  border-radius: 5px;
}

.text-input textarea::placeholder {
  color: #A0AEC0;
}

/* Controls and Icons */
.controls,
.icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  list-style: none;
}

.icons i {
  width: 50px;
  color: #A0AEC0;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease; /* Added color transition */
  justify-content: center;

  /* Hover Effect */
  &:hover {
    transform: scale(1.2); /* Scale up the icon on hover */
    color: #5372F0; /* Change icon color on hover */
  }
}

.controls .exchange {
  color: #A0AEC0;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.2s ease, color 0.2s ease; /* Added color transition */
  /* Hover Effect */
  &:hover {
    transform: scale(1.2); /* Scale up the text on hover */
    color: #5372F0; /* Change text color on hover */
  }
}

/* Button Styles */
.container button {
  width: 100%;
  padding: 14px;
  outline: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-top: 20px;
  font-size: 17px;
  border-radius: 7px;
  background: #5372F0; /* Blue button color */
  transition: background 0.2s ease, transform 0.2s ease; /* Smooth transition */

  /* Hover Effect */
  &:hover {
    background: #4059b3; /* Darker shade on hover */
    transform: scale(1.05); /* Scale up the button on hover */
  }
}

/* Page title styles */
.page-title {
  text-align: center;
  font-size: 24px;
  margin-top: 20px; /* Adjust the margin as needed */
  color: #333; /* Adjust the color to your preference */
}

/* Responsive adjustments */
@media (max-width: 660px) {
  /* ... (other responsive styles) ... */

  /* Responsive title adjustments */
  .page-title {
    font-size: 20px; /* Adjust font size for smaller screens */
  }
}

@media (max-width: 480px) {
  /* ... (other responsive styles) ... */

  /* Further adjust font size for even smaller screens */
  .page-title {
    font-size: 18px;
  }
}
