/*!
 * Theme Name: Default
 * Package : DashLite
 * Author: Softnio
 * Author URI: http://themeforest.net/user/softnio
 * Version	 :	1.0.0
 * Updated	 :	07.23.2020
**/


/* TEXTAREA LINE NUMBERS :start */
.form-control-wrap {
    position: relative;
}

.code-editor {
    position: relative;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    /* background: #f8f9fa; */
    /* font-family: 'Courier New', monospace; */
    /* overflow: hidden; */
    overflow-x: auto;
}

.dark-mode .code-editor {
    border: 1px solid #3B526F;
}

.line-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    background: #e9ecef;
    border-right: 1px solid #ced4da;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    padding: 8px 4px;
    text-align: right;
    user-select: none;
    overflow: hidden;
    white-space: pre;
    overflow-x: auto;
}

.dark-mode .line-numbers {
    background: #1c1c29;
    border-right: 1px solid #1c1c29;
    color: #dcdcdc;
}

.code-textarea {
    width: 100%;
    height: 100px;
    border: none;
    outline: none;
    resize: vertical;
    padding: 8px 8px 8px 60px;
    /* font-family: 'Courier New', monospace; */
    font-size: 14px;
    line-height: 1.5;
    background: transparent;
    margin: 0;
    white-space: nowrap;
    overflow-x: auto;
}

.dark-mode .code-textarea {
    color: #dcdcdc;
}

.code-textarea:focus {
    box-shadow: none;
}

.code-editor:focus-within {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
/* TEXTAREA LINE NUMBERS :end */

    /* Right-align DataTable pagination */
    div.dt-container div.dt-paging ul.pagination {
        justify-content: flex-end !important;
    }

    /* Ensure it stays right-aligned on all screen sizes */
    @media (max-width: 768px) {
        div.dt-container div.dt-paging ul.pagination {
            justify-content: flex-end !important;
        }
    }

    @media (max-width: 575px) {
        div.dt-container div.dt-paging ul.pagination {
            justify-content: flex-end !important;
        }
    }
