/* Phase 4-K.1: inactive affiliate entry visible layer only. */
.phase4k-affiliate-entry {
    overflow: hidden;
    border: 1px solid rgba(113, 143, 183, 0.2);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 8%, rgba(17, 185, 210, 0.14), transparent 29%),
        radial-gradient(circle at 10% 0%, rgba(22, 119, 255, 0.12), transparent 34%),
        #fff;
    box-shadow: 0 20px 56px rgba(27, 51, 88, 0.1);
}

.phase4k-affiliate-entry > .card-body {
    padding: 42px !important;
}

.phase4k-affiliate-entry .verified_not_certified {
    max-width: 980px;
    margin: 0 auto;
}

.phase4k-affiliate-entry .not_certified_title {
    margin-bottom: 14px;
    color: #152944;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.035em;
    text-align: center;
}

.phase4k-affiliate-entry .not_certified_text {
    max-width: 670px;
    margin: 0 auto;
    color: #64758e;
    font-size: 15px;
    line-height: 1.9;
}

.phase4k-affiliate-entry .border.text-center {
    margin-top: 30px;
    border: 0 !important;
    background: transparent;
}

.phase4k-affiliate-entry .border.text-center > .row {
    margin-right: -8px;
    margin-left: -8px;
}

.phase4k-affiliate-entry .border.text-center > .row > [class*="col-"] {
    margin-top: 0 !important;
    padding-right: 8px;
    padding-left: 8px;
}

.phase4k-affiliate-entry .affiliates-item {
    position: relative;
    height: 100%;
    min-height: 214px;
    padding: 28px 22px;
    overflow: hidden;
    border: 1px solid #e2ebf6;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 30px rgba(32, 57, 94, 0.07);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.phase4k-affiliate-entry .affiliates-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #1677ff, #13bdd1);
    opacity: 0.82;
}

.phase4k-affiliate-entry .affiliates-item:hover {
    border-color: rgba(22, 119, 255, 0.34);
    box-shadow: 0 17px 38px rgba(27, 66, 120, 0.12);
    transform: translateY(-3px);
}

.phase4k-affiliate-entry .affiliates-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 20px !important;
    border: 1px solid rgba(22, 119, 255, 0.12);
    border-radius: 20px;
    background: linear-gradient(145deg, #f5f9ff, #eaf7fb);
}

.phase4k-affiliate-entry .affiliates-item-icon img {
    width: auto;
    max-width: 50px;
    height: auto;
    max-height: 50px;
}

.phase4k-affiliate-entry .affiliates-item-title {
    margin-bottom: 9px;
    color: #20334f;
    font-size: 17px;
    font-weight: 850;
}

.phase4k-affiliate-entry .affiliates-item-text {
    color: #708098;
    font-size: 13px;
    line-height: 1.7;
}

.phase4k-affiliate-entry .col-12.mt-5.mb-5 {
    margin-top: 26px !important;
    margin-bottom: 0 !important;
}

.phase4k-affiliate-entry .activation {
    min-width: 174px;
    min-height: 46px;
    padding: 12px 28px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #1677ff, #11b9d2);
    box-shadow: 0 12px 26px rgba(22, 119, 255, 0.22);
    font-size: 15px;
    font-weight: 800;
}

.phase4k-affiliate-entry .activation:hover,
.phase4k-affiliate-entry .activation:focus {
    color: #fff;
    box-shadow: 0 15px 32px rgba(22, 119, 255, 0.28);
}

@media (max-width: 767.98px) {
    .phase4k-affiliate-entry {
        border-radius: 17px;
    }

    .phase4k-affiliate-entry > .card-body {
        padding: 24px 16px !important;
    }

    .phase4k-affiliate-entry .not_certified_title {
        margin-bottom: 10px;
        font-size: 27px;
    }

    .phase4k-affiliate-entry .not_certified_text {
        font-size: 13px;
        line-height: 1.75;
    }

    .phase4k-affiliate-entry .border.text-center {
        margin-top: 22px;
    }

    .phase4k-affiliate-entry .border.text-center > .row {
        gap: 10px;
        margin-right: 0;
        margin-left: 0;
    }

    .phase4k-affiliate-entry .border.text-center > .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding: 0;
        flex: 0 0 100%;
    }

    .phase4k-affiliate-entry .affiliates-item {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        min-height: 0;
        padding: 17px;
        text-align: left;
    }

    .phase4k-affiliate-entry .affiliates-item-icon {
        width: 58px;
        height: 58px;
        margin: 0 !important;
        border-radius: 16px;
    }

    .phase4k-affiliate-entry .affiliates-item-icon img {
        max-width: 40px;
        max-height: 40px;
    }

    .phase4k-affiliate-entry .affiliates-item-title {
        margin-bottom: 4px;
        font-size: 15px;
    }

    .phase4k-affiliate-entry .affiliates-item-text {
        font-size: 12px;
        line-height: 1.55;
    }

    .phase4k-affiliate-entry .activation {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 339.98px) {
    .phase4k-affiliate-entry > .card-body {
        padding: 20px 13px !important;
    }

    .phase4k-affiliate-entry .not_certified_title {
        font-size: 25px;
    }
}
