/* clipboard-manager.css */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Roboto", sans-serif;
}

/* COMMON */
.container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* INNER */
.inner {
  text-align: center;
  padding: 0 20px;
}

.inner h2 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-top: 30px;
}

.inner .clipboard-section {
  margin-top: 20px;
}

/* Clipboard-Section */
.clipboard-section .textarea {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  height: 120px;
}

.textarea textarea {
  flex-grow: 1;
  padding: 14px 12px;
  border-radius: 12px;
}

.textarea .btn {
  width: 120px;
  border-radius: 12px;
  transition: all 0.3s;
}

.textarea .btn:hover {
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  background: rgb(31, 116, 2);
}

.status-message {
  position: fixed;
  top: 20px;
  right: 0;
  padding: 18px 24px;
  color: #fff;
  border-radius: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease;
}

.status-message.show {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.status-message.hide {
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
}

.status-message.success {
  background: rgb(31, 116, 2);
}

.status-message.error {
  background: rgb(255, 0, 0);
}
