/* ===== Vaulta Transaction Search Bar ===== */
.vaulta-search {
    margin: 40px auto 30px;
    text-align: center;
}

.vaulta-search-form {
    display: flex;
    justify-content: center;
}

.vaulta-search-input {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 8px 12px;
    width: 480px;
    max-width: 95%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.vaulta-search-input:hover,
.vaulta-search-input:focus-within {
    border-color: #0070f3;
    box-shadow: 0 0 25px rgba(0,118,255,0.3);
}

.vaulta-search-input .search-icon {
    color: #0070f3;
    margin-right: 10px;
    opacity: 0.8;
}

.vaulta-search-input input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #111;
    font-size: 16px;
    padding: 8px;
}

body.dark .vaulta-search-input input {
    color: #fff;
}

.vaulta-search-input input::placeholder {
    color: rgba(0,0,0,0.4);
}
body.dark .vaulta-search-input input::placeholder {
    color: rgba(255,255,255,0.5);
}

.vaulta-search-input button {
    background: linear-gradient(90deg, #0070f3, #00b7ff);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.vaulta-search-input button:hover {
    transform: translateY(-1px);
    background: linear-gradient(90deg, #00b7ff, #0070f3);
    box-shadow: 0 0 15px rgba(0,118,255,0.4);
}

.vaulta-search-note {
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.8;
}
/* ===== Vaulta Transaction Card v2 ===== */
.tx-section {
  padding: 100px 0;
  background: #f5f7fa;
  font-family: 'Inter', sans-serif;
}

/* карточка */
.tx-card {
  background: #fff;
  border-radius: 24px;
  padding: 50px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 10px 45px rgba(0,0,0,0.08);
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* шапка */
.tx-head {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.tx-icon {
  font-size: 44px;
  margin-right: 18px;
}
.tx-summary h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}
.tx-summary p {
  margin-top: 6px;
  color: #555;
  font-size: 15px;
}

/* сетка */
.tx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 25px;
  margin-bottom: 30px;
}
.tx-grid div {
  background: #f9fafc;
  border-radius: 12px;
  padding: 12px 16px;
}
.tx-grid span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 4px;
}
.tx-grid p {
  font-size: 15px;
  color: #111;
  margin: 0;
}

/* статусы */
.tx-success .tx-head { border-left: 5px solid #00b46d; }
.tx-pending .tx-head { border-left: 5px solid #f0b400; }
.tx-failed .tx-head { border-left: 5px solid #d43f3a; }

.tx-success .tx-summary h1 { color: #00a05a; }
.tx-pending .tx-summary h1 { color: #c89b00; }
.tx-failed .tx-summary h1 { color: #c22; }

/* кнопки */
.tx-footer {
  text-align: center;
}
.tx-footer a {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}
.btn-primary {
  background: linear-gradient(90deg,#0070f3,#00b7ff);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,112,243,0.3);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  background: rgba(0,0,0,0.05);
  color: #111;
}
.btn-secondary:hover { background: rgba(0,0,0,0.1); }

/* “нет данных” */
.tx-notfound, .tx-placeholder {
  text-align: center;
  color: #555;
  max-width: 500px;
  margin: 120px auto;
}
.tx-notfound img { width: 90px; opacity: .8; margin-bottom: 10px; }
.tx-section {
  padding: 60px 0 100px;
}

.vaulta-search {
  margin: 30px auto 40px;
  text-align: center;
}

.vaulta-search-form {
  display: flex;
  justify-content: center;
}

.vaulta-search-input {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  padding: 8px 10px;
  width: 420px;
  transition: 0.3s ease;
}
.vaulta-search-input input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
  padding: 6px 10px;
}
.search-btn {
  background: #0f62fe;
  border: none;
  color: #fff;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.search-btn:hover {
  background: #0043ce;
}

.tx-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 30px;
  margin: 50px auto;
  max-width: 700px;
  animation: fadeIn 0.4s ease;
  border-top: 4px solid transparent;
}
.tx-card.success { border-top-color: #00b37e; }
.tx-card.pending { border-top-color: #ffaa00; }
.tx-card.failed { border-top-color: #ff3b30; }

.tx-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.tx-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0,0,0,0.03);
  transition: 0.3s ease;
}
.tx-icon .icon {
  transition: transform 0.3s ease;
}
.tx-icon:hover .icon {
  transform: scale(1.1);
}

.tx-summary h1 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}
.tx-summary p {
  color: #666;
  font-size: 14px;
}

.tx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.tx-grid span {
  display: block;
  font-size: 13px;
  color: #888;
}
.tx-grid p {
  font-size: 15px;
  color: #111;
  font-weight: 500;
}

.tx-notfound {
  text-align: center;
  color: #444;
  padding: 80px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 60px auto;
  animation: fadeIn 0.5s ease forwards;
}
.tx-notfound h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #111;
}
.tx-notfound p {
  font-size: 15px;
  color: #666;
}

.tx-placeholder {
  text-align: center;
  margin-top: 80px;
  color: #555;
}
.tx-placeholder h1 {
  font-size: 26px;
  margin-bottom: 10px;
}
.tx-placeholder p {
  font-size: 15px;
  opacity: 0.8;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.tx-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s ease;
}
.btn-primary {
  background: #0f62fe;
  color: #fff;
}
.btn-primary:hover {
  background: #0043ce;
}
.btn-secondary {
  background: #f5f7fa;
  color: #222;
  border: 1px solid #ddd;
}
.btn-secondary:hover {
  background: #e0e5ee;
}

.tx-grid .memo {
  grid-column: 1 / -1;
}
.tx-grid .memo p {
  font-style: italic;
  color: #555;
}
