@import "../../variables";
.redux-templates-modal-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: $modalBack;
    box-shadow: 0 0 45px 10px rgba(3, 8, 15, 0.2);
    //border-radius: 5px;
    animation: components-modal__appear-animation 0.1s ease-out;
    animation-fill-mode: forwards;
}

.redux-templates-share {
    padding: 20px;
    width: 660px;
    height: 290px;
    .panel {
        display: flex;
        .redux-templates-block-preview-hover {
            position: absolute;
            z-index: 9;
            cursor: default;
            height: 100%;
            background: transparent;
            right: 0;
            bottom: 0;
            left: 0;
            top: 0;
        }
        .preview-panel {
            width: 300px;
            height: 250px;
            overflow-y: auto;
            overflow-x: hidden;
            cursor: default;
            background: #fff;
            position: relative;
            margin: 0 0 0 20px;
            outline: 3px solid transparent;
            -webkit-transition: outline 0.3s ease-in-out;
            transition: outline 0.3s ease-in-out;
            -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
            box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
            border-radius: 3px;

        }
    }
    input[type="text"]:focus {
        box-shadow: none;
    }
    .field {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }

    .spinner-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
.redux-templates-share-modal-wrapper {
    display: flex;
    flex-direction: column;
    background: #fff;
    .redux-templates-modal-header {
        border-bottom: 1px solid #ddd;
        width: 100%;
        flex: 0 0 60px;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;

        h3 {
            margin: 0;
            font-size: 1.2rem;
        }

        button {
            border: none;
            cursor: pointer;
        }

        .redux-templates-modal-close {
            font-size: 20px;
            background: transparent;
            color: #9b9b9b;
        }

    }
}
