/* WIA Public Styles - Important overrides for theme compatibility */
.wia-dashboard {
    background: #fdfdfd !important;
    padding: 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    color: #333 !important;
    margin: 20px 0 !important;
}

.wia-dashboard h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2c3e50;
}

.wia-dashboard h3,
.wia-dashboard h4 {
    font-size: 16px;
    font-weight: 600;
    color: #444;
    margin-top: 0;
}

.nav-tab-wrapper {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    display: flex;
    gap: 5px;
}

.nav-tab {
    font-weight: 500;
    padding: 12px 25px;
    color: #666;
    border: none;
    background: #f8f9fa;
    transition: all 0.2s ease;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    margin: 0;
    font-size: 14px;
}

.nav-tab:hover {
    background: #f1f3f5;
    color: #333;
}

.nav-tab-active {
    color: #fff !important;
    background: #2c3e50 !important;
    font-weight: 600;
}

.wia-card {
    background: #fff !important;
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid #eef2f7 !important;
    margin-bottom: 20px !important;
    transition: transform 0.2s !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.wia-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.wia-stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eef2f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.wia-stat-label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 8px;
}

.wia-stat-value {
    color: #2c3e50;
}

.wia-link-builder select,
.wia-link-builder input {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-right: 10px;
}

.wia-withdrawal-header {
    background: linear-gradient(135deg, #e7f5ff 0%, #d0ebff 100%);
    color: #1971c2;
    border: none;
}

#wia-request-payout-btn {
    background: #2c3e50;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
}

/* Modal */
#wia-payout-modal .modal-content {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

mark.status-pending {
    background: #fff9db;
    color: #f08c00;
    padding: 4px 8px;
    border-radius: 4px;
}

mark.status-paid {
    background: #ebfbee;
    color: #2b8a3e;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Table header styles - smaller font size */
.wia-dashboard table thead th,
.wia-dashboard .wp-list-table thead th {
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 10px 8px !important;
}