@import url('./client.css');

.editor-box {
    min-height: 320px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 16px 32px;
}

.blog-featured-drop {
    position: relative;
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px dashed #b8bec9;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.blog-featured-drop:hover,
.blog-featured-drop.is-dragover {
    border-color: #222831;
    background: #f3f6fa;
    box-shadow: inset 0 0 0 1px rgba(34, 40, 49, .08);
}

.blog-featured-drop.has-image {
    min-height: auto;
    aspect-ratio: 16 / 10;
    border-style: solid;
    background: #111827;
}

.blog-featured-preview {
    position: absolute;
    inset: 0;
}

.blog-featured-preview[hidden] {
    display: none;
}

.blog-featured-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blog-featured-preview::after {
    position: absolute;
    inset: 0;
    content: '';
    pointer-events: none;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, .2));
}

.blog-featured-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.drop-hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #596273;
    font-weight: 600;
    text-align: center;
}

.drop-hint[hidden] {
    display: none;
}

.drop-hint i {
    font-size: 34px;
    color: #222831;
}

.blog-featured-loader {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    background: rgba(255, 255, 255, .68);
}

.blog-featured-drop.is-uploading .blog-featured-loader {
    display: block;
}

.blog-featured-drop.is-uploading .blog-featured-loader::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    content: '';
    border: 3px solid rgba(34, 40, 49, .2);
    border-top-color: #222831;
    border-radius: 50%;
    animation: button-spinner .75s linear infinite;
}

@keyframes button-spinner {
    to {
        transform: rotate(360deg);
    }
}

.auth-template-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    background: #fff !important;
}

.auth-template-section::after {
    display: none !important;
    content: none !important;
}

.auth-template-section .container-fluid {
    min-height: 100vh;
}

.auth-split-row {
    min-height: 100vh;
    overflow: hidden;
    background: #fff;
    width: 100%;
    margin: 0;
}

.auth-split-media {
    position: relative;
    height: 100vh;
    min-height: 720px;
}

.auth-split-media::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(180deg, rgba(17, 24, 39, .06), rgba(17, 24, 39, .18));
    pointer-events: none;
}

.auth-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.auth-form-stack {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 80px));
    margin: 0 auto;
    transform: translateY(-10px);
    padding: 14px;
    background: #ffeef4;
    border: 1px solid rgba(247, 71, 128, .14);
    border-radius: 8px;
    box-shadow: 0 26px 75px rgba(247, 71, 128, .16);
    overflow: hidden;
}

.auth-form-stack::before,
.auth-form-stack::after {
    position: absolute;
    inset: 0;
    content: '';
    pointer-events: none;
}

.auth-form-stack::before {
    z-index: 0;
    background:
        linear-gradient(151deg, transparent 0 49.7%, rgba(247, 71, 128, .16) 50%, transparent 50.3%) left 0 bottom 0 / 51% 260px no-repeat,
        linear-gradient(209deg, transparent 0 49.7%, rgba(247, 71, 128, .16) 50%, transparent 50.3%) right 0 bottom 0 / 51% 260px no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 38%);
}

.auth-form-stack::after {
    z-index: 0;
    border-radius: 8px;
    background:
        linear-gradient(26deg, transparent 0 49.7%, rgba(247, 71, 128, .13) 50%, transparent 50.3%) left 0 top 92px / 52% 220px no-repeat,
        linear-gradient(334deg, transparent 0 49.7%, rgba(247, 71, 128, .13) 50%, transparent 50.3%) right 0 top 92px / 52% 220px no-repeat;
}

.auth-template-section .register-page-form {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 32px 40px 44px !important;
    background: #fff !important;
    border: 0;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 14px 38px rgba(247, 71, 128, .08);
}

.auth-split-row > .col-md-6:last-child {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff5f8;
}

.auth-split-row > .col-md-6:last-child::before,
.auth-split-row > .col-md-6:last-child::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.auth-split-row > .col-md-6:last-child::before {
    width: 300px;
    height: 205px;
    right: 9%;
    top: 11%;
    border: 2px solid rgba(247, 71, 128, .14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, transparent 49%, rgba(247, 71, 128, .12) 50%, transparent 51%),
        linear-gradient(45deg, transparent 49%, rgba(247, 71, 128, .1) 50%, transparent 51%);
    transform: rotate(8deg);
}

.auth-split-row > .col-md-6:last-child::after {
    width: 235px;
    height: 310px;
    left: 8%;
    bottom: 9%;
    border: 2px solid rgba(247, 71, 128, .11);
    border-radius: 8px;
    background:
        linear-gradient(rgba(247, 71, 128, .1), rgba(247, 71, 128, .1)) 34px 58px / 130px 2px no-repeat,
        linear-gradient(rgba(247, 71, 128, .08), rgba(247, 71, 128, .08)) 34px 86px / 168px 2px no-repeat,
        linear-gradient(rgba(247, 71, 128, .08), rgba(247, 71, 128, .08)) 34px 114px / 150px 2px no-repeat;
    transform: rotate(-7deg);
}

.auth-template-section .register-form-title {
    text-align: center;
}

.auth-template-section .register-form-title p {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.auth-logo {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 34px 40px 20px;
    margin: 0;
    background: #fff;
    border-radius: 6px 6px 0 0;
}

.auth-logo::after {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 0;
    height: 1px;
    content: '';
    background: linear-gradient(90deg, transparent, rgba(247, 71, 128, .22), transparent);
}

.auth-logo img {
    width: min(285px, 80%);
    height: auto;
    display: block;
}

.auth-template-section .form-control {
    min-height: 58px;
    padding: 16px 18px;
    font-size: 16px;
}

.auth-template-section .btn.submit,
.auth-template-section .btn-google,
.auth-template-section .btn-auth-secondary {
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-template-section .btn-auth-secondary {
    margin-top: 14px;
    background: #fff !important;
    border: 1px solid #d2d2d2 !important;
    color: #111827 !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .06);
}

.auth-template-section .btn-auth-secondary:hover {
    background: #f8fafc !important;
    border-color: #111827 !important;
    color: #111827 !important;
}

.auth-template-section .action-button [class*="flaticon-"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 1;
    transform: translateY(1px);
}

.auth-template-section .action-button [class*="flaticon-"]::before {
    display: block;
    font-size: 13px;
    line-height: 16px;
}

.auth-template-section .action-button:active,
.auth-template-section .action-button.is-pressed {
    transform: translateY(1px) scale(.96) !important;
}

.auth-link-line {
    margin: -8px 0 20px;
    text-align: right;
    font-weight: 700;
}

.auth-link-line a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--theme-color);
    text-decoration: none;
}

.auth-link-line [class*="flaticon-"]::before {
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 767px) {
    .auth-template-section {
        min-height: 100vh;
        align-items: stretch;
        background: #111827 !important;
    }

    .auth-template-section .container-fluid,
    .auth-split-row {
        min-height: 100vh;
    }

    .auth-split-row {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 32px 0;
        background: transparent;
    }

    .auth-split-row > .col-md-6:first-child {
        position: absolute;
        inset: 0;
        width: 100%;
        max-width: none;
        flex: none;
    }

    .auth-split-row > .col-md-6:last-child {
        min-height: auto;
        width: 100%;
        background: transparent;
    }

    .auth-split-row > .col-md-6:last-child::before,
    .auth-split-row > .col-md-6:last-child::after {
        display: none;
    }

    .auth-form-stack {
        position: relative;
        z-index: 2;
        width: min(90%, 520px);
        margin: 0 auto;
        transform: none;
        box-shadow: 0 24px 70px rgba(17, 24, 39, .22);
    }

    .auth-split-media {
        width: 100%;
        height: 100%;
        min-height: 100vh;
    }

    .auth-template-section .register-page-form {
        width: 100%;
        margin: 0;
        padding: 22px 22px 32px !important;
        background: #fff !important;
        border-radius: 0 !important;
        box-shadow: none;
    }

    .auth-logo {
        padding: 28px 22px 6px;
        margin: 0;
    }

    .auth-logo img {
        width: min(210px, 76%);
    }
}
