/* ============ Coming Soon ============ */

/* Nav items with Soon badge */
.nav-item.coming-soon {
  opacity: 0.6;
  position: relative;
}

.nav-item.coming-soon:hover {
  opacity: 0.8;
}

.soon-badge {
  font-size: 9px;
  padding: 2px 6px;
  background: var(--accent);
  color: #000;
  border-radius: 8px;
  margin-left: 6px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Coming Soon page container */
.coming-soon-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 120px);
  text-align: center;
  padding: 20px;
}

.coming-soon-icon {
  font-size: 36px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 16px;
  margin-bottom: 16px;
  color: var(--accent);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.coming-soon-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.coming-soon-description {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 400px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.coming-soon-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.coming-soon-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

.coming-soon-feature::before {
  content: '✓';
  color: var(--green);
  font-weight: bold;
}

/* Notify button */
.notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.notify-btn:hover {
  opacity: 0.9;
}

/* Support section */
.support-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 360px;
}

.support-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.support-description {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.donation-options {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.donation-btn {
  padding: 8px 16px;
  background: rgba(52, 152, 219, 0.2);
  border: 1px solid rgba(52, 152, 219, 0.3);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.donation-btn:hover {
  background: rgba(52, 152, 219, 0.3);
}

.wallet-address {
  font-family: monospace;
  font-size: 10px;
  padding: 8px 12px;
  background: var(--bg-secondary);
  border-radius: 6px;
  color: var(--text-dim);
  word-break: break-all;
  cursor: pointer;
  transition: color 0.2s;
}

.wallet-address:hover {
  color: var(--text);
}

/* ============ Tools Page Layout ============ */
.tools-page-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  min-width: 0;
}

.tools-layout {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 400px);
  gap: 24px;
  padding: 20px;
  flex: 1;
}

.tool-section {
  display: flex;
  flex-direction: column;
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--border);
}

.tool-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.tool-content {
  padding: 16px 0;
  flex: 1;
  overflow-y: auto;
}

/* Estimator Form */
.estimate-form {
  display: flex;
  gap: 8px;
}

.input-with-prefix {
  flex: 1;
  position: relative;
}

.input-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
}

.estimate-input {
  padding-left: 28px !important;
  font-size: 14px !important;
  height: 38px !important;
}

.btn-estimate {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.quick-examples {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.quick-label {
  font-size: 12px;
  color: var(--text-dim);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--text-dim);
}

.estimate-result {
  margin-top: 20px;
}

/* Generator Results */
.gen-results {
  margin-top: 16px;
}

/* Generator Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.option-card {
  padding: 0;
}

.option-card-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* Usage Counter */
.usage-counter {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: auto;
  padding: 4px 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
}

/* ============ Shop Grid ============ */
.shops-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shop-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.shop-tab {
  padding: 8px 16px;
  border: none;
  background: none;
  color: var(--text-dim);
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shop-tab:hover {
  color: var(--text);
}

.shop-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.shop-tab-count {
  font-size: 11px;
  background: rgba(255,255,255,0.08);
  padding: 1px 6px;
  border-radius: 10px;
}

.shop-tab.active .shop-tab-count {
  background: rgba(52,152,219,0.2);
  color: var(--accent);
}

.shop-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.shop-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}

.shop-section-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-card-meta-inline {
  font-size: 12px;
  color: var(--text-dim);
}

.shop-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.shop-card:hover {
  border-color: var(--accent);
}

.shop-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.shop-card-title {
  font-weight: 600;
  font-size: 15px;
}

.shop-card-status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}

.shop-card-status.active {
  background: rgba(46, 204, 113, 0.15);
  color: var(--green);
}

.shop-card-status.inactive {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
}

.shop-card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.shop-card-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-card-url {
  font-family: monospace;
  font-size: 12px;
  color: var(--accent);
}

/* ============ Shop Items List (public shop.html) ============ */
.shop-items-list {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.shop-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.shop-item:last-child {
  border-bottom: none;
}

.shop-item-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-item-username {
  font-family: monospace;
  font-size: 13px;
  font-weight: 500;
}

.shop-item-note {
  font-size: 12px;
  color: var(--text-dim);
}

.shop-item-price {
  font-weight: 500;
  min-width: 80px;
  text-align: right;
}

.shop-item-actions {
  display: flex;
  gap: 4px;
}

/* ============ My Shop Table Columns (tool.html) ============ */
.sh-col-num { width: 32px; flex-shrink: 0; color: var(--text-dim); font-size: 11px; }
.sh-col-username { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-col-note { width: 120px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--text-dim); }
.sh-col-status { width: 70px; flex-shrink: 0; text-align: center; white-space: nowrap; }
.sh-col-price { width: 120px; flex-shrink: 0; text-align: right; white-space: nowrap; }
.sh-col-estimate { width: 130px; flex-shrink: 0; text-align: right; white-space: nowrap; font-size: 12px; color: var(--text-dim); }
.sh-col-actions { width: 36px; flex-shrink: 0; display: flex; justify-content: flex-end; padding-left: 8px; }

/* Set price placeholder */
.set-price {
  color: var(--accent);
  opacity: 0.5;
  text-decoration: underline dashed;
  text-underline-offset: 2px;
  cursor: pointer;
}
.set-price:hover { opacity: 1; }

/* Hide NOTE/STATUS columns when all empty */
.watchlist-table.hide-notes .sh-col-note { display: none; }
.watchlist-table.hide-status .sh-col-status { display: none; }

/* Delete button: dim until row hover or keyboard focus */
.sh-col-actions .btn-danger { opacity: 0.3; transition: opacity 0.15s; }
.watchlist-table-row:hover .sh-col-actions .btn-danger,
.watchlist-table-row.focused .sh-col-actions .btn-danger { opacity: 1; }

/* Row hover state */
#view-myshop .watchlist-table-row:hover { background: rgba(255,255,255,0.03); }

/* Dim rows without price */
.watchlist-table-row.no-price { opacity: 0.65; }
.watchlist-table-row.no-price:hover { opacity: 1; }

/* Clickable position number */
.sh-col-num .pos-number {
  cursor: pointer;
  opacity: 0.5;
}
.sh-col-num .pos-number:hover { opacity: 1; color: var(--accent); }

/* Price all button */
.btn-price-all {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(46,204,113,0.15);
  color: var(--green);
  border: 1px solid rgba(46,204,113,0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-price-all:hover { background: rgba(46,204,113,0.25); }

/* Shop Info Bar (disclaimer + keyboard hints) */
.shop-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.shop-info-text { opacity: 0.7; }

/* ============ Shop Settings Panel ============ */
.shop-settings-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.shop-settings-share { flex: 1; min-width: 0; }
.shop-settings-url-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.shop-settings-url {
  font-size: 13px;
  font-family: monospace;
  color: var(--accent);
  background: rgba(255,255,255,0.05);
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  user-select: all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-settings-label {
  font-size: 12px;
  color: var(--text-dim);
}
.shop-settings-toggles {
  display: flex;
  gap: 20px;
}
.shop-settings-toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-settings-danger {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.shop-settings-danger .btn-danger {
  opacity: 0.4;
}
.shop-settings-danger .btn-danger:hover {
  opacity: 1;
}

/* ============ Shop Detail Section ============ */
.shop-detail-section h4 {
  font-size: 14px;
  font-weight: 600;
}
