* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 15px;
}

/* HEADER */
#content{
  justify-items: center;
}
#head{
background-color: var(--e-global-color-17a726c);
  width: 100%;
  border-radius: 15px;
  padding: 25px 15px;
  overflow: hidden;
}
h1 {
  color: #212529;
  font-size: 45px !important;
  font-weight: 700 !important;
  margin-bottom: 10px;
  text-align: center;

  padding: 0; /* ❌ remove big padding */
  word-break: break-word;
}
.sub-title{
	 color: darkgray;
  font-size: large;
  padding-bottom: 10px;
	text-align:center;
}



/* header {
  text-align: center;
  padding: 30px 20px;
  background: #5f2dee;
  color: white;
  border-radius: 12px;
} */

/* header h1 {
  font-size: 42px;
  font-weight: 700;
} */

/* header p {
  opacity: 0.9;
  margin-top: 5px;
}
 */
/* INPUT */
.input-section {
  margin-top: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
}

textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid #ddd;
  resize: vertical;
  font-size: 16px;
}

/* ✅ suggestion #3 */
textarea::placeholder {
  color: #aaa;
}

textarea:focus {
  outline: none;
  border-color: #5f2dee;
}

/* PREVIEW */
.preview-section {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* BOX */
.preview-box {
	height:83px;
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #eee;
	 max-height: 200px; /* ✅ limit */
  overflow-y: auto; 
padding-right: 40px;
  /* ✅ suggestion #2 */
/*   transition: 0.2s ease; */
}

/* TEXT */
.preview {
  font-size: 20px;
  word-break: break-word;
  padding-right: 35px;
}

/* COPY BUTTON */
.copy-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
  font-size: 32px;
     color: #000000;
	font-weight:900;
  opacity: 0.7;
  transition: 0.2s;
}

.copy-btn:hover {
  color: #6630c6;
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  header h1 {
    font-size: 28px;
  }

  .preview {
    font-size: 18px;
  }
}