body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(47, 128, 196, .12), transparent 34rem),
        linear-gradient(135deg, #f8fbff 0%, #eef6fc 48%, #f7fafc 100%) !important;
    color: #334155;
    font-size: 15px;
    font-family: "Source Sans Pro", Arial, sans-serif;
}

hr {
    margin-top: 25px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e7e7e7;
}

.wrapper {
    overflow: hidden;
    min-height: 100%;
    height: auto;
    border: 1px solid #dfe7ef;
    border-radius: 20px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .1);
}

.btn-install {
    padding: 10px 30px;
    border: 0;
    border-radius: 8px;
    background-color: #1f6fa9;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 10px 18px rgba(31, 111, 169, .18);
}

.btn-install:hover {
    background-color: #185b8d;
    color: #ffffff;
}

.btn-default {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 22px;
    background: #ffffff;
    color: #174a72;
    font-size: 14px;
    font-weight: 800;
}

.btn-default:hover {
    background-color: #f5f5f5;
    border-color: #dfdede;
}

.margin-t-10 {
    margin-top: 10px;
}

.margin-t-30 {
    margin-top: 30px;
}

.wrapper {
    width: min(960px, calc(100% - 32px));
    margin: 28px auto;
    background: #ffffff;
}

.logo-wrapper {
    padding: 34px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .18), transparent 24rem),
        linear-gradient(135deg, #1f6fa9 0%, #2f80c4 55%, #67a9d7 100%);
    color: #ffffff;
}

.logo {
    display: none;
}

.install-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.install-brand__mark {
    display: grid;
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

.install-brand__eyebrow {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.install-brand h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1;
}

.install-brand p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
}

.language-selector {
    margin: 0;
}

.install-toolbar {
    display: flex;
    justify-content: flex-end;
    padding: 18px 24px 12px;
    background: #ffffff;
}

.install-toolbar__language {
    width: min(280px, 100%);
}

.content{
    background-color: #ffffff;
    padding: 30px;
    border-bottom: 1px solid #e7edf4;
}

.form-horizontal {
    padding: 0 42px;
}

.credentials {
    background: #f8fafc;
    padding: 22px 16px 7px;
    margin-bottom: 18px;
    margin-top: 20px;
    border: 1px solid #e7edf4;
    border-radius: 18px;
}

.content-footer {
    padding: 20px;
    background: #f8fafc;
}

.validation-summary-errors {
    color: red;
}

.validation-summary-errors ul{
    padding-left: 0;
    list-style: none;
}

.throbber-header {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    letter-spacing: -.01em;
}

.card {
    border: 1px solid #e7edf4 !important;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.card-header {
    border-bottom: 1px solid #e7edf4;
    border-radius: 16px 16px 0 0 !important;
    background: #f8fafc;
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
}

.form-control {
    min-height: 42px;
    border-color: #dbe5ef;
    border-radius: 10px;
    color: #0f172a;
}

.form-control:focus {
    border-color: #2f80c4;
    box-shadow: 0 0 0 .2rem rgba(47, 128, 196, .16);
}

/* --------------------------------------------------------------------------
   Extensions (plugins & themes) selection
   -------------------------------------------------------------------------- */
.install-ext__intro {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.install-ext__themes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid #e7edf4;
    border-radius: 12px;
    background: #f8fafc;
}

.install-ext__themes-label {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.install-ext__theme-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.install-ext__theme {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 6px 14px;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.install-ext__theme:hover {
    border-color: #2f80c4;
}

.install-ext__theme:has(input:checked) {
    border-color: #2f80c4;
    color: #1f6fa9;
    box-shadow: 0 0 0 .15rem rgba(47, 128, 196, .14);
}

.install-ext__theme input {
    margin: 0;
    accent-color: #1f6fa9;
}

.install-ext__toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.install-ext__search {
    flex: 1 1 220px;
    min-height: 38px;
    max-width: 320px;
}

.install-ext__toolbar-btn {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #174a72;
    font-size: 13px;
    font-weight: 700;
}

.install-ext__toolbar-btn:hover {
    border-color: #2f80c4;
    background: #f3f9fd;
    color: #1f6fa9;
}

.install-ext__counter {
    margin-left: auto;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.install-ext__groups {
    display: grid;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

.install-ext__group {
    border: 1px solid #e7edf4;
    border-radius: 12px;
    overflow: hidden;
}

.install-ext__group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e7edf4;
}

.install-ext__group-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #0f172a;
    font-size: 14px;
    cursor: pointer;
}

.install-ext__group-toggle input {
    margin: 0;
    accent-color: #1f6fa9;
}

.install-ext__group-count {
    padding: 1px 9px;
    border-radius: 999px;
    background: #e7edf4;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.install-ext__items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2px 14px;
    padding: 8px 12px;
}

.install-ext__item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color .12s ease;
}

.install-ext__item:hover {
    background: #f3f9fd;
}

.install-ext__item input {
    margin: 0;
    flex: 0 0 auto;
    accent-color: #1f6fa9;
}

.install-ext__item-name {
    min-width: 0;
    color: #334155;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.install-ext__item-version {
    margin-left: auto;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.install-ext__empty {
    padding: 18px;
    color: #64748b;
    font-size: 14px;
    text-align: center;
}

.throbber {
    display: none;
}

    .throbber .curtain {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(13, 43, 68, .9);
        opacity: 1;
        filter: alpha(opacity=100);
    }

    .throbber .curtain-content {
        position: fixed;
        left: 0;
        top: 0;
        display: grid;
        width: 100%;
        height: 100%;
        place-items: center;
    }

        .throbber .curtain-content > div {
            display: grid;
            width: min(420px, calc(100% - 48px));
            gap: 20px;
            justify-items: center;
            text-align: center;
            color: #fff;
        }

.install-platform-loader {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;
    width: 78px;
    height: 20px;
    margin: 0 auto;
}

.install-platform-loader::before,
.install-platform-loader::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 1px;
    background: rgba(255, 255, 255, .38);
}

.install-platform-loader::after {
    width: 26px;
    background: #fff;
    opacity: .92;
    animation: install-platform-flow 1.7s cubic-bezier(.65, 0, .35, 1) infinite;
}

.install-platform-loader span {
    display: block;
    width: 7px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    animation: install-platform-breathe 1.2s ease-in-out infinite;
}

.install-platform-loader span:nth-child(2) {
    height: 17px;
    animation-delay: .14s;
}

.install-platform-loader span:nth-child(3) {
    height: 9px;
    animation-delay: .28s;
}

@keyframes install-platform-breathe {
    0%, 100% {
        opacity: .48;
        transform: scaleY(.72);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes install-platform-flow {
    0% {
        opacity: .12;
        transform: translateX(-52px);
    }
    50% {
        opacity: .9;
    }
    100% {
        opacity: .12;
        transform: translateX(52px);
    }
}

@media (max-width: 767px) {
    .wrapper {
        width: calc(100% - 20px);
        margin: 10px auto;
        border-radius: 18px;
    }

    .logo-wrapper,
    .content {
        padding: 22px;
    }

    .install-toolbar {
        padding: 14px;
    }

    .install-brand {
        align-items: flex-start;
    }

    .install-brand__mark {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        border-radius: 18px;
        font-size: 17px;
    }

    .form-horizontal {
        padding: 0;
    }

    label.text-right {
        text-align: left !important;
    }
}
