/* Shared attachment UI styles. */ .attachment-viewer-modal { z-index: 80; } .attachment-viewer-card { background: rgba(15, 23, 42, 0.96); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 1.2rem; box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45); color: #fff; display: grid; gap: 0.8rem; max-height: 92vh; max-width: min(94vw, 68rem); padding: 0.9rem; width: 100%; } .attachment-viewer-head, .attachment-viewer-actions { align-items: center; display: flex; gap: 0.8rem; justify-content: space-between; } .attachment-viewer-title { font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .attachment-viewer-body { align-items: center; display: grid; justify-items: center; min-height: 12rem; } .attachment-viewer-media { background: #020617; border-radius: 0.8rem; max-height: 76vh; max-width: 100%; object-fit: contain; } .ar-attachment-manager-card { max-width: min(92vw, 34rem); } .ar-attachment-manager-card--wide { max-width: min(96vw, 58rem); } .ar-attachment-meta { color: #cbd5e1; display: grid; font-size: 0.86rem; gap: 0.25rem; overflow-wrap: anywhere; } .ar-attachment-wallet-select, .ar-attachment-wallet-select option { color: #38bdf8; } .ar-attachment-history-table-wrap { max-height: 55vh; overflow: auto; } .ar-attachment-history-table { border-collapse: collapse; font-size: 0.84rem; min-width: 48rem; width: 100%; } .ar-attachment-history-table th, .ar-attachment-history-table td { border-bottom: 1px solid rgba(148, 163, 184, 0.25); padding: 0.55rem; text-align: left; vertical-align: top; } .ar-attachment-history-table th { color: #cbd5e1; font-weight: 700; } .ar-attachment-history-tiles { align-content: start; box-sizing: border-box; display: grid; gap: 0.28rem; grid-auto-rows: min-content; max-height: 58vh; max-width: 100%; min-width: 0; overflow-x: hidden; overflow-y: auto; padding: 0.35rem; scrollbar-color: rgba(212, 175, 55, 0.65) rgba(255, 255, 255, 0.06); scrollbar-width: thin; width: 100%; } .ar-attachment-history-tiles::-webkit-scrollbar { display: block; height: 4px; width: 4px; } .ar-attachment-history-tiles::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); } .ar-attachment-history-tiles::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.7); border-radius: 999px; } .ar-attachment-history-tiles::-webkit-scrollbar-thumb:hover { background: rgba(240, 198, 76, 0.9); } .ar-attachment-history-tile { background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(22, 36, 53, 0.96)); border: 1px solid transparent; border-radius: 0.52rem; box-sizing: border-box; color: #f8fafc; display: grid; gap: 0.12rem; max-width: 100%; min-width: 0; overflow: hidden; padding: 0.28rem 0.42rem; width: 100%; } .ar-attachment-history-tile.is-selected { border-color: rgba(34, 197, 94, 0.55); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.18); } .ar-attachment-history-tile--page { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); } .ar-attachment-history-tile--with-preview { gap: 0.32rem; padding: 0.42rem; } .ar-attachment-history-preview { align-items: flex-end; background: rgba(255, 255, 255, 0.05); border-radius: 0.42rem; display: flex; justify-content: space-between; min-height: 7rem; overflow: hidden; position: relative; } .ar-attachment-history-preview-image { display: block; height: 100%; object-fit: cover; width: 100%; } .ar-attachment-history-preview-badge { background: rgba(15, 23, 42, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; bottom: 0.42rem; color: #f8fafc; font-size: 0.62rem; left: 0.42rem; padding: 0.2rem 0.46rem; position: absolute; } .ar-attachment-history-tile-head { align-items: flex-start; display: flex; gap: 0.65rem; justify-content: space-between; } .ar-attachment-history-name { display: block; font-size: 0.78rem; line-height: 1.08; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ar-attachment-history-tile-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ar-attachment-history-meta-row { align-items: center; color: #cbd5e1; display: flex; flex-wrap: wrap; font-size: 0.6rem; gap: 0.22rem; line-height: 1.05; min-width: 0; } .ar-attachment-history-txid { background: rgba(255, 255, 255, 0.06); border-radius: 0.34rem; color: rgba(226, 232, 240, 0.86); font-size: 0.56rem; line-height: 1.05; max-width: 100%; min-width: 0; overflow: hidden; padding: 0.14rem 0.24rem; text-overflow: ellipsis; white-space: nowrap; } .ar-attachment-status { border-radius: 999px; flex: 0 0 auto; font-size: 0.58rem; font-weight: 800; line-height: 1; padding: 0.2rem 0.32rem; } .ar-attachment-status--available { background: rgba(220, 252, 231, 0.96); color: #166534; } .ar-attachment-status--pending { background: rgba(254, 249, 195, 0.96); color: #854d0e; } .ar-attachment-status--unavailable { background: rgba(254, 226, 226, 0.96); color: #991b1b; } .ar-attachment-placement-flag { background: rgba(219, 234, 254, 0.96); border-radius: 999px; color: #1e3a8a; flex: 0 0 auto; font-size: 0.58rem; font-weight: 800; line-height: 1; padding: 0.2rem 0.32rem; }