/* Tera Wallet Social Share & Dynamic Proof Card Generator Styles */

.tera-share-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 15, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: teraFadeIn 0.25s ease-out forwards;
}

@keyframes teraFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.tera-share-modal-card {
  background: linear-gradient(145deg, rgba(21, 32, 26, 0.95), rgba(12, 20, 16, 0.98));
  border: 1px solid rgba(0, 200, 83, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 200, 83, 0.15);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  color: #f0f7f3;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.tera-share-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
}

.tera-share-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tera-share-badge {
  background: linear-gradient(135deg, #00c853, #009624);
  color: #000;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 0 12px rgba(0, 200, 83, 0.4);
}

.tera-share-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.tera-share-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0aec0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
}

.tera-share-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: rotate(90deg);
}

.tera-share-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tera-card-preview-container {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 83, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  background: #090d0b;
}

.tera-card-preview-canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.tera-tweet-preview-box {
  background: rgba(15, 23, 19, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #d1dcd5;
}

.tera-tweet-preview-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #00c853;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.tera-tweet-preview-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.tera-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tera-btn {
  flex: 1 1 180px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.tera-btn-x {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.tera-btn-x:hover {
  background: #e6e6e6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.tera-btn-secondary {
  background: rgba(0, 200, 83, 0.12);
  color: #00e676;
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.tera-btn-secondary:hover {
  background: rgba(0, 200, 83, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(0, 200, 83, 0.6);
}

.tera-btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #cfd8dc;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tera-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
}

.tera-toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100000;
  background: #00c853;
  color: #000000;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 200, 83, 0.4);
  animation: teraToastIn 0.3s ease-out forwards;
}

@keyframes teraToastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Trigger Button Component */
.tera-share-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.15), rgba(0, 150, 60, 0.15));
  border: 1px solid rgba(0, 200, 83, 0.4);
  border-radius: 8px;
  color: #00e676;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tera-share-trigger-btn:hover {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.3), rgba(0, 150, 60, 0.3));
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 200, 83, 0.3);
  transform: translateY(-1px);
}
