/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: rgb(250, 250, 250);
  color: rgb(39, 39, 42);
  line-height: 1.5;
  min-height: 100vh;
  padding: 1rem;
}

.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Typography */
.title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.title span {
  color: rgb(16, 185, 129);
}

/* Paste container */
.paste-container {
  position: relative;
  margin-bottom: 1.5rem;
}

textarea {
  width: 100%;
  height: 24rem;
  padding: 1rem;
  background-color: white;
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  resize: none;
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea:focus {
  outline: none;
  border-color: rgb(16, 185, 129);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

textarea::placeholder {
  color: rgb(156, 163, 175);
}

/* Drop overlay */
.drop-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(16, 185, 129, 0.1);
  border: 2px dashed rgb(16, 185, 129);
  border-radius: 0.5rem;
  display: none;
  align-items: center;
  justify-content: center;
}

.drop-overlay p {
  color: rgb(16, 185, 129);
  font-size: 1.125rem;
  font-weight: 500;
}

.drop-overlay.active {
  display: flex;
}

/* Actions section */
.actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .actions {
    flex-direction: row;
    align-items: center;
  }
}

.file-info {
  flex: 1;
}

.file-name {
  font-size: 0.875rem;
  color: rgb(75, 85, 99);
  margin-bottom: 0.5rem;
}

.buttons {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary {
  background-color: white;
  border: 1px solid rgb(229, 231, 235);
  color: rgb(55, 65, 81);
}

.btn-secondary:hover {
  background-color: rgb(249, 250, 251);
}

.btn-primary {
  background-color: rgb(16, 185, 129);
  border: 1px solid transparent;
  color: white;
  padding: 0.5rem 1.5rem;
}

.btn-primary:hover {
  background-color: rgb(4, 120, 87);
}

/* Utilities */
.hidden {
  display: none !important;
}
