/* Share Modal Styles */
.share-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

/* Hidden state for modals */
.share-modal.modal-hidden {
  display: none;
}

.share-modal-content {
  background-color: var(--card);
  border-radius: 12px;
  padding: 0;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease-out;
}

.share-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.share-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
}

.close-modal-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}

.close-modal-btn:hover {
  background-color: rgba(56, 189, 248, 0.1);
  color: var(--primary);
}

.share-modal-body {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.qrcode-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background-color: var(--border);
  border-radius: 8px;
}

.share-url-container {
  display: flex;
  gap: 8px;
  width: 100%;
}

.share-url-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Roboto Mono', monospace;
  background-color: rgba(56, 189, 248, 0.05);
  color: var(--text);
}

.share-url-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(56, 189, 248, 0.1);
}
