/* Professional Hero Price Table Styles */

.hero-price-table {
    min-height: auto;
    padding: 3rem 0;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
    position: relative;
    z-index: 1;
}

/* Renklendirme - Yükselme/Düşme */
.modern-price-table tbody tr.row-rising,
.modern-price-table tbody tr.row-rising:nth-child(even) {
    background: rgba(220, 252, 231, 0.5) !important;
}

.modern-price-table tbody tr.row-rising:hover {
    background: rgba(187, 247, 208, 0.6) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.modern-price-table tbody tr.row-rising .price-value {
    color: #16a34a !important; /* Yeşil fiyat yazısı */
    font-weight: 700;
}

.modern-price-table tbody tr.row-rising .col-name strong {
    color: #15803d; /* Koyu yeşil ürün adı */
}

.modern-price-table tbody tr.row-falling,
.modern-price-table tbody tr.row-falling:nth-child(even) {
    background: rgba(254, 226, 226, 0.5) !important;
}

.modern-price-table tbody tr.row-falling:hover {
    background: rgba(252, 165, 165, 0.4) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.modern-price-table tbody tr.row-falling .price-value {
    color: #dc2626 !important; /* Kırmızı fiyat yazısı */
    font-weight: 700;
}

.modern-price-table tbody tr.row-falling .col-name strong {
    color: #b91c1c; /* Koyu kırmızı ürün adı */
}

.price-table-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    position: relative;
    z-index: 1;
}

.price-table-header {
    background: #ffffff;
    padding: 25px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.price-table-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: #d4a05e;
    margin: 0;
    letter-spacing: -0.01em;
}

.price-table-update {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.95);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.price-table-update i {
    color: #c9a961;
    font-size: 17px;
}

.price-table-container {
    max-height: 700px;
    overflow-y: auto;
    background: #f9fafb;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.price-table-container::-webkit-scrollbar {
    display: none;
}

.modern-price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-price-table thead {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f3f4f6;
}

.modern-price-table thead tr {
    border-bottom: 2px solid #c9a961;
}

.modern-price-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    background: #f3f4f6;
}

.modern-price-table thead th.col-buy,
.modern-price-table thead th.col-sell,
.modern-price-table thead th.col-date {
    padding-right: 30px;
    text-align: right;
}

.modern-price-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.modern-price-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.modern-price-table tbody tr:hover {
    background: #fef9e7;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(201,169,97,0.15);
}

.modern-price-table tbody td {
    padding: 20px 22px;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
}

.col-name {
    width: 30%;
}

.col-buy, .col-sell {
    width: 25%;
    text-align: right;
}

.col-date {
    width: 20%;
    text-align: right;
}

.col-name strong {
    font-size: 25px;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.price-value {
    font-size: 26px;
    font-weight: 600;
    color: #111827;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.time-value {
    font-size: 18px;
    font-weight: 500;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
}

.price-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.footer-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.footer-note i {
    color: #c9a961;
    font-size: 17px;
}

.footer-actions .btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #c9a961;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(201,169,97,0.2);
    letter-spacing: -0.01em;
}

.footer-actions .btn-more i {
    font-size: 16px;
}

.footer-actions .btn-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201,169,97,0.3);
    background: #b8975a;
}

@media (max-width: 992px) {
    .hero-price-table {
        padding: 2rem 0;
    }
    
    .price-table-wrapper {
        border-radius: 12px;
    }
    
    .price-table-header {
        padding: 18px 22px;
    }
    
    .price-table-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .hero-price-table {
        padding: 1.5rem 0;
    }
    
    .price-table-wrapper {
        border-radius: 10px;
        margin: 0 0.5rem;
    }
    
    .price-table-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 16px 18px;
    }
    
    .price-table-title {
        font-size: 22px;
        letter-spacing: -0.01em;
    }
    
    .price-table-update {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .price-table-container {
        max-height: 650px;
    }
    
    .modern-price-table thead th {
        padding: 12px 10px;
        font-size: 13px;
        letter-spacing: 0.03em;
    }
    
    .modern-price-table thead th.col-buy,
    .modern-price-table thead th.col-sell,
    .modern-price-table thead th.col-date {
        padding-right: 10px;
    }
    
    .modern-price-table tbody td {
        padding: 12px 10px;
        font-size: 15px;
    }
    
    .col-name {
        width: 40%;
    }
    
    .col-buy, .col-sell {
        width: 22%;
    }
    
    .col-date {
        width: 16%;
    }
    
    .col-name strong {
        font-size: 16px;
    }
    
    .price-value {
        font-size: 16px;
    }
    
    .time-value {
        font-size: 13px;
    }
    
    .price-table-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 14px 18px;
    }
    
    .footer-note {
        font-size: 12px;
    }
    
    .footer-note i {
        font-size: 14px;
    }
    
    .footer-actions .btn-more {
        font-size: 13px;
        padding: 10px 20px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-price-table {
        padding: 1rem 0;
    }
    
    .price-table-wrapper {
        margin: 0;
        border-radius: 8px;
    }
    
    .price-table-header {
        padding: 12px 10px;
    }
    
    .price-table-title {
        font-size: 18px;
        letter-spacing: 0;
    }
    
    .price-table-update {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .price-table-update i {
        font-size: 13px;
    }
    
    .price-table-container {
        max-height: 550px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modern-price-table {
        min-width: 100%;
        font-size: 11px;
    }
    
    .modern-price-table thead th {
        padding: 8px 6px;
        font-size: 11px;
        white-space: nowrap;
    }
    
    .modern-price-table tbody td {
        padding: 8px 6px;
        font-size: 13px;
    }
    
    .col-name {
        width: auto;
        min-width: 100px;
    }
    
    .col-buy, .col-sell {
        width: auto;
        min-width: 70px;
        text-align: right;
    }
    
    .col-date {
        width: auto;
        min-width: 60px;
        text-align: right;
    }
    
    .col-name strong {
        font-size: 14px;
        line-height: 1.3;
        display: block;
    }
    
    .price-value {
        font-size: 14px;
        display: block;
    }
    
    .time-value {
        font-size: 11px;
    }
    
    .price-table-footer {
        padding: 12px 12px;
        gap: 10px;
    }
    
    .footer-note {
        font-size: 10px;
    }
    
    .footer-note i {
        font-size: 12px;
    }
    
    .footer-actions .btn-more {
        font-size: 11px;
        padding: 8px 16px;
    }
    
    .footer-actions .btn-more i {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .price-table-header {
        padding: 10px 8px;
    }
    
    .price-table-title {
        font-size: 16px;
    }
    
    .price-table-update {
        font-size: 10px;
        padding: 5px 8px;
    }
    
    .modern-price-table thead th {
        padding: 7px 4px;
        font-size: 10px;
    }
    
    .modern-price-table tbody td {
        padding: 7px 4px;
        font-size: 12px;
    }
    
    .col-name {
        min-width: 90px;
    }
    
    .col-buy, .col-sell {
        min-width: 60px;
    }
    
    .col-date {
        min-width: 55px;
    }
    
    .col-name strong {
        font-size: 13px;
    }
    
    .price-value {
        font-size: 13px;
    }
    
    .time-value {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .price-table-title {
        font-size: 15px;
    }
    
    .price-table-container {
        max-height: 500px;
    }
    
    .modern-price-table thead th {
        padding: 6px 3px;
        font-size: 9px;
    }
    
    .modern-price-table tbody td {
        padding: 6px 3px;
        font-size: 11px;
    }
    
    .col-name {
        min-width: 85px;
    }
    
    .col-buy, .col-sell {
        min-width: 55px;
    }
    
    .col-date {
        min-width: 50px;
    }
    
    .col-name strong {
        font-size: 12px;
    }
    
    .price-value {
        font-size: 12px;
    }
    
    .time-value {
        font-size: 9px;
    }
    
    .footer-note {
        font-size: 9px;
    }
    
    .footer-actions .btn-more {
        font-size: 10px;
        padding: 7px 14px;
    }
}

