/* Base Styles with Brand Colors */
.bljus-frontend {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bljus-frontend table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(102, 45, 146, 0.15);
    margin-bottom: 20px;
    border: 1px solid rgba(102, 45, 146, 0.1);
}

.bljus-frontend th {
    text-align: left;
    padding: 15px;
    background: #662D92; /* Primary purple */
    color: #E0E0E0; /* Gold text */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bljus-frontend td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(102, 45, 146, 0.08);
    vertical-align: middle;
    color: #333;
}

.bljus-frontend tr:nth-child(even) {
    background-color: rgba(102, 45, 146, 0.03);
}

.bljus-frontend tr:hover {
    background-color: rgba(102, 45, 146, 0.05);
}

/* Buttons */
.bljus-copy, .bljus-refresh {
    background: #662D92; /* Purple */
    color: #E0E0E0; /* Gold text */
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(102, 45, 146, 0.2);
}

.bljus-copy:hover, .bljus-refresh:hover {
    background: #5a2580; /* Darker purple */
    color: #FFD700;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 45, 146, 0.3);
}

/* Header with refresh button */
.bljus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(102, 45, 146, 0.1);
}

.bljus-header h3 {
    color: #662D92;
    margin: 0;
    font-size: 1.4em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bljus-frontend table {
        display: block;
        overflow-x: auto;
        box-shadow: 0 2px 8px rgba(102, 45, 146, 0.1);
    }
    
    .bljus-frontend th, 
    .bljus-frontend td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .bljus-copy, .bljus-refresh {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .bljus-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Animation for refresh button */
.bljus-refresh:hover {
    animation: spin 0.6s ease;
}

@keyframes spin {
    0% { transform: rotate(0deg) translateY(-1px); }
    100% { transform: rotate(360deg) translateY(-1px); }
}