* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(ellipse at 10% 10%, rgba(32, 182, 170, .08), transparent 32%),
        #f3f7f9;
    color: #17324a;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.page-wrap {
    max-width: 1180px;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-left: 4px;
}

.brand-mark {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e3ecef;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(16, 42, 67, .08);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
}

.brand-title {
    color: #17324a;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.25px;
}

.muted {
    color: #7a8b98;
    font-size: 13px;
}

.illus-wrap {
    position: relative;
    min-height: 590px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    gap: 18px;
    padding: 38px 40px 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 28px;
    background: linear-gradient(145deg, #102a43 0%, #173b55 58%, #176b78 100%);
    box-shadow: 0 24px 55px rgba(16, 42, 67, .18);
}

.illus-wrap::before,
.illus-wrap::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.illus-wrap::before {
    right: -165px;
    bottom: -220px;
    width: 500px;
    height: 500px;
}

.illus-wrap::after {
    right: -105px;
    bottom: -160px;
    width: 380px;
    height: 380px;
}

.service-preview,
.illus-footer {
    position: relative;
    z-index: 1;
}

.service-preview {
    display: grid;
    width: min(470px, 100%);
    min-height: 275px;
    align-self: center;
    place-items: center;
    margin: 0 auto;
}

.preview-glow {
    position: absolute;
    width: 265px;
    height: 220px;
    border-radius: 50%;
    background: rgba(32, 182, 170, .2);
    filter: blur(48px);
}

.preview-device {
    position: relative;
    z-index: 1;
    width: min(390px, 88%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 17px;
    background: #f7fbfc;
    box-shadow: 0 24px 55px rgba(5, 19, 33, .3), 0 0 0 7px rgba(255, 255, 255, .06);
    transform: rotate(-2deg);
}

.preview-topbar {
    display: flex;
    height: 47px;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border-bottom: 1px solid #e7eff2;
    background: #fff;
}

.preview-brand-dot {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 9px;
    background: #e6f7f5;
    color: #168f91;
}

.preview-brand-dot i {
    font-size: 17px;
}

.preview-topbar-title {
    flex: 1;
    color: #284357;
    font-size: 11px;
    font-weight: 750;
}

.preview-live {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 7px;
    border-radius: 20px;
    background: #e8f7ef;
    color: #27855a;
    font-size: 9px;
    font-weight: 700;
}

.preview-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #36b878;
}

.preview-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 13px;
}

.preview-stat {
    position: relative;
    min-height: 65px;
    padding: 10px 11px;
    border: 1px solid #e8eef1;
    border-radius: 10px;
    background: #fff;
}

.preview-stat > span:first-child {
    display: block;
    color: #80929c;
    font-size: 9px;
}

.preview-stat strong {
    display: block;
    margin-top: 3px;
    color: #213e53;
    font-size: 18px;
    line-height: 1;
}

.preview-stat--teal {
    background: #f6fcfb;
}

.preview-stat--teal strong {
    color: #168f91;
}

.preview-stat-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #8aa3ae;
}

.preview-stat--teal .preview-stat-icon {
    color: #39aaa0;
}

.preview-stat-icon i {
    font-size: 17px;
}

.preview-job {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #e8eef1;
    border-radius: 10px;
    background: #fff;
}

.preview-job-icon {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border-radius: 10px;
    background: #e9f4fb;
    color: #3980a4;
}

.preview-job-icon i {
    font-size: 18px;
}

.preview-job-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.preview-job-copy strong {
    overflow: hidden;
    color: #284357;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-job-copy small {
    overflow: hidden;
    color: #8798a2;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-job-status {
    padding: 4px 6px;
    border-radius: 7px;
    background: #fff4df;
    color: #b98226;
    font-size: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.preview-progress {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    gap: 7px;
    padding: 2px 1px 0;
    color: #718590;
    font-size: 9px;
}

.preview-progress strong {
    color: #168f91;
}

.preview-progress div {
    grid-column: 1 / -1;
    height: 5px;
    overflow: hidden;
    border-radius: 5px;
    background: #e4eeee;
}

.preview-progress div i {
    display: block;
    width: 75%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #168f91, #58c9b9);
}

.preview-float {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #e5f5f3);
    box-shadow: 0 12px 28px rgba(5, 19, 33, .2);
    color: #168f91;
}

.preview-float i {
    font-size: 21px;
}

.preview-float--left {
    top: 31px;
    left: 0;
    transform: rotate(-9deg);
}

.preview-float--right {
    right: 1px;
    bottom: 23px;
    color: #2e9b68;
    transform: rotate(8deg);
}

.illus-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.illus-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(12, 36, 54, .35);
    color: #e0edf2;
    font-size: 10px;
    font-weight: 600;
}

.illus-footer i {
    color: #69ded0;
    font-size: 15px;
}

.login-card {
    overflow: hidden;
    border: 1px solid #e5edf0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(16, 42, 67, .1);
}

.login-card .card-body {
    padding: 34px;
}

.login-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-heading-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 15px;
    background: #e8f7f5;
    color: #168f91;
}

.login-heading-icon i {
    font-size: 24px;
}

.login-heading h2 {
    color: #17324a;
    font-size: 25px;
    letter-spacing: -.4px;
}

.login-card .form-label {
    margin-bottom: 7px;
    color: #31485a;
    font-size: 12px;
    font-weight: 700;
}

.login-input-group {
    min-height: 48px;
    overflow: hidden;
    border: 1px solid #dce6eb;
    border-radius: 12px;
    background: #fbfdfe;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.login-input-group:focus-within {
    border-color: #20aaa1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(32, 182, 170, .12);
}

.login-input-group .input-group-text {
    display: grid;
    width: 46px;
    place-items: center;
    border: 0;
    background: transparent;
    color: #8da1ad;
}

.login-input-group .input-group-text i {
    font-size: 19px;
}

.login-input-group .form-control {
    min-height: 46px;
    border: 0;
    background: transparent;
    color: #17324a;
    font-size: 13px;
}

.login-input-group .form-control::placeholder {
    color: #aab8c1;
}

.login-input-group .form-control:focus {
    box-shadow: none;
}

.login-error {
    min-height: 15px;
    margin: 4px 0 0;
    color: #d64045;
    font-size: 11px;
}

.btn-gradient {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(105deg, #176b78 0%, #168f91 55%, #20aaa0 100%);
    box-shadow: 0 9px 20px rgba(22, 143, 145, .2);
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-gradient:hover {
    color: #fff;
    box-shadow: 0 12px 24px rgba(22, 143, 145, .28);
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.btn-gradient:active {
    transform: translateY(1px);
}

.btn-gradient:disabled {
    cursor: wait;
    opacity: .75;
}

.btn-gradient i {
    font-size: 18px;
}

.login-copyright {
    color: #9aa9b2;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .login-card .card-body {
        padding: 28px;
    }
}

@media (max-width: 767.98px) {
    .page-wrap {
        max-width: 520px;
    }
}

@media (max-width: 420px) {
    .login-card .card-body {
        padding: 24px 20px;
    }

    .login-brand {
        padding-left: 0;
    }
}
