
/* --- BLOCKCHAIN EXPLORER STYLES --- */
.explorer-page { padding: 40px 0 80px; }

.explorer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.explorer-search {
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    border-color: rgba(0, 180, 216, 0.3);
}

.table-card { padding: 0; overflow: hidden; }

.table-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Allows horizontal scrolling on small screens */
    -webkit-overflow-scrolling: touch;
}

.explorer-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px; /* Ensures table doesn't squish too much on mobile */
}

.explorer-table th, .explorer-table td {
    padding: 16px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.explorer-table th {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
}

.explorer-table tbody tr {
    transition: background-color 0.2s;
}

.explorer-table tbody tr:hover {
    background-color: rgba(0, 180, 216, 0.05);
}

.explorer-table tbody tr:last-child td {
    border-bottom: none;
}

.txn-cell { display: flex; align-items: center; gap: 12px; }
.txn-icon { background: rgba(255, 255, 255, 0.05); padding: 8px; border-radius: 6px; font-size: 0.9rem; }
.txn-hash { color: var(--accent-cyan); text-decoration: none; font-family: monospace; font-size: 0.95rem; font-weight: 500;}
.txn-hash:hover { color: #fff; }

.action-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Mobile Adjustments for Explorer */
@media (max-width: 768px) {
    .explorer-header { flex-direction: column; align-items: flex-start; }
    .explorer-search { max-width: 100%; }
    .explorer-table th, .explorer-table td { padding: 16px; }
}