.profile-social-panel {
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid #e9e6e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .045);
}

.profile-social-panel .soctab-card {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.profile-social-panel .soctab-tabs {
    margin: 0;
    padding: 18px 20px 10px;
    border-bottom: 2px solid #ece8e6;
}

.profile-social-panel .soctab-content {
    padding: 16px 18px 0;
}

.profile-social-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 8px 10px 8px 18px;
    box-sizing: border-box;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    background: #f8fafc;
}

.profile-social-url {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: #40516b;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
    text-decoration: none;
}

.profile-social-url:hover {
    color: var(--site-accent, #9C1C4F);
}

.profile-social-url i {
    flex: 0 0 auto;
    color: #9aa4b2;
    font-size: 14px;
}

.profile-social-url span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-social-open-btn {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 188px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    box-sizing: border-box;
    border: 1px solid #dde2e8;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(17, 24, 39, .08);
    color: #101828;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.profile-social-open-btn:hover {
    border-color: var(--site-accent, #9C1C4F);
    color: var(--site-accent, #9C1C4F);
    box-shadow: 0 3px 9px rgba(var(--site-accent-rgb, 156, 28, 79), .12);
}

.profile-social-panel #tab-contents {
    margin: 0;
}

.profile-social-panel .tab-content,
.profile-social-panel .bloggers-list-box,
.profile-social-panel .social_stat-tab-content {
    margin: 0;
    background: transparent;
}

.profile-social-panel .social_stat-card {
    margin: 0;
    padding-top: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 700px) {
    .profile-social-panel .soctab-tabs {
        padding-right: 14px;
        padding-left: 14px;
    }

    .profile-social-panel .soctab-content {
        padding-right: 12px;
        padding-left: 12px;
    }

    .profile-social-link-row {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .profile-social-url {
        padding: 3px 4px;
    }

    .profile-social-open-btn {
        width: 100%;
        min-width: 0;
    }
}

.profile-social-panel .blogger-ads-tab-content-ads {
    width: 100%;
    margin: 0;
    padding: 20px 18px 22px;
    box-sizing: border-box;
}

.profile-social-panel .blogger-ads-tab-content-ads h2 {
    margin: 0 0 14px;
    padding: 0;
}

.profile-social-panel .blogger-ads-tab-content-cards {
    width: 100%;
    margin: 0;
    gap: 14px;
    box-sizing: border-box;
}

.profile-social-panel .ad-format-card {
    margin: 0;
}

@media (max-width: 700px) {
    .profile-social-panel .blogger-ads-tab-content-ads {
        padding-right: 12px;
        padding-left: 12px;
    }
}

.profile-social-panel .social_stat-updated {
    display: inline-block;
    width: max-content;
    text-align: right;
}

.profile-social-panel .social_stat-updated > div:first-child {
    display: block;
    width: 100%;
    margin-bottom: 2px;
    color: rgb(156, 163, 175);
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    line-height: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: right;
    text-transform: uppercase;
}

.profile-social-panel .social_stat-updated-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0 !important;
    padding: 4px 8px;
    box-sizing: border-box;
    border-radius: 6px;
    background: #f0fdf4;
    color: #16a34a;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    text-align: center;
}

.profile-social-panel .social_stat-item .meta.social_stat-positive {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: #22c55e;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

.profile-social-panel .social_stat-item .meta.social_stat-positive i {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1;
}

.profile-social-panel .social_stat-updated .social_stat-updated-value,
.profile-social-panel .social_stat-updated div.social_stat-updated-value:last-child {
    color: #16a34a !important;
}

.profile .success-cases-track {
    padding-top: 7px;
}

.profile .success-case-gallery-item {
    display: block;
    overflow: hidden;
    padding: 0;
    border: 0 !important;
    border-radius: 12px;
    outline: 0;
    background: #f3f4f6;
    box-shadow: none !important;
}

.profile .success-case-gallery-item img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 0 !important;
    border-radius: 12px;
    outline: 0;
    object-fit: cover;
}

.profile .success-case-modal-dialog {
    max-height: calc(100vh - 48px);
}

/* Desktop visual width aligned to the barter page (~1200px). */
@media (min-width: 769px) {
    .base_con_box.bloggers-list-box.normal_size {
        width: 1240px;
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
}

@media (min-width: 769px) {
    .profile .head-right {
        min-width: 0;
    }

    .profile .desc {
        width: auto;
        max-width: calc(100% - 190px);
    }
}

.profile-social-account-switcher {
    margin: 0 0 10px;
}

.profile-social-account-switcher .soctab-select-wrap {
    position: relative;
    width: 100%;
}

.profile-social-account-switcher .soctab-select {
    width: 100%;
    min-height: 42px;
    padding: 0 42px 0 38px;
    box-sizing: border-box;
    border: 1px solid #e1e5ea;
    border-radius: 12px;
    outline: 0;
    background: #fff;
    color: #27364d;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.profile-social-account-switcher .soctab-select:focus {
    border-color: var(--site-accent, #9C1C4F);
    box-shadow: 0 0 0 3px rgba(var(--site-accent-rgb, 156, 28, 79), .08);
}

.profile-social-account-search-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #9aa4b2;
    font-size: 13px;
    pointer-events: none;
}

.profile-social-account-switcher .soctab-dropdown {
    display: none;
    position: absolute;
    z-index: 100;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    max-height: 230px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid #e1e5ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, .12);
}

.profile-social-account-switcher .soctab-option {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 10px;
    box-sizing: border-box;
    border-radius: 8px;
    color: #27364d;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    line-height: 18px;
    cursor: pointer;
}

.profile-social-account-switcher .soctab-option:hover {
    background: #f7f8fa;
}

.profile-social-account-switcher .soctab-option.is-active {
    background: rgba(var(--site-accent-rgb, 156, 28, 79), .07);
    color: var(--site-accent, #9C1C4F);
    font-weight: 600;
}

@media (max-width: 700px) {
    .profile-social-account-switcher {
        margin-bottom: 9px;
    }

    .profile-social-account-switcher .soctab-select {
        min-height: 40px;
        font-size: 12px;
    }
}


/* Social selector: compact visual treatment aligned with the approved mockup. */
.profile-social-panel {
    margin-top: 22px;
    border: 1px solid #ebe7e6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(17, 24, 39, .04);
}

.profile-social-panel .soctab-tabs {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 42px;
    margin: 0;
    padding: 0 20px;
    border-bottom: 1px solid #ece8e6;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.profile-social-panel .soctab-tabs::-webkit-scrollbar {
    display: none;
}

.profile-social-panel .soctab-tab {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0;
    border: 0;
    color: #6d7480;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.profile-social-panel .soctab-tab i {
    color: #a7adb6;
    font-size: 12px;
    line-height: 1;
}

.profile-social-panel .soctab-tab.active {
    color: #1f2937;
    border: 0;
}

.profile-social-panel .soctab-tab.active i {
    color: var(--site-accent, #9C1C4F);
}

.profile-social-panel .soctab-tab.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--site-accent, #9C1C4F);
}

.profile-social-panel .soctab-content {
    padding: 14px 18px 0;
}

.profile-social-account-switcher {
    margin: 0 0 10px;
}

.profile-social-account-switcher .soctab-select {
    height: 44px;
    min-height: 44px;
    padding: 0 42px 0 40px;
    border: 1px solid #e8e4e3;
    border-radius: 12px;
    background: #fff;
    color: #243044;
    font-size: 13px;
    line-height: 44px;
    font-weight: 600;
    box-shadow: none;
}

.profile-social-account-switcher .soctab-select:focus {
    border-color: rgba(var(--site-accent-rgb, 156, 28, 79), .5);
    box-shadow: 0 0 0 3px rgba(var(--site-accent-rgb, 156, 28, 79), .06);
}

.profile-social-account-search-icon {
    left: 15px;
    color: #9ca3af;
    font-size: 13px;
}

.profile-social-link-row {
    min-height: 44px;
    padding: 5px 7px 5px 16px;
    gap: 14px;
    border: 1px solid #ebe7e6;
    border-radius: 12px;
    background: #fafafa;
}

.profile-social-url {
    gap: 10px;
    color: #7b8493;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
}

.profile-social-url i {
    color: #a9afb8;
    font-size: 13px;
}

.profile-social-open-btn {
    min-width: 150px;
    min-height: 34px;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid rgba(var(--site-accent-rgb, 156, 28, 79), .22);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(17, 24, 39, .04);
    color: var(--site-accent, #9C1C4F);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
}

.profile-social-open-btn i {
    font-size: 10px;
}

.profile-social-open-btn:hover {
    border-color: var(--site-accent, #9C1C4F);
    background: rgba(var(--site-accent-rgb, 156, 28, 79), .025);
    color: var(--site-accent, #9C1C4F);
    box-shadow: 0 2px 6px rgba(var(--site-accent-rgb, 156, 28, 79), .08);
}

@media (max-width: 700px) {
    .profile-social-panel .soctab-tabs {
        gap: 18px;
        padding: 0 14px;
    }

    .profile-social-panel .soctab-content {
        padding: 12px 12px 0;
    }

    .profile-social-account-switcher .soctab-select {
        height: 42px;
        min-height: 42px;
        line-height: 42px;
    }

    .profile-social-link-row {
        align-items: center;
        flex-direction: row;
        gap: 8px;
        padding: 5px 6px 5px 12px;
    }

    .profile-social-open-btn {
        width: auto;
        min-width: 132px;
        min-height: 34px;
        padding: 0 10px;
    }
}


.profile-social-panel .soctab-tab.active {
    position: relative;
    z-index: 2;
    border-bottom: 2px solid var(--site-accent, #9C1C4F);
}

.profile-social-panel .soctab-tab.active::after {
    display: none;
}


/* Exact sizing from the client's top-block mockup. */
.profile-social-panel .soctab-tabs {
    gap: 4px;
    min-height: 49px;
    padding: 0 20px;
    border-bottom: 1px solid #e9e4e7;
}

.profile-social-panel .soctab-tab {
    height: 49px;
    gap: 8px;
    padding: 0 14px;
    color: #7b7480;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
}

.profile-social-panel .soctab-tab i {
    color: #7b7480;
    font-size: 16px;
    opacity: .55;
}

.profile-social-panel .soctab-tab.active {
    color: #1d1a1e;
    border-bottom: 0;
}

.profile-social-panel .soctab-tab.active i {
    color: var(--site-accent, #9C1C4F);
    opacity: 1;
}

.profile-social-panel .soctab-tab.active::after {
    display: block;
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--site-accent, #9C1C4F);
    z-index: 3;
}

.profile-social-panel .soctab-content {
    padding: 20px 20px 0;
}

.profile-social-account-switcher {
    margin: 0 0 10px;
}

.profile-social-account-switcher .soctab-select {
    height: 52px;
    min-height: 52px;
    padding: 0 44px 0 46px;
    border: 1.5px solid #e9e4e7;
    border-radius: 14px;
    background: #fff;
    color: #1d1a1e;
    font-size: 15px;
    line-height: 52px;
    font-weight: 600;
}

.profile-social-account-switcher .soctab-select:focus {
    border-color: var(--site-accent, #9C1C4F);
    box-shadow: 0 0 0 4px rgba(var(--site-accent-rgb, 156, 28, 79), .10);
}

.profile-social-account-search-icon {
    left: 16px;
    color: #7b7480;
    font-size: 18px;
}

.profile-social-link-row {
    min-height: 74px;
    padding: 10px 12px 10px 18px;
    gap: 12px;
    border: 0;
    border-radius: 14px;
    background: #f7f5f6;
}

.profile-social-url {
    gap: 12px;
    color: #7b7480;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.profile-social-url i {
    color: #7b7480;
    font-size: 18px;
}

.profile-social-open-btn {
    min-width: 0;
    min-height: 54px;
    gap: 6px;
    padding: 0 18px;
    border: 1px solid rgba(var(--site-accent-rgb, 156, 28, 79), .28);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    color: var(--site-accent, #9C1C4F);
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
}

.profile-social-open-btn i {
    font-size: 12px;
}

.profile-social-open-btn:hover {
    border-color: var(--site-accent, #9C1C4F);
    background: rgba(var(--site-accent-rgb, 156, 28, 79), .04);
    color: var(--site-accent, #9C1C4F);
    box-shadow: none;
}

@media (max-width: 700px) {
    .profile-social-panel .soctab-tabs {
        gap: 4px;
        min-height: 49px;
        padding: 0 14px;
    }

    .profile-social-panel .soctab-tab {
        height: 49px;
        padding: 0 12px;
        font-size: 14px;
    }

    .profile-social-panel .soctab-tab.active::after {
        left: 12px;
        right: 12px;
    }

    .profile-social-panel .soctab-content {
        padding: 16px 12px 0;
    }

    .profile-social-account-switcher .soctab-select {
        height: 50px;
        min-height: 50px;
        line-height: 50px;
        font-size: 14px;
    }

    .profile-social-link-row {
        min-height: 58px;
        padding: 8px 10px 8px 14px;
    }

    .profile-social-open-btn {
        min-height: 42px;
        padding: 0 14px;
        font-size: 13px;
    }
}

.profile-social-panel {
    border: 1px solid rgba(var(--site-accent-rgb, 156, 28, 79), .08);
    border-radius: 24px;
    box-shadow: 0 12px 30px -12px rgba(var(--site-accent-rgb, 156, 28, 79), .12);
    transition: box-shadow .3s ease, transform .3s ease;
}

.profile-social-panel:hover {
    box-shadow: 0 20px 40px -12px rgba(var(--site-accent-rgb, 156, 28, 79), .22);
    transform: translateY(-4px);
}

