.small {
  width: 50%;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

.header {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.header h2 {
  margin: 0;
  font-size: 24px;
  color: #0e947a;
}

.header p {
  margin: 5px 0 0;
  font-weight: bold;
  font-size: 20px;
}

.transaction {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.transaction-info {
  display: flex;
  flex-direction: column;
}

.description {
  font-weight: 600;
  color: #333;
}

.date {
  font-size: 13px;
  color: #888;
}

.amount {
  font-weight: bold;
  color: #0e947a;
  font-size: 16px;
}
/* ...................... */
.chat-container {
  display: none;
  width: 360px;
  height: 550px;
  background: #ffffff;
  border-radius: 12px;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid #e1e1e1;
}

.chat-header {
  background: #62e15b;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

.messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
}

.message {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  max-width: 75%;
  word-wrap: break-word;
  font-size: 14px;
  line-height: 1.4;
}
.close-chat {
  position: absolute;
  right: 16px;
  top: 14px;
  cursor: pointer;
  font-size: 40px;
}

.own {
  background-color: #dcf8c6;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.agent {
  background-color: #e3f0ff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.form-wrapper {
  justify-content: space-between;
  display: flex;
  border-top: 1px solid #eee;
  background: white;
  padding: 10px;
}

input {
  padding: 100px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  font-size: 14px;
  width: 70%;
  height: 60px;
}

button {
  margin-left: 10px;
  padding: 12px 18px;
  background: #7decd0;
  color: white;
  border: none;
  width: 60px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  background: #2db62d;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
/* Chat Toggle Button */
.chat-toggle {
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  width: 200px;
}
.file-upload-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.file-upload-label {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  position: relative;
}

.file-upload-label:hover {
  background-color: #45a049;
}

.currency-box {
  margin-right: 50px;
  width: 150px;
  height: 150px;
  background-color: #e0e0e0; /* light grey */
  border-radius: 10px;
  padding: 10px;
  position: relative;
  font-family: Arial, sans-serif;
  transition: 0.5s;
}

.flag {
  width: 50px;
  height: auto;
}

.exchange-rate {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
}
.currency-box:hover {
  background-color: #b7d8b7;
}
.exchange-rate span {
  margin-bottom: 5px;
}
