@font-face {
    font-family: 'Sora-Medium';
    src: url('../fonts/Sora-Medium.eot');
    src: url('../fonts/Sora-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Sora-Medium.woff2') format('woff2'),
        url('../fonts/Sora-Medium.woff') format('woff'),
        url('../fonts/Sora-Medium.ttf') format('truetype'),
        url('../fonts/Sora-Medium.svg#Sora-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body:has(.main-login-style) .notice {
    display: none !important;
}

.edit-box-color {
	padding: 10px;
}

.formBgWrapper.hide {
	display: none;
}

.loginBgWrapper.hide {
	display: none;
}

body .wplc-template-grid label {
    transition: box-shadow .2s ease, transform .05s ease
}

body .wplc-template-grid label:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08)
}

body .wplc-template-grid input[type=radio] {
    margin-right: 6px
}

.wplc-template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
}

.wplc-template-label {
    padding: 12px;
    border-radius: 6px;
    display: block;
    cursor: pointer;
}

.wplc-box {
    width: 100%;
    height: 100%;
    display: block;
    /* margin-top: 10px; */
    border-radius: 10px;
}

.wplc-color-field input[type="radio"]:checked+span {
    border: 2px solid #5469D4;
    width: 96%;
    height: 96%;
}

.wplc-color-field.custom-color-box:has(input[type="radio"]:checked) {
    border: 2px solid #5469D4;
    width: 96%;
    height: 96%;
}

.wplc-color-field input[type="radio"] {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    bottom: 0;
    margin: 0 !important;
}

.wplc-strong {
    margin-left: 8px;
}

.next_button {
    grid-column: 1 / -1;
}

.wplc-progress-vertical {
    counter-reset: wplc-step;
    margin: 12px 0 20px 0;
    display: grid;
    gap: 8px;
}

.wplc-progress-vertical .wplc-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0
}

.wplc-progress-vertical .wplc-progress-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    display: inline-block;
    position: relative
}

.wplc-progress-vertical .wplc-progress-row.is-active .wplc-progress-bullet {
    background: #4f46e5
}

.wplc-progress-vertical .wplc-progress-row.is-done .wplc-progress-bullet {
    background: #10b981
}

.wplc-progress-vertical .wplc-progress-text {
    color: #6b7280
}

.wplc-progress-vertical .wplc-progress-row.is-active .wplc-progress-text {
    color: #111827;
    font-weight: 600
}

.wplc-progress-vertical .wplc-progress-row.is-done .wplc-progress-text {
    color: #111827
}

.wplc-form {
    max-width: 900px;
}

.wplc-section-login -title {
    margin-bottom: 16px;
}

.wplc-field {
    margin-bottom: 16px;
}

.wplc-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: #000000;
    font-family: 'Sora-Medium';
    flex-shrink: 0;
}

.wplc-input {
    width: 100% !important;
    /* max-width: 900px; */
    padding: 10px;
    border: 1px solid #00000033 !important;
    background: transparent !important;
    border-radius: 8px !important;
    font-family: 'Sora-Medium';
    font-size: 10px !important;
}

.wplc-dropzone {
    width: 290px;
    height: 100px;
    border: 2px dashed #c7c7c7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    background: #fafafa;
    cursor: pointer;
    position: relative;
}

.wplc-dropzone input[type="file"] {
    display: none;
}

.wplc-file-name {
    margin-top: 8px;
    color: #6b7280;
}

.wplc-help {
    color: #6b7280;
    font-size: 13px;
}

.wplc-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.wplc-nav {
    display: flex;
    gap: 8px;
}

.wplc-form {
    max-width: 900px;
}

.wplc-section-login -title {
    margin-bottom: 16px;
}

.wplc-grid {
    display: grid;
    border: 2px dashed #00000033;
    padding: 15px;
    border-radius: 20px;
    margin-top: 20px;
    gap: 18px;
}

.wplc-alignment-options {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wplc-align-label {
    cursor: pointer;
    text-align: center;
    position: relative;
}

.wplc-align-label input {
    display: none;
    /* hide radio */
}

.wplc-align-box {
    background: #f9fafb;
    padding: 6px;
    border-radius: 6px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.wplc-align-box.active {
    background: #5469D4;
    color: #fff;
}

.wplc-align-box.active svg path{
    stroke: #fff;
}

.wplc-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wplc-divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.wplc-custom-design {
    margin-top: 8px;
}

.wplc-subtitle {
    margin: 0 0 8px;
}

.wplc-note {
    margin: 0 0 12px;
    color: #6b7280;
}

.wplc-color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.wplc-color-grid label.wplc-color-field:last-child {
    text-align: center;
    background: #D9D9D9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: relative;
    cursor: pointer;
}

.edit-box-color {
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.custom-color-box .color_field {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: auto;
    opacity:0; 
    border:none; 
    padding:0; 
    cursor: pointer;
}

.wplc-color-field span {
    font-size: 11px;
    display: block;
    line-height: 1.3;
}

.pencil-edit svg {
    width: 16px;
    height: 16px;
}

.wplc-color-field {
    display: block;
    position: relative;
    width: 100%;
    height: 75px;
    cursor: pointer;

}

#togglePassword {
    position: absolute;
    top: 57%;
    right: 20px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.eye-closed {
    display: none;
}

.wplc-mt {
    margin-top: 20px;
}

.wplc-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.wplc-card {
    display: flex;
}

.wplc-card-header {
    width: 30%;
}

.wplc-card-body {
    width: 70%;
}

.wplc-make {
    margin-top: 20px;
}

.sidebar {
    width: 530px;
    padding: 16px 8px 16px 16px;
    background: #E9EDFF;
    border: 1px solid #5469D4;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.sidebarScroll {
    height: 100%;
    overflow-y: auto;
    padding-right: 8px;
}

/* Scrollbar styling */
.sidebarScroll::-webkit-scrollbar {
    width: 8px;
    /* Scrollbar width */
}

.sidebarScroll::-webkit-scrollbar-track {
    background: #C3CDFE;
    /* Background (grey) */
    border-radius: 10px;
}

.sidebarScroll::-webkit-scrollbar-thumb {
    background: #5469D4;
    /* Scrollbar blue */
    border-radius: 10px;
}

.section-login.active::-webkit-scrollbar {
    width: 8px;
    /* Scrollbar width */
}

.section-login.active::-webkit-scrollbar-track {
    background: #C3CDFE;
    /* Background (grey) */
    border-radius: 10px;
}

.section-login.active::-webkit-scrollbar-thumb {
    background: #5469D4;
    /* Scrollbar blue */
    border-radius: 10px;
}

/* .sidebarScroll::-webkit-scrollbar-thumb:hover {
    background: #3b4fc1; 
} */


.accordion-head {
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 12px;
    cursor: pointer;
}

.accordion-head::after {
    content: '';
    background-image: url('../img/arrow-close.svg');
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 25px;
    position: absolute;
    right: 20px;
}

.accordion-head.active::after {
    background-image: url('../img/arrow-open.svg') !important;
}

.accordion-head.active {
    background: #E9EDFF;
    padding: 20px;
    position: relative;
}

.accordion-head h3 {
    font-size: 16px;
    color: #000000;
    font-family: 'Sora-Medium';
    font-weight: 500;
    margin: 0;
}

.main-accordion-row {
    margin-bottom: 18px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

.main-accordion-row.active {
    background-color: #fff;
    border: 2px dashed #5469D4;
    padding: 15px;
    border-radius: 12px;
}

.accordion-head.active h3 {
    color: #5469D4;
}

.accordion-head.active svg path {
    fill: #5469D4;
    stroke: #5469D4
}

.sidebar .templates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sidebar .color-box {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
}

.sidebar button.save-btn,
.sidebar button.back-btn {
    display: block;
    width: 100%;
    margin: 12px 0;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #3b82f6;
    color: #fff;
    font-weight: 500;
}

.sidebar ul {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 8px 0;
    font-size: 14px;
    color: #374151;
}

.section-login form {
    padding-top: 20px !important;
}

.section-login {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}


/* .section-login  {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease; 
}
  
.section-login.active {
    max-height: max-content !important;
} */

.main-preview {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #00000033;
    border-radius: 12px;
    overflow: hidden;
}

.login-box-simple {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
	box-sizing: border-box;
    /* background-color: #ffffff !important; */
}


.login-box-simple .login-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    color: #101828;
    margin-top: 0 !important;
    line-height: normal;
}

.main-login-style {
    display: flex;
    gap: 20px;
    height: 100vh;
}

.login-box-simple p {
    margin: 0;
}

.login-box-simple p input {
    width: 100%;
}

.login-box-simple p label {
    display: block;
    margin-bottom: 8px;
}

#loginform input {
    outline: none;
}

.next_button {
    margin-top: 20px;
}

.logo-text {
    color: #000;
    text-align: center;
    line-height: normal;
}

.submit-btn {
    margin-top: 20px !important;
}

.forget-password {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 10px;
}

.forget-password label {
    padding-bottom: 0;
}

.forget-password a {
    color: #1570EF;
    font-size: 16px;
    outline: none;
    border: none;
    text-decoration: none;
}

.single-field-input input {
    width: 100%;
}

.single-field-input label {
    margin: 0 !important;
    display: block;
    padding-bottom: 10px;
}

.single-field-input {
    padding-bottom: 20px;
    position: relative;
}

.wplc-back {
    margin: 0;
    padding: 20px;
}

.wplc-back a {
    font-family: 'Sora-Medium';
    color: #000000;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.toplevel_page_wplc-login-customizer {
    position: absolute;
    width: 100%;
    top: 0;
}

.toplevel_page_wplc-login-customizer .wrap {
    margin: 0;
}

.toplevel_page_wplc-login-customizer #wpcontent {
    padding: 0;
    background-color: #fff;
    margin: 0 !important;
}

.toplevel_page_wplc-login-customizer #wpbody-content {
    padding-bottom: 20px;
}

.wplc-upload-box {
    position: relative;
    border: 1px solid #00000033;
    border-radius: 12px;
    padding: 6px 0;
    /* margin-top: 20px; */
}

.wplc-toggle-text {
    color: #000;
    font-family: 'Sora-Medium';
    font-size: 14px;
    padding-left: 10px;
}

.wplc-upload-box input[type=file] {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: -1;
}

label.wplc-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
}

.wplc-upload-box span {
    font-family: 'Sora-Medium';
    color: hsl(0deg 0% 13% / 50%);
    font-size: 14px;
}

.wplc-preview {
    margin-top: 20px;
    text-align: center;
    background: #f8f9fa;
    padding: 0;
    border-radius: 6px;
    height: 100px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.wplc-preview-placeholder {
    margin: 0;
    color: #A2A2A2;
}

.wplc-preview img {
    width: 100%;
    height: 100px;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}

.wplc-preview-close {
    display: flex;
    position: absolute;
    top: -6px;
    right: -4px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    z-index: 10;
}

.next_button button {
    width: 100%;
    border-radius: 10px !important;
    background-color: #5469D4 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 5px 10px 8px !important;
    line-height: normal !important;
    transition: .2s ease-in-out;
}

.next_button button:focus {
    box-shadow: none !important;
}

.next_button button:hover {
    background-color: #E9EDFF !important;
    color: #2271b1 !important;
}

.mb0 {
    margin-bottom: 0 !important;
}

.mt0 {
    margin-top: 0 !important;
}

.color_field {
    color: #000000 !important;
}

select#input_border_style {
    border: 1px solid #00000033 !important;
    border-radius: 8px !important;
    font-family: 'Sora-Medium';
    font-size: 10px !important;
    width: 100%;
}

/* .wpbody-content {
    padding-bottom: 0 !important;
} */
.signUpRow {
    text-align: center;
    margin-top: 20px !important;
    color: #98A2B3;
    font-size: 16px;
}

.signUpRow a {
    text-decoration: none;
    color: #1570EF;
}

.wplc-back a:focus {
    box-shadow: none !important;
    outline: none !important;
}

.sidebar .wplc-input:focus {
    box-shadow: none !important;
    border-color: #2271b1 !important;
    outline: none !important;
}

.alignmentInput {
    position: absolute;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    visibility: hidden;
    opacity: 0;
    bottom: 0;
    margin: 0 !important;
}

input[type="radio"]:checked {
    background-color: red !important;
}

.wplc-field-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.alignment-grid {
    display: flex;
    gap: 30px;
    align-items: center;
}

@media (max-width:1280px) {
    .main-login-style {
        height: auto;
        flex-direction: column;
    }

    .sidebar {
        max-width: 100%;
        width: auto;
    }

    .main-preview {
        width: auto;
        padding: 50px;
        max-width: 100%;
    }
}

@media (max-width: 782px) {
    .wrap {
        margin-right: 6px;
        margin-left: 6px;
    }
}

@media (max-width: 768px) {
    .main-preview {
        padding: 30px 16px;
    }

    .login-box-simple {
        width: 100%;
        padding: 20px 20px 30px !important;
        min-height: auto !important;
    }

    .main-accordion-row,
    .accordion-head.active {
        padding: 14px;
    }
}

@media (max-width:575px) {
    .login-box-simple .login-title {
        font-size: 23px;
    }

    .submit-btn .button {
        padding: 5px 5px 7px !important;
        line-height: normal !important;
    }

    .wplc-field-row {
        flex-direction: column;
        align-items: flex-start !important;
        /* width: 100%; */
    }

    .wplc-field-row select {
        min-width: 100%;
    }

    #colorpicker {
        top: 0;
        left: 0;
        right: auto;
    }

    #colorpicker {
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
    }

    #colorpicker .w1,
    #colorpicker .w2 {
        width: 90px !important;
    }

}

@media (max-width: 375px) {
    #colorpicker {
        left: -32px !important;
        width: 220px;
    }
}

/* ======= Toast message ======== */

#toast {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 999999;
}

.toast {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    padding: 0;
    min-width: 400px;
    max-width: 450px;
    border-left: 4px solid;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.08);
    transition: all linear 0.3s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(calc(100% + 32px));
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.toast--success {
    border-color: #47d864;
}

.toast--success .toast__icon {
    color: #47d864;
}

.toast--info {
    border-color: #2f86eb;
}

.toast--info .toast__icon {
    color: #2f86eb;
}

.toast--warning {
    border-color: #ffc021;
}

.toast--warning .toast__icon {
    color: #ffc021;
}

.toast--error {
    border-color: #ff623d;
}

.toast--error .toast__icon {
    color: #ff623d;
}

.toast+.toast {
    margin-top: 24px;
}

.toast__icon {
    font-size: 24px;
}

.toast__icon,
.toast__close {
    padding: 0 16px;
}

.toast__body {
    flex-grow: 1;
}

.toast__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.toast__msg {
    font-size: 14px;
    color: #888;
    margin-top: 6px;
    line-height: 1.5;
}

.toast__close {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.topToBottom {
    align-items: flex-start;
    flex-direction: column;
}

.fieldsGroup {
    display: flex;
    width: 100%;
    gap: 10px;
}

.topToBottom.space {
    margin-top: 10px;
}

.spaceTop {
    margin-top: 10px;
}
.section-label-main form.saveLoginCustomizerForm {
    min-height: 620px;
}