/* Edit Mark screen */

.edit-screen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #101c22;
  color: #ffffff;
}

.edit-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid #1f2933;
  background: #101c22;
}

.edit-icon-button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

.edit-header-text {
  flex: 1;
  min-width: 0;
}

.edit-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.edit-subtitle {
  font-size: 13px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.edit-main {
  flex: 1;
  padding: 16px;
  padding-bottom: 100px;
  overflow-y: auto;
}

.edit-section {
  margin-bottom: 20px;
}

.edit-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #e5e7eb;
}

.edit-textarea,
.edit-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #1f2933;
  background: #020617;
  color: #e5e7eb;
  padding: 12px;
  font-size: 14px;
  outline: none;
}

.edit-textarea {
  min-height: 160px;
  resize: vertical;
}

.edit-textarea::placeholder,
.edit-input::placeholder {
  color: #6b7280;
}

.edit-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  border-top: 1px solid #1f2933;
  background: #101c22;
}

.edit-save-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px;
  background: #13a4ec;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* Header actions */

.edit-header-actions {
  display: flex;
  gap: 4px;
}

.edit-action-icon {
  width: 20px;
  height: 20px;
  filter: invert(0.9);
}

/* Copied message */

.edit-copied-message {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #10b981;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.edit-copied-message.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}