.avpb-pin-wrapper,
.avpb-pin-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.avpb-pin-wrapper img,
.avpb-pin-container img {
    display: block;
}

.avpb-pin-button {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e60023;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    opacity: 1 !important;
    visibility: visible !important;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.avpb-pin-button:hover,
.avpb-pin-button:focus {
    background: #bd001f;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
    text-decoration: none !important;
}

.avpb-pin-button span {
    color: #ffffff !important;
    font-weight: 700;
}

.avpb-pinterest-icon {
    width: 15px;
    height: 15px;
    fill: currentColor;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .avpb-pin-button {
        top: 10px;
        left: 10px;
        font-size: 13px;
        padding: 9px 12px;
    }

    .avpb-pinterest-icon {
        width: 14px;
        height: 14px;
    }
}

.avpb-admin-wrap {
    max-width: 1280px;
}

.avpb-muted {
    color: #646970;
    font-size: 14px;
    margin-top: 4px;
}

.avpb-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.avpb-tabs a {
    display: inline-block;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-radius: 999px;
    text-decoration: none;
    color: #1d2327;
    font-weight: 600;
}

.avpb-tabs a.active {
    background: #1d2327;
    border-color: #1d2327;
    color: #ffffff;
}

.avpb-actions {
    margin: 14px 0 20px;
}

.avpb-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.avpb-stat-card {
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.avpb-stat-label {
    color: #646970;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.avpb-stat-value {
    color: #1d2327;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.avpb-panel {
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    padding: 18px;
    margin: 20px 0;
}

.avpb-panel h2 {
    margin-top: 0;
    margin-bottom: 14px;
}

.avpb-table td,
.avpb-table th {
    vertical-align: middle;
}

.avpb-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dcdcde;
    background: #f6f7f7;
}

@media (max-width: 960px) {
    .avpb-card-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media (max-width: 600px) {
    .avpb-card-grid {
        grid-template-columns: 1fr;
    }
}