/* RTL Auth */
.gn-auth-popup-close {
    right: auto;
    left: 12px;
}

.gn-auth-form .gn-field-role label::before {
    right: auto;
    left: 20px;
}

.gn-auth-form .gn-field-role label::after {
    right: auto;
    left: 26px;
}


.gn-archive-search-wrapper .gn-search .gn-search-input {
    padding-right: 42px !important;
    padding-left: 14px !important;
}

.gn-archive-search-wrapper .gn-search .gn-search-icon[type=submit] {
    right: 14px;
    left: auto;
}

.gn-range-display .gn-range-max .gn-label {
    text-align: left;
}

.gn-archive-sort-wrapper .gn-archive-sort {
    margin-left: 0;
    margin-right: auto;
}

.gn-archive-sort .gn-select2-dropdown.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 0;
    padding-left: 30px;
}

.gn-archive-sort .gn-select2-dropdown.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: auto;
    left: 0;
}

body:has(.gn-archive-sort .gn-select2-dropdown.select2-container--open) .gn-select2-dropdown.select2-container .select2-dropdown {
    margin-left: 0;
    margin-right: -50px;
}

.gn-service-card>.gn-head .gn-save-btn {
    right: auto;
    left: 12px;
}

.gn-service-card .gn-footer .gn-actions {
    margin-left: 0;
    margin-right: auto;
}

.gn-service-plan-details .gn-pricing-area {
    text-align: left;
}

.gn-service-delivery-type .gn-delivery-type-both .gn-form-field .gn-radio label {
    padding-left: 16px;
    padding-right: 44px;
}

.gn-service-delivery-type .gn-delivery-type-both .gn-form-field .gn-radio>label::after {
    left: auto;
    right: 16px;
}

.gn-service-delivery-type .gn-delivery-type-both .gn-form-field .gn-radio:has(input[type="radio"]:checked)>label::before {
    left: auto;
    right: 21px;
}

.gn-pricing-section .gn-form-fields .gn-service-location .gn-form-field .gn-radio label {
    padding-left: 0;
    padding-right: 30px;
}

.gn-pricing-section .gn-service-location .gn-radio:has(input[type="radio"]:checked)>label::before,
.gn-pricing-section .gn-service-location .gn-radio>label:before {
    left: auto;
    right: 0;
}

.gn-attachments-section .gn-attachment-list .gn-btn-download {
    margin-left: 0;
    margin-right: auto;
}

.gn-locations-section .gn-head .gn-type {
    margin-left: 0;
    margin-right: auto;
}

.gn-service-single .gn-body .gn-table-comparison .gn-table thead tr>th:first-child {
    text-align: right;
}

.gn-service-single .gn-body .gn-table-comparison .gn-table tbody tr>td:not(:last-child), .gn-service-single .gn-body .gn-table-comparison .gn-table thead tr>th:not(:last-child) {
    border-right: 0;
    border-left: 1px solid rgb(var(--gigneo-grey-color));
}

.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:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: var(--gigneo-border-radius-lg);
}

.gn-reviews-summary .gn-reviews-overall-stars .gn-overall-value {
    margin-left: 0;
    margin-right: 2px;
}

.gn-reviews-summary .gn-reviews-overall-stars .gn-overall-count {
    margin-left: 0;
    margin-right: 2px;
}

.gn-reviews-summary .gn-star-label {
    padding-right: 0;
    padding-left: 6px;
}

.gn-hire-job-form > .gn-main > .gn-apply-footer .gn-btn {
    margin-left: 0;
    margin-right: auto;
}

.gn-employer-card .gn-stats-wrapper .gn-stat ~ .gn-stat {
    border-left: 0;
    border-right: 1px solid rgb(var(--gigneo-grey-color));
}

.gn-employer-card .gn-cover-wrapper .gn-save-btn {
    right: auto;
    left: 12px;
}

.gn-employer-card .gn-body .gn-info-wrapper .gn-name-wrapper .gn-rating {
    margin-left: 0;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gn-employer-card .gn-body .gn-avatar:before {
    left: auto;
    right: 2px;
}

.gn-freelancer-card .gn-cover-wrapper .gn-save-btn {
    right: auto;
    left: 12px;
}

.gn-freelancer-card .gn-body .gn-info-wrapper .gn-name-wrapper .gn-rating {
    margin-left: 0;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gn-freelancer-card .gn-stats-wrapper .gn-stat~.gn-stat {
    border-left: 0;
    border-right: 1px solid rgb(var(--gigneo-grey-color));
}

.gn-service-card .gn-media > .gn-save-btn {
    right: auto;
    left: 12px;
}

.gn-archive-filters > .gn-head .gn-btn {
    margin-left: 0;
    margin-right: auto;
}

.gn-map-radius-wrapper:has(.gn-radius-value) .gn-field-label {
    padding-right: 0;
    padding-left: 50px;
}

.gn-map-radius-wrapper .gn-radius-value {
    right: auto;
    left: 0;
}

.gn-map-container .gm-style-mtc-bbw .gm-style-mtc:last-child button {
    border-left: 1px solid rgb(var(--gigneo-grey-color)) !important;
    border-right: 0 !important;
    border-radius: var(--gigneo-border-radius-lg) 0 0 var(--gigneo-border-radius-lg) !important;
}

.gn-map-container .gm-style-mtc-bbw .gm-style-mtc:first-child button {
    border-radius: 0 var(--gigneo-border-radius-lg) var(--gigneo-border-radius-lg) 0 !important;
}

.gn-auth-input-wrapper input.gn-input-invalid,
.gn-auth-input-wrapper input.gn-input-success,
.gn-auth-input-wrapper input.gn-loading{
    padding-right: 14px;
    padding-left: 30px;
}

.gn-auth-input-wrapper:has(input.gn-input-success)::before {
    right: auto;
    left: 16px;
}

.gn-auth-input-wrapper:has(input.gn-loading)::before {
    right: auto;
    left: 16px;
}

@media (min-width: 441px) {
    .gn-hire-service-info .gn-info-wrapper .gn-pricing,
    .gn-service-card .gn-content .gn-price {
        text-align: left;
    }
}

@media (max-width: 767px) {
    

    .gn-auth-input-wrapper input.gn-input-invalid,
    .gn-auth-input-wrapper input.gn-input-success,
    .gn-auth-input-wrapper input.gn-loading{
        padding-right: 16px;
    }

    .gn-filter-dropdown-container .gn-filter-dropdown>.gn-body .gn-form-fields .gn-form-field .gn-checkbox label:after {
        left: 0;
        right: auto;
    }

    .gn-filter-dropdown-container .gn-filter-dropdown .gn-radio label {
        padding-left: 25px;
        padding-right: 0;
    }

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

    .gn-filter-dropdown-container .gn-filter-dropdown .gn-radio:has(input[type="radio"])>label::after {
        left: 0;
        right: auto;
    }
}

@media (min-width: 768px) {
    .gn-archive-search-wrapper .gn-search .gn-search-input {
        padding-left: 16px !important;
    }

    .gn-filters-actions {
        margin-left: 0;
        margin-right: auto;
    }

    .gn-filter-dropdown-container .gn-filter-dropdown {
        left: auto;
        right: 0;
    }

    .gn-filter-dropdown-container:nth-last-child(-n+2) .gn-filter-dropdown {
        left: 0;
        right: auto;
    }
}

@media (min-width: 1200px) {

    .gn-services-section .gn-service-list .gn-service-card .gn-media .gn-service-media {
        border-radius: 0 var(--gigneo-border-radius-lg) var(--gigneo-border-radius-lg) 0;
    }
    .gn-services-section .gn-service-list .gn-service-card .gn-media .gn-service-media img {
        border-radius: 0 var(--gigneo-border-radius-lg) var(--gigneo-border-radius-lg) 0;
    }
}