/* Tronscan Style - Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Tronscan Colors */
    --accent-red: #E73E3A;
    --accent-red-hover: #d32f2f;
    --bg-primary: #ffffff;
    --bg-secondary: #f7f8fa;
    --bg-dark: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: #73787B;
    --text-muted: #999;
    --border-color: #e6e9ed;
    --success: #28a745;
    --warning: #ffc107;
    --shadow: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.08);
    --green-text: #2D912C;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Navigation - Tronscan Style */
.top-nav {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    width: 35px;
    height: 39px;
    object-fit: contain;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-red);
}

.logo-text {
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--accent-red);
    background: rgba(231, 62, 58, 0.08);
}

.nav-link.active {
    color: var(--accent-red);
    background: rgba(231, 62, 58, 0.08);
}

/* Hero Section - Tronscan Style */
.hero {
    background: var(--bg-primary);
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    font-size: 0.95rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(231, 62, 58, 0.1);
}

.search-button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-red);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.search-button:hover {
    background: var(--accent-red-hover);
}

/* Panel Section - Tronscan 2-Column Layout */
.panel-section {
    padding: 30px 0;
}

.panel-group {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 20px;
    align-items: stretch;
}

.panel-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.panel-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Data Overview - Left Panel Statistics (Tronscan Style) */
.data-overview {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.data-item {
    padding: 0;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.data-item:nth-child(2n) {
    border-right: none;
}

.data-item:nth-child(3),
.data-item:nth-child(4) {
    border-bottom: none;
}

.data-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    height: 100%;
}

.data-item a:hover {
    background: rgba(231, 62, 58, 0.02);
}

.data-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.data-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-red);
    flex-shrink: 0;
}

.data-item-center {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.data-title {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.2;
}

.data-number {
    margin: 0;
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.data-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.right-24h {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.data-item-right .number {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
}

.data-item-right .number.green {
    color: var(--green-text);
}

.data-item-right .number.red {
    color: var(--accent-red);
}

/* Bottom Overview - Small Stats (Tronscan Style) */
.bottom-overview {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    flex: 1;
    align-content: center;
}

.bottom-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.bottom-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.2;
}

.bottom-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

/* Price Card - Right Panel (Tronscan Style) */
.price-card {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price-card > a {
    display: block;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.price-card > a:hover {
    background: rgba(231, 62, 58, 0.01);
}

.price-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.price-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(231, 62, 58, 0.05) 0%, rgba(231, 62, 58, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-logo-img {
    width: 36px;
    height: 40px;
    object-fit: contain;
}

.price-header-content {
    flex: 1;
    min-width: 0;
}

.price-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -0.01em;
}

.price-value {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.price-number {
    font-size: 2.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--green-text);
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(45, 145, 44, 0.08);
}

.price-change.down {
    color: var(--accent-red);
    background: rgba(231, 62, 58, 0.08);
}

.price-change .arrow-img {
    display: inline-flex;
    align-items: center;
}

.price-change.down .arrow-img svg {
    transform: rotate(180deg);
}

.price-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.price-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.2;
}

.detail-value {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.price-bottom {
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: var(--bg-secondary);
    flex: 1;
    align-content: center;
}

.price-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-stat .stat-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.2;
}

.price-stat .stat-value {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

/* Content Section - Block Cards (Tronscan Style) */
.content-section {
    padding: 30px 0 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.content-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

/* Block Card List (Tronscan Style) */
.home-block-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.block-item {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.block-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* Slide animations for blocks - optimized for no flickering */
.block-item.slide-in-new {
    animation: slideInFromLeft 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.block-item.slide-to-right {
    animation: slideToRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.block-item.fade-out {
    animation: fadeOutRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
}

@keyframes slideToRight {
    0% {
        transform: translateX(0) translateZ(0);
        opacity: 1;
    }
    100% {
        transform: translateX(0) translateZ(0);
        opacity: 1;
    }
}

@keyframes fadeOutRight {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1) translateZ(0);
    }
    100% {
        opacity: 0;
        transform: translateX(30%) scale(0.9) translateZ(0);
    }
}

.block-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.block-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.2s;
}

.block-number:hover {
    color: var(--accent-red-hover);
}

.block-producer {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.block-producer:hover {
    color: var(--accent-red);
}

.block-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.block-time .relative-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.block-time b {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.block-time span {
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
}

.block-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.block-detail-reward {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.block-detail-reward svg {
    width: 16px;
    height: 16px;
    color: var(--accent-red);
}

.block-detail-reward b {
    font-weight: 600;
    color: var(--text-primary);
}

.block-detail-burn {
    color: var(--warning);
}

.block-detail-burn svg {
    color: var(--warning);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.view-all-link {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: var(--accent-red-hover);
}

.card-body {
    padding: 0;
}

/* Data Table - Tronscan Style */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--bg-secondary);
}

.data-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.data-table tbody tr {
    transition: background 0.15s;
}

.data-table tbody tr:hover {
    background: var(--bg-secondary);
}

.loading-cell {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px !important;
}

.data-table a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.data-table a:hover {
    color: var(--accent-red-hover);
}

/* Hash styling - Tronscan */
.hash-link {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hash-link:hover {
    color: var(--accent-red);
}

.block-height {
    font-weight: 600;
    color: var(--accent-red);
}

.time-ago {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Footer - TronScan Style */
.footer {
    background: #ffffff;
    margin-top: 60px;
}

.footer-container {
    padding: 50px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-left {
    flex: 0 0 300px;
}

.footer-brand {
    margin-bottom: 24px;
}

.footer-logo {
    width: 40px;
    height: 44px;
    margin-bottom: 16px;
}

.footer-slogan {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-social li a:hover {
    background: var(--accent-red);
    color: white;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.footer-links-group h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    display: inline-block;
}

.footer-links-group ul li a:hover {
    color: var(--accent-red);
}

.footer-copyright {
    background: var(--bg-secondary);
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.copyright-text {
    text-align: center;
}

.copyright-text span {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

@media (max-width: 1024px) {
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-left {
        flex: none;
    }

    .footer-links-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-links-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-links-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ff9800;
}

/* Holders Page Styles */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-left h3 {
    margin: 0;
}

.token-selector {
    position: relative;
}

.token-select {
    padding: 8px 36px 8px 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M2 4l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.token-select:hover {
    border-color: var(--accent-red);
    background-color: var(--bg-primary);
}

.token-select:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(231, 62, 58, 0.1);
}

.holder-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.holder-stats .stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.holder-stats .stat-value {
    color: var(--text-primary);
    font-weight: 700;
}

.percentage-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(231, 62, 58, 0.1);
    color: var(--accent-red);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.pagination-info {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Responsive Design - Tronscan Style */
@media (max-width: 1200px) {
    .panel-group {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .panel-left,
    .panel-right {
        height: auto;
        width: 100%;
    }

    .price-card {
        height: auto;
    }

    .bottom-overview,
    .price-bottom {
        flex: none;
    }
}

@media (max-width: 1024px) {
    .content-columns {
        grid-template-columns: 1fr;
    }

    .bottom-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .home-block-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 10px;
    }

    .nav-links {
        gap: 5px;
    }

    .data-overview {
        grid-template-columns: 1fr;
    }

    .data-item {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
    }

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

    .bottom-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-block-list {
        grid-template-columns: 1fr;
    }

    .data-item a {
        padding: 18px 20px;
    }

    .data-number {
        font-size: 1.375rem;
    }

    .price-number {
        font-size: 1.75rem;
    }

    .price-header {
        margin-bottom: 20px;
    }

    .data-table th,
    .data-table td {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Additional Table Styles for other pages */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    display: block;
    margin-top: -5px;
}

.nav {
    display: flex;
    gap: 5px;
}

.search-section {
    background: var(--bg-primary);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-red);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.search-btn:hover {
    background: var(--accent-red-hover);
}

.main-content {
    padding: 30px 0;
}

.view-all {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.nav-button {
    padding: 0.5rem 1rem;
    background: var(--accent-red);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-button:hover:not(:disabled) {
    background: var(--accent-red-hover);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Detail Pages */
.detail-section {
    padding: 30px 0;
}

.detail-card {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    flex: 0 0 200px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-value {
    flex: 1;
    color: var(--text-primary);
    word-break: break-all;
}

.detail-value code {
    background: var(--bg-secondary);
    padding: 6px 10px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--accent-red);
}

.value-amount {
    font-weight: 700;
    color: var(--accent-red);
    font-size: 1.1rem;
}

.table-container {
    overflow-x: auto;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}
