/* Campaign Tabs Layout */
.wcc-tabs-container {
    margin: 30px 0;
    font-family: inherit;
    background: #fff;
    overflow: hidden;
}

.wcc-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    overflow-x: auto;
}

.wcc-tab-link {
    padding: 16px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wcc-tab-link:hover {
    color: #333;
    background: #f0f0f0;
}

.wcc-tab-link.active {
    background: #fff;
}

.wcc-tabs-content {
    padding: 25px;
}

.wcc-tab-panel {
    display: none;
}

.wcc-tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overview Table */
.wcc-overview-table {
    width: 100%;
    border-collapse: collapse;
}

.wcc-overview-table th,
.wcc-overview-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.wcc-overview-table th {
    width: 30%;
    color: #888;
    font-weight: 500;
}

/* Updates Timeline */
.wcc-updates-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #eee;
}

.wcc-update-item {
    margin-bottom: 30px;
    position: relative;
}

.wcc-update-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #12538f;
    border: 2px solid #fff;
}

.wcc-update-title {
    margin: 0 0 5px 0;
}

.wcc-update-date {
    font-size: 0.85em;
    color: #999;
}

.wcc-update-body {
    margin-top: 10px;
}

/* Status Badges */
.wcc-status-badge {
    padding: 3px 10px;
    font-size: 0.85em;
    font-weight: bold;
}

.status-active {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-completed {
    background: #e3f2fd;
    color: #1565c0;
}

.status-paused {
    background: #fff3e0;
    color: #ef6c00;
}

/* Donations List */
.wcc-donation-row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #f9f9f9;
}

.wcc-donation-meta {
    display: flex;
    flex-direction: column;
}

.wcc-donor-name {
    font-weight: bold;
}

.wcc-donation-date {
    font-size: 0.8em;
    color: #aaa;
}

.wcc-donation-amount {
    font-weight: bold;
    color: #1768b3;
}

.wcc-loader {
    text-align: center;
    padding: 20px;
    color: #999;
}

/* Last Update Box */
.wcc-last-update-box {
    background: #1768b324;
    padding: 20px;
    color: #333;
    line-height: 1.6;
}

/* Custom Comments List */
.wcc-comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wcc-comment-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.wcc-comment-item:last-child {
    border-bottom: none;
}

.wcc-comment-meta {
    margin-bottom: 5px;
    font-size: 0.9em;
}

.wcc-comment-meta strong {
    color: #333;
    margin-right: 10px;
}

.wcc-comment-meta span {
    color: #999;
}

.wcc-comment-content {
    color: #555;
    line-height: 1.5;
}

.wcc-no-data {
    text-align: center;
    padding: 30px;
    color: #888;
    font-style: italic;
}

/* Tabs Icon Styling */
.wcc-tab-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    /* LTR */
    display: inline-block;
    vertical-align: text-bottom;
}