/* Sting Tune Royalty Plugin - Frontend Styles - Dark Theme */

.str-royalty-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'SF Pro Display', Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    color: #e0e0e0;
    min-height: 100vh;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.str-royalty-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(40, 167, 69, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.str-royalty-container > * {
    position: relative;
    z-index: 1;
}

.str-header {
    margin-bottom: 45px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.str-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 2px;
}

.str-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* Refresh Button */
.str-refresh-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(0, 123, 255, 0.1) 100%);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 8px;
    color: #007bff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', -apple-system, sans-serif;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.str-refresh-button:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.25) 0%, rgba(0, 123, 255, 0.15) 100%);
    border-color: rgba(0, 123, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.str-refresh-button:active:not(:disabled) {
    transform: translateY(0);
}

.str-refresh-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.str-refresh-icon {
    font-size: 20px;
    display: inline-block;
    line-height: 1;
}

@keyframes strSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Filters Section - Single Horizontal Row */
.str-filters-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 35px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.str-filters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.5), transparent);
}

.str-filters-section:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.str-filters-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: end;
    width: 100%;
    min-width: 0; /* Allow grid to shrink */
}

.str-filter-item {
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0; /* Allow flex item to shrink below content size */
}

.str-filter-item label {
    font-weight: 600;
    margin-bottom: 12px;
    color: #d0d0d0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.str-filter-select {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 14px;
    background: rgba(15, 15, 15, 0.6);
    color: #e8e8e8;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23b0b0b0' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    font-weight: 500;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Ensure select options don't expand the dropdown width */
.str-filter-select option {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.str-filter-select:hover {
    border-color: rgba(0, 123, 255, 0.4);
    background-color: rgba(20, 20, 20, 0.8);
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.str-filter-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 
        0 0 0 4px rgba(0, 123, 255, 0.15),
        inset 0 1px 3px rgba(0, 0, 0, 0.3);
    background-color: rgba(20, 20, 20, 0.9);
    transform: translateY(-1px);
}


/* Empty State - Enhanced Animation */
.str-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 80px 30px;
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.3) 0%, rgba(15, 15, 15, 0.3) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: 40px 0;
}

.str-empty-animation {
    margin-bottom: 50px;
    position: relative;
}

.str-empty-icon {
    animation: strFloat 4s ease-in-out infinite;
    position: relative;
    will-change: transform;
    transform: translateZ(0);
    filter: drop-shadow(0 8px 32px rgba(0, 123, 255, 0.4));
}

.str-empty-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    animation: strRipple 3s ease-out infinite;
}

.str-empty-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
    animation: strRipple 3s ease-out infinite 0.5s;
}

@keyframes strFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

@keyframes strRipple {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

.str-empty-icon svg {
    filter: drop-shadow(0 4px 20px rgba(0,123,255,0.3));
    position: relative;
    z-index: 1;
}

.str-empty-icon circle {
    animation: strPulse 2.5s ease-in-out infinite;
}

.str-empty-icon path {
    animation: strDraw 2s ease-in-out infinite;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
}

@keyframes strPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.08);
    }
}

@keyframes strDraw {
    0% {
        stroke-dashoffset: 100;
        opacity: 0.5;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -100;
        opacity: 0.5;
    }
}

.str-empty-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
    animation: strFadeIn 1s ease-out;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', -apple-system, sans-serif;
}

.str-empty-message {
    font-size: 16px;
    color: #9a9a9a;
    margin: 0;
    line-height: 1.7;
    animation: strFadeIn 1s ease-out 0.3s both;
    font-weight: 400;
    letter-spacing: 0.2px;
}

@keyframes strFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Export Section */
.str-export-section {
    margin-bottom: 35px;
}

.str-export-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(15, 15, 15, 0.8) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.str-export-helper {
    color: #9a9a9a;
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.3px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.str-export-wrapper:hover .str-export-helper {
    opacity: 1;
}

/* Total Royalty Section */
.str-total-royalty-section {
    margin-bottom: 50px;
}

.str-total-royalty-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    padding: 50px 45px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.str-total-royalty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #20c997, #007bff);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    opacity: 0.8;
}

.str-total-royalty-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.str-total-royalty-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 40px rgba(0, 123, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.str-total-royalty-label {
    font-size: 13px;
    font-weight: 600;
    color: #b8b8b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-family: 'Inter', -apple-system, sans-serif;
    opacity: 0.9;
}

.str-total-royalty-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
    padding: 15px 0;
    min-height: 85px;
    flex-wrap: wrap;
}

.str-total-royalty-amount .str-currency {
    font-size: 36px;
    font-weight: 700;
    color: #28a745;
    text-shadow: 0 0 20px rgba(40, 167, 69, 0.3);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.str-total-royalty-amount .str-amount-value {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    display: inline-block;
    vertical-align: middle;
    word-break: break-word;
    overflow-wrap: break-word;
}

.str-export-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(40, 167, 69, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, sans-serif;
}

.str-export-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.str-export-button:hover::before {
    left: 100%;
}

.str-export-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 20px rgba(40, 167, 69, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    background: linear-gradient(135deg, #2d9f4e 0%, #22d4a3 100%);
}

.str-export-button:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(40, 167, 69, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.str-download-latest-wrapper {
    margin-top: 20px;
    text-align: center;
    padding: 0 10px;
}

.str-download-latest-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', -apple-system, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    border-radius: 12px;
    border: none;
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 30px rgba(102, 126, 234, 0.2);
    letter-spacing: 0.3px;
    animation: strGradientShift 4s ease infinite, strPulseGlow 3s ease-in-out infinite;
    cursor: pointer;
}

.str-download-latest-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.str-download-latest-link::after {
    content: '⬇';
    display: inline-block;
    font-size: 16px;
    animation: strSmoothBounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.str-download-latest-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 0 40px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
    background-size: 200% 200%;
}

.str-download-latest-link:hover::before {
    left: 100%;
}

.str-download-latest-link:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

@keyframes strGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes strPulseGlow {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(102, 126, 234, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 0 30px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(102, 126, 234, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.15) inset,
            0 0 40px rgba(102, 126, 234, 0.3);
    }
}

@keyframes strSmoothBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-4px) rotate(5deg);
        opacity: 0.9;
    }
}

/* Table Section */
.str-table-section {
    margin-bottom: 50px;
}

.str-table-wrapper {
    overflow-x: auto;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 25px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.str-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.str-data-table thead {
    background: rgba(15, 15, 15, 0.8);
    position: sticky;
    top: 0;
    z-index: 10;
}

.str-data-table th {
    padding: 18px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    color: #c0c0c0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-family: 'Inter', -apple-system, sans-serif;
}

.str-data-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: #e8e8e8;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.str-data-table tbody tr {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background-color;
}

.str-data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.str-data-table tbody tr:hover td {
    color: #ffffff;
}

.str-data-table tbody tr:last-child td {
    border-bottom: none;
}

.str-loading {
    text-align: center;
    padding: 50px !important;
    color: #6c757d;
}

/* Pagination */
.str-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.str-pagination button {
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(26, 26, 26, 0.8);
    color: #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 44px;
    backdrop-filter: blur(10px);
    font-family: 'Inter', -apple-system, sans-serif;
}

.str-pagination button:hover:not(:disabled) {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.str-pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(15, 15, 15, 0.5);
}

.str-pagination button.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    font-weight: 600;
}

.str-pagination .str-page-info {
    margin: 0 12px;
    color: #8a8a8a;
    font-size: 14px;
}

/* Charts Section - 2x2 Grid */
.str-charts-section {
    margin-top: 60px;
}

.str-charts-heading {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 40px 0;
    letter-spacing: -1px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.str-charts-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 2px;
}

/* Shortcode charts container - match main container background */
.str-royalty-charts-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'SF Pro Display', Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    color: #e0e0e0;
    position: relative;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.str-royalty-charts-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(40, 167, 69, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.str-royalty-charts-container > * {
    position: relative;
    z-index: 1;
}

/* Shortcode charts heading - match main heading style */
.str-charts-heading-shortcode {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: center;
}

.str-charts-heading-shortcode::after {
    left: 50% !important;
    transform: translateX(-50%);
}

.str-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.str-chart-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
    transform: translateZ(0);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.str-chart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.str-chart-item:hover::before {
    opacity: 1;
}

.str-chart-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
}

.str-chart-item h3 {
    margin: 0 0 28px 0;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.4px;
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.4;
}

.str-chart-item canvas {
    max-height: 320px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .str-royalty-container,
    .str-royalty-charts-container {
        padding: 25px 18px;
    }
    
    .str-header {
        margin-bottom: 35px;
        padding-bottom: 20px;
    }
    
    .str-header h1 {
        font-size: 28px;
    }
    
    .str-refresh-button {
        width: 36px;
        height: 36px;
        padding: 8px;
    }
    
    .str-refresh-icon {
        font-size: 18px;
    }
    
    .str-filters-section {
        padding: 24px 20px;
        border-radius: 14px;
    }
    
    .str-filters-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .str-table-wrapper {
        border-radius: 12px;
    }
    
    .str-data-table {
        min-width: 700px;
    }
    
    .str-charts-heading {
        font-size: 24px;
        margin-bottom: 25px;
        padding-bottom: 18px;
    }
    
    .str-chart-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
        max-width: 100%;
    }
    
    .str-chart-item {
        padding: 24px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
        border-radius: 14px;
    }
    
    .str-chart-item h3 {
        text-align: center;
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .str-chart-item canvas {
        max-width: 100%;
        height: auto !important;
        display: block;
        margin: 0 auto;
    }
    
    .str-empty-state {
        min-height: 50vh;
        padding: 50px 25px;
        border-radius: 16px;
    }
    
    .str-empty-title {
        font-size: 24px;
    }
    
    .str-empty-message {
        font-size: 14px;
    }
    
    .str-export-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 20px;
    }
    
    .str-export-button {
        width: 100%;
        padding: 16px;
    }
    
    .str-download-latest-wrapper {
        margin-top: 15px;
        padding: 0 5px;
    }
    
    .str-download-latest-link {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .str-download-latest-link::after {
        font-size: 14px;
    }
    
    .str-total-royalty-card {
        padding: 40px 20px;
        border-radius: 16px;
        min-height: auto;
    }
    
    .str-total-royalty-label {
        margin-bottom: 24px;
        padding-top: 5px;
    }
    
    .str-total-royalty-amount {
        min-height: 70px;
        padding: 15px 10px;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        justify-content: center;
    }
    
    .str-total-royalty-amount .str-currency {
        font-size: 28px;
        line-height: 1;
        flex-shrink: 0;
    }
    
    .str-total-royalty-amount .str-amount-value {
        font-size: 38px;
        line-height: 1.15;
        letter-spacing: -0.5px;
        word-break: break-word;
        overflow-wrap: break-word;
        text-align: center;
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .str-total-royalty-card {
        padding: 35px 15px;
    }
    
    .str-total-royalty-label {
        margin-bottom: 20px;
        font-size: 12px;
    }
    
    .str-total-royalty-amount {
        min-height: 65px;
        padding: 12px 5px;
        gap: 6px;
    }
    
    .str-total-royalty-amount .str-currency {
        font-size: 24px;
    }
    
    .str-total-royalty-amount .str-amount-value {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: 0px;
    }
    
    .str-pagination {
        gap: 8px;
    }
    
    .str-pagination button {
        padding: 10px 14px;
        font-size: 13px;
        min-width: 40px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .str-filters-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .str-chart-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.str-loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Scrollbar styling for dark theme */
.str-table-wrapper::-webkit-scrollbar {
    height: 10px;
}

.str-table-wrapper::-webkit-scrollbar-track {
    background: rgba(15, 15, 15, 0.5);
    border-radius: 10px;
}

.str-table-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15));
    border-radius: 10px;
    border: 2px solid rgba(15, 15, 15, 0.5);
    transition: background 0.3s ease;
}

.str-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.6), rgba(0, 123, 255, 0.4));
}

/* Additional premium touches */
.str-royalty-container * {
    box-sizing: border-box;
}

/* Smooth transitions for all interactive elements */
.str-filter-select,
.str-export-button,
.str-pagination button,
.str-chart-item,
.str-total-royalty-card {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced focus states for accessibility */
.str-filter-select:focus-visible,
.str-export-button:focus-visible,
.str-pagination button:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Subtle glow effects */
.str-total-royalty-card,
.str-chart-item {
    position: relative;
}

/* Loading state enhancement */
.str-loading {
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #9a9a9a !important;
}
