.wrap-app {
  max-width: 700px;
  margin: 50px auto;
  padding: 30px 20px;
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.1);
}

header {
  margin-bottom: 30px;
}

header p {
  color: #7e7e7e;
  font-weight: 500;
  font-size: 20px;
}

.input-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

#phoneNumber,
#customText {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 2px solid #7e7e7e33;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s ease;
}

#phoneNumber:focus,
#customText:focus {
  border-color: #015196;
}

#generateButton {
  background: #015196;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#generateButton:disabled {
  background: #015196;
  cursor: not-allowed;
}

#generateButton:hover:not(:disabled) {
  background: #2980b9;
}

.result-box {
  margin-top: 20px;
  text-align: left;
}

.result-box.hidden {
  display: none;
}

.result-box h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.link-box {
  background: #f4f4f4;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
  word-wrap: break-word;
  font-size: 0.9rem;
  color: #555;
}

#copyButton {
  background: #2ecc71;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#copyButton:hover {
  background: #27ae60;
}

#tryButton {
  background: #015196;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#tryButton:hover {
  background: #0973d0;
}

footer {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #7f8c8d;
}

@media (max-width: 600px) {
  .container {
    padding: 15px;
  }

  header h1 {
    font-size: 1.5rem;
  }

  #generateButton,
  #copyButton {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}
