/* PERFORMANCE TABLE - NOVÝ MODRÝ DIZAJN */
#prehlad img.wp-smiley, 
#prehlad img.emoji {
    width: 100% !important;
    height: 3em !important;
}

.currency-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gp-new * {
    box-sizing: border-box;
}

.gp-new {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    padding-bottom: 20px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* HEADER */
.gp-new .header {
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    padding: 1px 24px 7px;
    text-align: center;
    position: relative;
}

.gp-new .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.gp-new .header h2.head-txt {
    font-weight: 800 !important;
    font-size: 22px !important;
    margin-bottom: 8px !important;
    color: #ffffff !important;
    letter-spacing: -0.02em !important;
}

.gp-new .header h2.head-txt::before {
    display: none !important;
}

.gp-new .header p.head-txt {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    text-align: center !important;
    font-weight: 500 !important;
}

/* TABLE CONTAINER */
.gp-new .table-container {
    overflow-x: auto;
    padding: 25px;
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* TABLE HEADER */
.performance-table th {
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 16px 12px;
    text-align: center;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
}

.performance-table .sticky-left {
    position: sticky;
    left: 0;
    z-index: 11;
    background: rgba(59, 130, 246, 0.1);
}

tbody .sticky-left {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
}

thead .sticky-left {
    background: rgba(59, 130, 246, 0.1) !important;
}

/* TABLE CELLS */
.performance-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
    color: #ffffff;
    font-feature-settings: 'tnum';
}

.performance-table td:first-child {
    border-right: 2px solid rgba(59, 130, 246, 0.2);
    text-align: left;
    font-weight: 700;
}

/* HOVER EFFECTS */
.performance-table tr:hover {
    transform: none;
}

.performance-table tr:hover td {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.1);
}

/* POSITIVE/NEGATIVE VALUES */
.gp-new .positive {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981 !important;
    font-weight: 700;
}

.gp-new .negative {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444 !important;
    font-weight: 700;
}

/* BEST PERFORMANCE */
.best-performance {
    position: relative;
    background: rgba(59, 130, 246, 0.2) !important;
    color: #3b82f6 !important;
    font-weight: 700;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.best-performance::after {
    content: '⭐';
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 10px;
}

/* AVERAGE ROW */
.average-row {
    background: rgba(59, 130, 246, 0.1) !important;
    font-weight: 700;
    font-size: 15px;
}

.average-row td {
    border-top: 2px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    font-weight: 700;
}

.currency-header {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* FOOTER */
.gp-new .footer {
    padding: 24px;
    text-align: center;
    /* background: rgba(255, 255, 255, 0.02); */
    /* border-top: 1px solid rgba(255, 255, 255, 0.08); */
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .gp-new .header h2.head-txt {
        font-size: 20px !important;
    }
    
    .performance-table {
        font-size: 13px;
    }
    
    .performance-table th,
    .performance-table td {
        padding: 10px 8px;
    }
    
    .gp-new .header {
        padding: 15px;
    }

    #prehlad p, 
    #prehlad .entry-content p, 
    #prehladarticle p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gp-new .header h2.head-txt {
        font-size: 18px !important;
    }
    
    .performance-table {
        font-size: 11px;
    }
    
    .performance-table th,
    .performance-table td {
        padding: 8px 6px;
    }
    
    .gp-new .table-container {
        padding: 12px;
    }
}