
/* #region BASE */

.editor-panel {
    position: fixed;
    top: 120px;
    bottom: 120px;
    left: 10%;
    right: 10%;
    /*
    left: 300px;
    right: 300px;
    */
    background-color: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-radius: 15px;
    border: 1px solid rgb(60, 60, 60);
    overflow-y: auto;
}

/* #endregion */

/* #region HEADER */

.editor-panel .header {
    border-bottom: 1px solid rgb(60, 60, 60);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-panel .header .title-box {
    display: flex;
    align-items: center;
    padding: 30px;
}

.editor-panel .header .title-box h2 {
    margin: 0;
}

.editor-panel .header .close-box {
    display: flex;
    align-items: center;
    padding: 30px;
}

.editor-panel .header .close-box img {
    width: 35px;
    cursor: pointer;
    transition: 0.3s ease;
}

.editor-panel .header .close-box img:hover {
    background-color: rgb(50, 50, 50);
    border-radius: 10px;
}

/* #endregion */

/* #region PREVIEW */

.editor-panel .preview {
    border-bottom: 1px solid rgb(60, 60, 60);
    height: 120px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.editor-panel .preview .image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    width: 120px;
}

.editor-panel .preview .image-box img {
    border-radius: 10px;
    object-fit: cover;
    width: 60px;
    height: 60px;
}

.editor-panel .preview .title-box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.editor-panel .preview .title-box h3 {
    margin: 0;
}

.editor-panel .preview .title-box span {
    margin: 0;
    color: var(--light-text);
}

/* #endregion */

/* #region GROUP SELECTOR */

.editor-panel .group-selector {
    border-bottom: 1px solid rgb(60, 60, 60);
    height: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 30px;
}

.editor-panel .group-selector span {
    margin-right: 15px;
    background-color: rgb(50, 50, 50);
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-color);
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}

.editor-panel .group-selector .selected {
    background-color: var(--primary-color);
}

.editor-panel .group-selector h3 {
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 16px;
    margin: 0;
}

/* #endregion */

/* #region INPUT */

.editor-panel .input {
    border-bottom: 1px solid rgb(60, 60, 60);
    display: flex;
    align-items: center;

    justify-content: space-between;
}

.editor-panel .input img {
    width: 40px;
    height: 40px;
    margin-left: 30px;
    border-radius: 5px;
    object-fit: cover;
}

    .editor-panel .input .wrapper {
        background-color: transparent;
        border: 1px solid var(--border-color);
        color: var(--text-color);
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
        cursor: pointer;
        font-family: "Poppins", sans-serif;
        font-size: 0.9rem;
        margin: 10px;
        width: 100%;
        display: flex;
        
        height: auto;
        min-height: 50px;
    }
    
.editor-panel .input .wrapper:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.editor-panel .input input {
    border: none;
    outline: none;
    background: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    width: 100%;
    text-align: center;
}











.editor-panel .input textarea {
    border: none;
    outline: none;
    background: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    text-align: center;

    max-width: 500px;
    min-width: 100%;
    min-height: 50px;
    text-align: left;
    padding: 10px;
}

/* #endregion */

/* #region FOOTER */

.editor-panel .footer {
    height: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 30px;
}

.editor-panel .footer span {
    margin-right: 15px;
    background-color: rgb(50, 50, 50);
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-color);
    font-size: 12px;
    cursor: pointer;
    width: 50%;
    text-align: center;
    transition: 0.3s ease;
}

.editor-panel .footer .highlighted {
    background-color: var(--primary-color);
}

.editor-panel .footer .loading {
    background-color: var(--warning-color);
}

.editor-panel .footer .success {
    background-color: var(--success-color);
}

.editor-panel .footer .error {
    background-color: var(--error-color);
}

/* #endregion */

/* #region MOBILE */

@media (max-width:9767px) { /*767*/

    .editor-panel .group-selector {
        height: auto;
        display: block;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 5px;
        padding-top: 5px;
    }

    .editor-panel .group-selector span {
        display: inline-block;
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (min-width:9768px) {

    .editor-panel .group-selector {
        height: auto;
        display: flex;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 5px;
        padding-top: 5px;
        height: 70px;
        overflow-x: auto;
        width: max-content;
        overflow-y: hidden;
        width: 100%;
    }

    .editor-panel .group-selector h3 {
        display: inline-block;
        min-width: fit-content;
    }

    .editor-panel .group-selector span {
        display: inline-block;
        min-width: fit-content;
    }
}

/* #endregion */
