﻿/* Report Page */
.text-en {
    font-family: sans-serif;
}

.ltr-form {
    direction: ltr;
}

.reports-page .card-header {
    border-top-right-radius: 9px;
    border-top-left-radius: 9px;
}

    .reports-page .card-header::before {
        background: white;
    }

.reports-page h5.credit {
    border-bottom: 0px;
    font-family: sans-serif;
}

.select2-ltr .select2-search__field {
    direction: ltr;
    text-align: left;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    list-style-type: none;
    padding-right: 0;
}
/* Add Order Page */
.platforms {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    background: #F5F8FA;
    /* backdrop-filter: blur(30px); */
    border-radius: 15px;
    border: 0;
    box-shadow: none;
}


    .platforms .well {
        padding: 8px 12px;
        margin-bottom: 10px;
    }

    .platforms .btn.btn-primary {
        width: 100%;
        border-radius: 10px;
        height: 53px;
        padding-top: 0;
        padding-bottom: 0;
        line-height: 53px;
    }

    .platforms .btn.btn-primary {
        height: 45px;
        line-height: 45px;
        font-size: 16px;
    }

    .platforms .media.brand-category {
        display: flex;
        align-items: center;
        margin-bottom: 5px;
        background: #fff;
        border: #fff;
    }

        .platforms .media.brand-category .icon {
            margin-left: 10px;
            color: var(--bs-warning);
            font-size: 18px;
            pointer-events: none;
        }

        .platforms .media.brand-category:hover {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
            background: #ffbd0038;
            border: #ff6c2f;
        }

            .platforms .media.brand-category:hover .icon {
                margin-left: 10px;
                color: #550088;
                font-size: 18px;
                pointer-events: none;
            }

        .platforms .media.brand-category .cat-name {
            color: #131325;
            font-weight: 500;
            pointer-events: none;
        }

.was-validated .choices.is-invalid .choices__inner {
    border-color: var(--bs-form-invalid-border-color);
    padding-left: 5.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef5f5f'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef5f5f' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left calc(0.375em + 1.7rem) center;
    background-size: calc(0.75em + 0.5rem) calc(0.75em + 0.5rem);
}

.choices.is-invalid {
    margin-bottom: 0;
}

.was-validated .choices.is-valid .choices__inner {
    border-color: var(--bs-form-valid-border-color);
    padding-left: calc(1.5em + 1rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2322c55e' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left calc(0.375em + 1.7rem) center;
    background-size: calc(0.75em + 0.5rem) calc(0.75em + 0.5rem);
}


/* Add Service Page */
.repeater-default > div > .repeater-item-custom:not(:first-child) {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 30px;
}


/* DataTable Customizations */
/* Force right-to-left layout for the entire DataTables wrapper */
.dataTables_wrapper {
    direction: rtl;
    text-align: right;
    margin-top: 30px;
}

    /* Align table headers and data cells to the right */
    .dataTables_wrapper thead th,
    .dataTables_wrapper tbody td {
        text-align: right;
    }

    .dataTables_wrapper .dataTables_length {
        float: left;
        margin-bottom: 10px;
    }

        .dataTables_wrapper .dataTables_length select {
            margin: auto 10px;
            text-align: right;
            direction: rtl;
            border-radius: 10px;
            padding: 3px;
        }

    .dataTables_wrapper thead tr th {
        border-top: 1px solid rgba(0, 0, 0, 0.3);
        border-collapse: collapse;
    }

        .dataTables_wrapper thead tr th:first-child {
            border-right: 1px solid rgba(0, 0, 0, 0.3) !important;
        }

        .dataTables_wrapper thead tr th:last-child {
            border-left: 1px solid rgba(0, 0, 0, 0.3) !important;
        }
    /* Move search box and pagination controls to the left */
    .dataTables_wrapper .dataTables_filter {
        float: left !important;
    }

    /* Fix dropdown menu alignment */
    .dataTables_wrapper .dataTables_length label {
        text-align: right;
        direction: rtl;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    /* Ensure DataTable rows are fully right-aligned */
    .dataTables_wrapper tbody tr {
        text-align: right;
    }

    /* Fix column resizing issues */
    .dataTables_wrapper table.dataTable {
        width: 100% !important;
    }

        /* Ensure table headers are right-aligned */
        .dataTables_wrapper table.dataTable thead th {
            position: relative;
            text-align: right !important; /* Ensures text remains on the right */
            padding-right: 0 !important; /* Remove extra padding on right */
            padding-right: 10px !important; /* Add space on the left for sorting icons */
        }

            /* Move sorting arrows to the left */
            .dataTables_wrapper table.dataTable thead th.sorting::before,
            .dataTables_wrapper table.dataTable thead th.sorting_asc::before,
            .dataTables_wrapper table.dataTable thead th.sorting_desc::before,
            .dataTables_wrapper table.dataTable thead th.sorting_asc_disabled::before,
            .dataTables_wrapper table.dataTable thead th.sorting_desc_disabled::before {
                content: "▲"; /* Up arrow */
                position: absolute;
                left: 5px !important; /* Move to the left */
                right: auto !important;
                bottom: 50% !important; /* Adjust vertical alignment */
                font-size: 11px;
            }

            /* Move descending arrow to the left */
            .dataTables_wrapper table.dataTable thead th.sorting::after,
            .dataTables_wrapper table.dataTable thead th.sorting_asc::after,
            .dataTables_wrapper table.dataTable thead th.sorting_desc::after,
            .dataTables_wrapper table.dataTable thead th.sorting_asc_disabled::after,
            .dataTables_wrapper table.dataTable thead th.sorting_desc_disabled::after {
                content: "▼"; /* Down arrow */
                position: absolute;
                left: 5px !important; /* Move to the left */
                right: auto !important;
                top: 50% !important; /* Adjust vertical alignment */
                font-size: 11px;
            }


    .dataTables_wrapper .dataTables_paginate {
        float: right !important;
        float: right !important;
        border: 1px solid #ccc;
        border-radius: 10px;
        margin-top: 10px;
        padding-top: 0;
    }
        /* Reverse pagination buttons */
        .dataTables_wrapper .dataTables_paginate .paginate_button {
            float: right !important;
            margin: 0;
            border: none;
        }

            .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
                background: none;
                color: var(--bs-link-hover-color) !important;
                border: none;
            }

            .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
            .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
                color: var(--bs-gray-300) !important;
            }

            .dataTables_wrapper .dataTables_paginate .paginate_button.current,
            .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
                background-color: #ff6c2f !important;
                color: #ffffff !important;
                border-color: #ff6c2f;
                font-weight: 500;
            }

    /* Limit the cell itself */
    .dataTables_wrapper .col-date {
        max-width: 100px !important;
        white-space: pre-wrap;
    }

    .dataTables_wrapper .col-status {
        max-width: 100px !important;
        white-space: pre-wrap;
    }

    .dataTables_wrapper .col-price {
        max-width: 50px !important;
        white-space: pre-wrap;
    }

    .dataTables_wrapper .col-service {
        max-width: 150px !important;
        white-space: pre-wrap;
    }

    .dataTables_wrapper .col-id {
        max-width: 50px !important;
        white-space: pre-wrap;
    }

.irfollower {
    background: #26B6FF;
}

    .irfollower a, .main-nav .irfollower .menu-arrow::after, .irfollower iconify-icon {
        color: white !important;
    }

.instaplus {
    background: #d82aad;
}

    .instaplus a, .main-nav .instaplus .menu-arrow::after, .instaplus iconify-icon {
        color: white !important;
    }

.bg-discount {
    background-color: #fcfcfc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none !important;
}

.choices__list.choices__list--dropdown {
    z-index: 200;
}



/* Static pages style */
body.static-page {
    background: linear-gradient(to bottom right, #ffffff, #f3f3f3);
    min-height: 100vh;
}

.static-page .glass-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.static-page .login-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.static-page .google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: #444;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.static-page .telegram-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    margin: 0 auto;
    max-width: 320px;
}

    .static-page .telegram-support img {
        width: 20px;
        height: 20px;
    }

.static-page form {
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
}

.static-page input {
    direction: ltr;
    text-align: left;
}

.static-page .google-login img {
    width: 20px;
    height: 20px;
}

.static-page .google-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.static-page .logo {
    max-width: 230px;
    margin: 0 auto 16px;
    display: block;
}

.static-page input::placeholder {
    text-align: right;
}

.static-page .login-form {
    padding: 3rem;
}

.static-page .p-md-5 {
    padding: 3rem !important;
}

@media (max-width: 768px) {
    .static-page .glass-box {
        max-width: 95% !important;
    }

    .static-page .login-img {
        height: 230px;
    }

    .static-page .login-form {
        padding: 2.5rem 2rem;
    }

    .static-page .logo {
        max-width: 170px;
        margin: 0 auto 20px;
    }

    .static-page .google-login {
        font-size: 15px;
        padding: 10px 14px;
    }

    .static-page input {
        font-size: 16px;
        padding: 12px;
    }

    .static-page button.btn-danger {
        font-size: 16px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .static-page .login-form {
        padding: 2rem 1.5rem;
    }

    .static-page .logo {
        max-width: 200px;
    }

    .static-page h2 {
        font-size: 22px;
    }

    .static-page .google-login {
        font-size: 14px;
        padding: 10px 12px;
    }

    .static-page input {
        font-size: 15px;
    }

    .static-page .login-phone {
        object-fit: cover;
        width: 100%;
        height: 150px;
        border-radius: 16px;
        margin-bottom: 20px;
    }
}

@media (max-height: 670px) {
    .static-page .login-phone {
        display: none !important;
    }
}


.verify-phone-popup {
    background: none;
}

    .verify-phone-popup .swal2-html-container {
        max-height: inherit !important;
    }


.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.4rem;
    color: #888;
}

.ltr-password .password-toggle {
    left: auto;
    right: 12px;
}


.password-toggle:hover {
    color: #444;
}


input.form-control.password-center::placeholder {
    text-align: center;
}