.kms-search-sidebar {
    position: sticky;
    z-index: 10;
    top: 130px;
    width: 380px;
    max-width: 100%;
    padding: 20px 0;
    background: transparent;
}

.kms-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 48px;
    width: min(1500px, calc(100% - 64px));
    margin: 0 auto;
    align-items: start;
}

.kms-page-layout__content {
    min-width: 0;
}

.kms-page-layout .wrap {
    padding-right: 0;
    padding-left: 0;
}

.kms-page-layout .wrap-inner {
    max-width: 100%;
}

body .kms-page-layout .single-content-wrapper .entry-content {
    width: auto;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.kms-search-sidebar__title {
    margin: 0 0 16px;
    color: #1f1b20;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.kms-search-sidebar__form {
    display: flex;
    overflow: hidden;
    min-height: 60px;
    border: 1px solid #d9d6d8;
    border-radius: 6px;
    background: #f2f2f2;
}

.kms-search-sidebar__form input {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    color: #262027;
    border: 0;
    outline: 0;
    font: inherit;
    background: #f2f2f2;
}

.kms-search-sidebar__form button {
    display: grid;
    width: 118px;
    flex: 0 0 118px;
    place-items: center;
    color: #fff;
    border: 0;
    background: linear-gradient(105deg, #89216b 0%, #dc4055 100%);
    cursor: pointer;
    font: inherit;
    font-size: 1.1rem;
}

.kms-search-sidebar__form button:hover,
.kms-search-sidebar__form button:focus-visible {
    background: #89216b;
}

.kms-search-sidebar__disclaimer {
    margin: 18px 0 0;
    color: #59515a;
    font-size: 0.92rem;
    line-height: 1.55;
}

.kms-sidebar-rating {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 28px 20px;
    border: 1px solid #ddd7db;
    border-radius: 8px;
    background: #f4f3f3;
    text-align: center;
    box-shadow: 0 3px 12px rgba(34, 24, 32, .08);
}

.kms-sidebar-rating__title,
.kms-sidebar-rating__score {
    margin: 0;
    color: #ef0000;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
}

.kms-sidebar-rating__stars {
    display: flex;
    gap: 4px;
    color: #f0ad4e;
    font: 2.35rem/1 Arial, sans-serif;
}

.kms-sidebar-rating__stars span {
    display: block;
}

.kms-sidebar-rating__stars .is-half {
    color: transparent;
    background: linear-gradient(90deg, #f0ad4e 50%, #fff 50%);
    background-clip: text;
}

.kms-sidebar-rating__button {
    margin: 22px 0 0;
    line-height: 0;
}

.kms-sidebar-rating__button span {
    display: inline-block;
}

.kms-sidebar-rating__button img {
    display: block;
    width: 174px;
    max-width: 100%;
    height: auto;
}

.kms-sidebar-rating__button a { display: inline-block; cursor: pointer; }

@media (max-width: 1050px) {
    .kms-page-layout {
        display: block;
        width: auto;
        margin: 0 10px;
    }

    .kms-page-layout .wrap {
        padding-top: 12px;
    }

    .kms-page-layout .entry-content {
        --post-margin: 10px;
        --wrapper-side-gutter: 10px;
        --content-width: calc(100% - 20px);
        padding-top: 12px;
    }

    .kms-page-layout .entry-content > * {
        width: 100%;
        max-width: 100%;
    }

    .kms-search-sidebar {
        position: static;
        width: auto;
        max-width: none;
        margin: 22px 12px 28px;
        padding: 0;
    }
}

@media (max-width: 480px) {

    .kms-sidebar-rating {
        padding: 24px 16px;
    }
    .kms-page-layout {
        margin: 0 6px;
    }

    .kms-page-layout .entry-content {
        --post-margin: 6px;
        --wrapper-side-gutter: 6px;
        --content-width: calc(100% - 12px);
        padding-top: 8px;
    }
}

.activation-error-guide {
    margin-top: 28px;
    padding: 22px 18px;
    border: 1px solid #e1ced9;
    border-radius: 10px;
    background: linear-gradient(150deg, #fff 0%, #fcf3f8 100%);
    box-shadow: 0 3px 12px rgba(34, 24, 32, .06);
}

.activation-error-guide__eyebrow {
    margin: 0 0 5px;
    color: #9f2d63;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.activation-error-guide h2 {
    margin: 0;
    color: #4e203d;
    font-size: 1.2rem;
    line-height: 1.25;
    text-align: center;
}

.activation-error-guide > p:not(.activation-error-guide__eyebrow):not(.activation-error-guide__help) {
    margin: 10px 0 14px;
    color: #5e5560;
    font-size: .91rem;
    line-height: 1.55;
}

.activation-error-guide__search {
    position: relative;
}

.activation-error-guide__search input {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding: 9px 40px 9px 12px;
    border: 1px solid #bd8da9;
    border-radius: 7px;
    background: #fff;
    color: #2c242a;
    font: inherit;
    font-weight: 700;
}

.activation-error-guide__search input:focus {
    border-color: #89216b;
    outline: 3px solid rgba(137, 33, 107, .16);
}

.activation-error-guide__search span {
    position: absolute;
    top: 7px;
    right: 12px;
    color: #89216b;
    font-size: 1.7rem;
    line-height: 1;
    pointer-events: none;
}

.activation-error-guide__help {
    margin: 7px 0 0;
    color: #766a73;
    font-size: .78rem;
}

.activation-error-guide__suggestions {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    border: 1px solid #e0cbd7;
    border-radius: 7px;
    background: #fff;
}

.activation-error-guide__suggestions button {
    display: block;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-bottom: 1px solid #f1e6ed;
    background: #fff;
    color: #4d243e;
    cursor: pointer;
    font: inherit;
    font-size: .86rem;
    text-align: left;
}

.activation-error-guide__suggestions li:last-child button { border-bottom: 0; }
.activation-error-guide__suggestions button:hover,
.activation-error-guide__suggestions button:focus-visible { background: #f9edf4; }

.activation-error-guide__result {
    margin-top: 14px;
    color: #514750;
    font-size: .88rem;
    line-height: 1.55;
}

.activation-error-guide__result h3 {
    margin: 0 0 8px;
    color: #762156;
    font-size: 1rem;
    line-height: 1.35;
    text-align: left;
}

.activation-error-guide__result p { margin: 8px 0; }
.activation-error-guide__result ol { margin: 7px 0 0; padding-left: 20px; }
.activation-error-guide__result li { margin: 5px 0; }
.activation-error-guide__steps-label { color: #762156; font-weight: 800; }
.activation-error-guide__result button { padding: 0; border: 0; background: transparent; color: #8a2165; cursor: pointer; font: inherit; font-weight: 800; text-decoration: underline; }

.activation-error-ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    margin-top: 17px;
    border: 1px dashed #cfaebf;
    border-radius: 7px;
    background: rgba(255, 255, 255, .68);
    color: #977687;
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.activation-error-ad-slot--compact { min-height: 54px; margin-top: 10px; }

/* Windows activation error guide. */
.kms-search-sidebar .activation-error-guide {
    overflow: hidden;
    margin-top: 28px;
    padding: 0;
    border: 1px solid #e5d6df;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(73, 24, 54, .1);
}

.kms-search-sidebar .activation-error-guide__header {
    padding: 22px 20px 19px;
    color: #fff;
    background: linear-gradient(125deg, #80205f 0%, #b52e65 57%, #d64958 100%);
}

.kms-search-sidebar .activation-error-guide__eyebrow {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
}

.kms-search-sidebar .activation-error-guide h2 {
    margin: 0;
    color: #fff;
    font-size: 1.38rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
}

.kms-search-sidebar .activation-error-guide__intro {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .91);
    font-size: .9rem;
    line-height: 1.52;
}

.kms-search-sidebar .activation-error-guide__search {
    margin: 18px 18px 0;
}

.kms-search-sidebar .activation-error-guide__search input {
    height: 48px;
    padding: 10px 46px 10px 14px;
    border-color: #d8bac9;
    border-radius: 9px;
    box-shadow: inset 0 1px 2px rgba(63, 22, 47, .04);
    font-size: .95rem;
}

.kms-search-sidebar .activation-error-guide__search svg {
    position: absolute;
    top: 13px;
    right: 14px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #982860;
    stroke-linecap: round;
    stroke-width: 2;
    pointer-events: none;
}

.kms-search-sidebar .activation-error-guide__help {
    margin: 8px 18px 0;
    color: #776772;
    font-size: .78rem;
}

.kms-search-sidebar .activation-error-guide__result {
    margin: 18px;
    padding: 14px;
    border-radius: 9px;
    background: #faf5f8;
}

.activation-error-guide__popular-label {
    margin: 0 0 10px;
    color: #6d2451;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.activation-error-guide__popular-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.activation-error-guide__result .activation-error-guide__popular-codes button {
    padding: 8px 10px;
    border: 1px solid #d9adc2;
    border-radius: 999px;
    background: #fff;
    color: #812257;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.activation-error-guide__result .activation-error-guide__popular-codes button:hover,
.activation-error-guide__result .activation-error-guide__popular-codes button:focus-visible {
    color: #fff;
    background: #8b245d;
    outline: none;
}

.activation-error-guide__cause-label,
.activation-error-guide__code {
    font-weight: 800;
}

.activation-error-guide__all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 18px 18px;
    padding: 12px 14px;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(105deg, #81215e, #cb3c5b);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.activation-error-guide__all-link:hover,
.activation-error-guide__all-link:focus-visible {
    background: #762054;
    outline: none;
}

.activation-error-guide__all-link span {
    font-size: 1.25rem;
    line-height: 1;
}

/* Preserve contrast when a global link rule is loaded after this stylesheet. */
.activation-error-guide__all-link,
.activation-error-guide__all-link:visited,
.activation-error-guide__all-link:hover,
.activation-error-guide__all-link:focus-visible,
.activation-error-guide__all-link span {
    color: #fff !important;
}

@media (max-width: 480px) {
    .kms-search-sidebar .activation-error-guide__header { padding: 20px 16px 17px; }
    .kms-search-sidebar .activation-error-guide__search { margin-right: 16px; margin-left: 16px; }
    .kms-search-sidebar .activation-error-guide__help { margin-right: 16px; margin-left: 16px; }
    .kms-search-sidebar .activation-error-guide__result { margin: 16px; }
    .activation-error-guide__all-link { margin: 0 16px 16px; }
}
