﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

#registerForm body#tinymce {
    background-color: #ffffff !important;
}

#registerForm .tox-editor-container .tox-editor-header *,
#registerForm .tox-toolbar-overlord {
    background-color: #ffffff !important;
    color: var(--dynamic-border-color) !important;
}

#registerForm .tox .tox-edit-area__iframe {
    background-color: #ffffff !important;
}

    #registerForm .tox .tox-edit-area__iframe body {
        color: #4E4E4E !important;
        font-family: 'Inter', sans-serif !important;
    }

#registerForm .tox .tox-tbtn svg {
    display: block;
    fill: var(--dynamic-border-color);
}

#registerForm .tox:not(.tox-tinymce-inline) .tox-editor-header {
    background-color: var(--dynamic-border-color);
    padding: 0px 0 !important;
}

#registerForm .tox-collection__item-icon svg {
    fill: #333 !important;
}

#registerForm .tox-tinymce {
    border: 2px solid var(--dynamic-border-color);
    border-radius: 20px;
    height: 110px;
    min-height: 59px;
}

#registerForm .tox-promotion {
    display: none;
}

label {
    margin-bottom: 0;
}

#registerForm .tox .tox-statusbar,
#registerForm .tox-statusbar__path-item,
#registerForm .tox-statusbar__wordcount {
    background-color: #fff !important;
}

/*.tox-statusbar {
display: none !important;
}*/

#registerForm .tox .tox-statusbar__text-container {
    display: none;
}

#registerForm .tox .tox-statusbar__resize-handle svg {
    fill: var(--dynamic-border-color) !important;
    height: 20px;
    background: transparent !important;
    border: none !important;
    width: 20px;
}

#sectionRegistration_ifr #tinymce {
    background-color: red !important;
}

.registration-form-section {
    background-color: #FBF2F6;
    padding: 20px 35px;
    margin: 15px 50px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    width: auto;
}

    .registration-form-section input {
        background-color: #FBF2F6;
    }

.registration-text-area .tox .tox-sidebar-wrap {
    border-top: 2px solid var(--dynamic-border-color);
}

.tox .tox-sidebar-wrap {
    border-left: none !important;
    border-right: none !important;
}

.registration-text-area {
    padding-bottom: 20px;
}

.registration-text-area-about {
    padding-bottom: 5px;
}

.registration-editing-input {
    pointer-events: auto;
    text-decoration: underline;
    text-align: left;
    font-style: italic;
}

.registration-container {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    color: #bd268f;
    gap: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.saved {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
}

    .saved img {
        width: 20px;
        height: 20px;
    }

.saving {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
}

    .saving img {
        width: 20px;
        height: 20px;
        animation: spin 1s linear infinite;
    }

.registration-inputs {
    display: flex;
    align-items: center;
    width: 100%;
}

.required-field-form {
    display: flex;
    gap: 5px;
    align-items: center;
}

.required-field {
    font-size: 13.5px;
    white-space: nowrap
}

.registration-form-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.registration-form-group {
    width: 48%;
    min-width: 380px;
}

@media (max-width: 1000px) {
    .registration-form-group {
        width: 100%;
    }

    .registration-label {
        max-width: 120px !important;
    }

    .registration-inputs {
        flex-wrap: wrap;
    }
}

.registration-add-new-field-container {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.registration-add-new-field {
    text-align: center;
    align-items: center;
    display: flex;
    gap: 5px;
    padding-top: 15px;
}

.registration-img-btn {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    max-height: 20px;
    max-width: 20px;
    border-radius: 50px;
}

.registration-img-bigger-btn {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    pointer-events: auto;
}

.registration-img-edit-btn {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    max-height: 20px;
    max-width: 20px;
    border-radius: 50px;
    pointer-events: auto;
}

    .registration-img-btn:hover, .registration-img-bigger-btn:hover, .registration-img-edit-btn:hover {
        box-shadow: 0 0 4px #BD268F;
    }

.registration-img-closed-btn {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    max-height: 20px;
    max-width: 20px;
    border-radius: 50px;
    cursor: not-allowed;
    pointer-events: none;
}

.registration-img-bigger-closed-btn {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    cursor: not-allowed;
    pointer-events: none;
}

.registration-img-edit-closed-btn {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    max-height: 20px;
    max-width: 20px;
    border-radius: 50px;
    cursor: not-allowed;
    pointer-events: none;
}

.registration-input-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    width: calc(72% - 12px);
}

.registration-input-log-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    width: calc(88% - 12px);
}

/*togle*/
.toggle-container {
    display: flex;
    gap: 5px;
    align-items: center;
    width: 100%;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 22px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #858585;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

    .slider:hover {
        box-shadow: 0 0 4px #BD268F;
    }

input:checked + .slider {
    background-color: #BD268F;
}

    input:checked + .slider:before {
        -webkit-transform: translateX(24px);
        -ms-transform: translateX(24px);
        transform: translateX(24px);
    }

input[type="checkbox"] {
    min-width: 20px;
    min-height: 20px;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }


.registration-label-edit {
    font-size: 13.5px;
    font-weight: 800;
    border: none;
    background: transparent !important;
    color: #bd268f;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: initial;
    font-style: normal;
    box-sizing: border-box;
}

.registration-prop-edit {
    font-size: 13.5px;
    border: none;
    background: transparent !important;
    color: #bd268f;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: initial;
    font-style: normal;
    box-sizing: border-box;
}

.registration-form-control {
    border-radius: 20px;
    border: solid 2px;
    background: transparent;
    pointer-events: none;
    height: 44px;
    width: 72%;
    margin-right: 10px;
}

.registration-radio-btn-closed {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #858585;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: not-allowed;
    pointer-events: none;
}

    .registration-radio-btn-closed:checked::before {
        content: "\2714";
        color: #ffffff;
        background-color: #858585;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.registration-radio-btn {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #BD268F;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .registration-radio-btn:checked::before {
        content: "\2714";
        color: #ffffff;
        background-color: #BD268F;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .registration-radio-btn:hover {
        box-shadow: 0 0 4px #BD268F;
    }

.confirm-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.confirm-popup {
    background: #fff;
    border-radius: 20px 30px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 0 4px #BD268F;
}

    .confirm-popup p {
        margin: 0;
        font-size: 16px;
        color: #BD268F;
    }

.confirm-buttons {
    display: flex;
    justify-content: space-between;
}

.confirm-yes {
    height: 38px;
    padding: 5px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    background-color: #BD268F;
    color: #fff;
}

    .confirm-yes:hover, .confirm-no:hover {
        box-shadow: 0 0 4px #BD268F;
        color: #fff !important;
    }

.confirm-no {
    height: 38px;
    padding: 5px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    background-color: #FC75E2;
    color: #fff;
}

.registration-include-title {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
}

.registration-form-title-container {
    font-size: 22px;
    font-weight: 800;
    border: none;
    background: transparent !important;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: initial;
    font-style: normal;
    box-sizing: border-box;
    width: 100%;
}

.registration-form-btn-container {
    border: none;
    color: #ffffff !important;
    width: 100%;
    font-size: 18px;
    border-radius: 38px;
    padding: 20px;
    height: 50px;
    text-transform: uppercase !important;
    font-weight: bold !important;
    text-align: center;
}

.registration-form-btn-name {
    display: flex;
    gap: 5px;
    align-items: center;
}

.registration-form-input {
    font-size: 13.5px !important;
}

.edit-registration-photo-btn {
    display: block;
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 0;
    z-index: 10;
    pointer-events: auto;
}

.edit-registration-photo-btn-none {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 0;
}

.delete-registration-photo-btn {
    display: block;
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 0;
    z-index: 10;
    pointer-events: auto;
}

.delete-registration-photo-btn-none {
    display: none;
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 0;
}
