
.gn-auth-input-wrapper:has(.gn-password-revealed) input {
    padding-right: 14px !important;
    padding-left: 40px !important;
}

.gn-form-field .gn-password-revealed {
    right: auto;
    left: 14px;
}

.gn-form-field-checkbox label {
    padding-left: 0;
    padding-right: 26px;
}

.gn-form-field-checkbox label::before {
    left: auto;
    right: 0;
}

.gn-form-field-checkbox label::after {
    left: auto;
    right: 0;
}

.gn-select:before {
    right: auto;
    left: 16px;
}

.gn-select2-dropdown.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 14px;
    padding-left: 44px;
}

.gn-select2-dropdown.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: auto;
    left: 12px;
}

.gn-checkbox label:after {
    left: auto;
    right: 0;
}

.gn-nouislider .noUi-target {
    margin-right: 0;
    margin-left: 10px;
}

.gn-radio>label::after {
    left: auto;
    right: 0;
}

.gn-radio:has(input[type="radio"]:checked)>label::before {
    left: auto;
    right: 5px;
}

.gn-switch .gn-radio::after,
.gn-switch .gn-checkbox::after {
    left: auto;
    right: 2px;
}

.gn-switch .gn-radio:has(input[type="radio"]:checked)::after,
.gn-switch .gn-checkbox:has(input[type="checkbox"]:checked)::after {
    left: auto;
    right: 18px;
}

.gigneo-sweetalert2-toast.swal2-toast .swal2-icon {
    margin: 0 0 0 .5em;
}

.gn-avatar.gn-online:before,
.gn-avatar.gn-offline:before {
    left: auto;
    right: 2px;
}

.gigneo-sweetalert2-toast.swal2-icon-info:before,
.gigneo-sweetalert2-toast.swal2-icon-error:before {
    left: auto;
    right: -45px;
}

.gn-table thead:first-child tr:first-child th{
    text-align: right;
}

.gn-table thead:first-child tr:first-child th:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: var(--gigneo-border-radius-lg);
}

.gn-table tbody tr:last-child>td:first-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: var(--gigneo-border-radius-lg);
}

.gn-table thead:first-child tr:first-child th:last-child {
    border-top-right-radius: 0;
    border-top-left-radius: var(--gigneo-border-radius-lg);
}

.gn-table tbody tr:last-child>td:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: var(--gigneo-border-radius-lg);
}

.gn-dropdown-content.gn-enter-top {
    left: 0;
    right: auto;
}

.gn-datepicker .flatpickr-input {
    text-align: right;
}

.gn-link.gn-link-primary:after {
    left: auto;
    right: 0;
}

.gn-switch.gn-loading:has(input[type="checkbox"])::after {
    left: auto;
    right: 2px;
}

.gn-switch.gn-loading:has(input[type="checkbox"]:checked)::after {
    left: auto;
    right: 18px;
}

.gn-user-menu-dropdown .gn-switch-role-title {
    text-align: right;
}

.gn-notification-dropdown .gn-head,
.gn-chat-dropdown .gn-head {
    text-align: right;
}


.swal2-popup.swal2-toast .swal2-icon {
    margin-right: 0 !important;
    margin-left: 8px !important;
}

.swal2-toast.gigneo-sweetalert2-toast.swal2-icon-success {
    background: linear-gradient(to left, #f6fffa 30%, #ffffff 70%) !important;
}

.gn-notification-dropdown .gn-notification-item .gn-body p,
.gn-chat .gn-body p {
    text-align: right;
}

.gn-user-notifications .gn-icon>.gn-count {
    left: -3px;
    right: auto;
}

.gn-notification-dropdown .gn-notification-item .gn-body:before  {
    left: 8px;
    right: auto;
}

.gn-notification-dropdown .gn-notification-item .gn-date {
    text-align: right;
}

.gn-user-menu-dropdown {
    right: auto;
    left: 0;
}

.gn-modal-content .gn-modal-close {
    right: auto;
    left: 16px;
}

.gn-modal-header:has(.gn-modal-close) {
    padding-right: 16px;
    padding-left: 48px;
}

.gn-plupload .gn-plupload-drop-area .gn-action-info {
    text-align: right;
}

.gn-wysiwyg-editor-two .mce-tinymce .mce-top-part.mce-first {
    right: auto;
    left: 0;
}

.gn-form-fields .gn-form-field .gn-radio>label, .gn-radio>label {
    padding-left: 0;
    padding-right: 25px;
}


.gn-dashboard-layout-1.gn-dashboard-top-menu .gn-user-notification .gn-notification-dropdown,
.gn-dashboard-layout-2.gn-dashboard-top-menu .gn-user-notification .gn-notification-dropdown {
    margin-right: 0;
    right: auto;
    left: 0;
    margin-left: -48px;
}

.gn-user-notification .gn-notification-dropdown, .gn-user-chat .gn-chat-dropdown {
    right: auto;
    left: 0;
}

.gn-action-menu-wrapper:has(.gn-user-action-menu) .gn-user-notifications .gn-notification-dropdown {
    right: auto;
    left: 0;
}

.gn-pre :where(ul, ol) {
    padding-right: 18px;
    padding-left: 0;
}

.gn-form-fields .gn-form-field .gn-map-address-wrapper>input, .gn-map-address-wrapper>input {
    padding-left: 40px;
    padding-right: 14px;
}

.gn-map-address-wrapper .gn-current-location {
    left: 12px;
    right: auto;
}

.gn-form-fields .gn-form-field .gn-map-address-wrapper:has(.gn-loading-location-result):after {
    left: 14px;
    right: auto;
}

.gn-private-note-body .gn-slick-slider .slick-dots {
    left: auto;
    right: 12px;
}

.gn-user-chat .gn-chat-dropdown {
    left: -50px;
}

@media(min-width: 481px) {
    .gn-user-notification .gn-notification-dropdown,
    .gn-user-chat .gn-chat-dropdown {
        right: auto;
        left: 0;
    }
    .gn-dashboard-layout-1.gn-dashboard-top-menu .gn-user-notification .gn-notification-dropdown,
    .gn-dashboard-layout-2.gn-dashboard-top-menu .gn-user-notification .gn-notification-dropdown {
        margin-left: 0;
    }

    .gn-action-menu-wrapper:has(.gn-user-action-menu) .gn-user-notifications .gn-notification-dropdown {
        right: auto;
        left: 0;
    }
}

@media(min-width: 768px) {
    .gn-form-fields .gn-form-field .gn-map-address-wrapper>input, .gn-map-address-wrapper>input {
        padding-right: 16px;
    }
    
    .gn-auth-input-wrapper:has(.gn-password-revealed) input {
        padding-right: 16px !important;
    }
    .gn-select2-dropdown.select2-container--default .select2-selection--single .select2-selection__rendered {
        padding-right: 16px;
        padding-left: 34px;
    }
}
