@use '../abstracts/variables' as *;
@use "../mixins/breakpoints" as *;

.admin-dashboard-container {
    background-image: url("/resources/images/background_image.webp") !important;
    height: auto;
    font-family: "poppins", sans-serif;
    padding-top: 95px !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh !important;

    .admin-group-btn {
        .btn {
            @include media-max-sm {
                width: 100% !important;
            }

        }
    }

    .button-addon5 {
        margin-left: -100px;
    }

    .progress-graph {
        height: 95%;
    }

    // .total-earning-progress{
    //     @include media-max-sm{
    //         width: 100% !important;
    //     }
    //     @include media-max-xl{
    //         width: 94.5%;
    //     }

    // }
    .welcome-text {
        font-size: 14px;
    }

    .icon-data {
        margin-top: 15px;
        padding: 0rem 0.5rem;

        .admin-card {
            min-height: 170px;
        }

        .app-sales-goal {
            background-color: #ffe2e5;
        }

        .referred {
            background-color: #dcfce7;
        }

        .app-sold {
            background-color: #fff4de;
        }

        .total-sales {
            background-color: #e6e2ff;
        }

        .total-donation {
            background-color: #ffe8fe;
        }

        .total-money {
            background-color: #d7f7f9;
        }
    }

    .icon-data-card {
        margin-top: 15px;
        padding: 0px 8px;

        .admin-card {
            min-height: 80px;
        }

        .head {
            padding: 5px;
            color: white;
            font-weight: 500;
            border-radius: 12px 12px 0px 0px;
        }

        .body {
            padding: 5px 8px;
            font-size: 13px;
            font-weight: 500;
            border-radius: 0px 0px 12px 12px;

            .divider {
                width: 1px;
                height: 28px;
                background-color: #000;
            }
        }

        .app-sales-goal {
            background-color: #ffe2e5;
        }

        .referred {
            background-color: #dcfce7;
        }

        .app-sold {
            background-color: #fff4de;
        }

        .total-sales {
            background-color: #e6e2ff;
        }

        .total-donation {
            background-color: #ffe8fe;
        }

        .total-money {
            background-color: #d7f7f9;
        }
    }


    .withdraw-container {
        .nav-item {

            .nav-link {
                color: #000 !important;

            }

            .active {
                background-color: $blue-clr !important;
                color: $white !important;
            }
        }
    }


    .admin-progress-bar {
        width: 160px;
        height: 160px;
        position: relative;

        .admin-outer {
            width: 160px;
            height: 160px;
            box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15);
            padding: 20px;
            border-radius: 50%;
            background-color: white;
            position: relative;
            overflow: hidden;
            --rotation: 0deg;
            /* Default value */
            --progress-color: white;
            /* Default color */
            --progress-gradient: conic-gradient(from 0deg, transparent 0%, transparent 100%);
            /* Default gradient */
        }

        .inner {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background-color: #3b56a7;
            z-index: 2;
            position: relative;
        }

        .admin-outer::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--progress-gradient);
            border-radius: 50%;
            z-index: 1;
            transform: rotate(var(--rotation));
        }
    }


    .dashboard-icons {
        width: 35px;
        height: 35px;
    }

    .app-sold-text {
        font-weight: 500;
        color: #425166;

        @media (min-width: 320px) {
            font-size: 15px;
        }

        @media (min-width: 992px) {
            font-size: 12px !important;
        }
    }

    .data-count {
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        border-bottom-left-radius: 15px;
        padding: 22px !important;

        @include media-min-md {
            border-bottom-right-radius: 15px;
        }


        // @include media-min-xl {
        //     padding: 35px !important;
        // }

        .purple-box {
            border-bottom-left-radius: 50%;
            border-bottom-right-radius: 15px;
        }

        .admin-profile-header {
            color: #0056b3;
            font-weight: bolder;
        }

        .admin-profile-title-icon {
            width: 20px;
            height: 23px;
        }

        .admin-profile-text {
            color: #3B56A7;
            font-size: 14px;
            font-weight: 500;
        }

        .admin-profile-title {
            color: #656565;
            font-size: 14px;
            font-weight: 500;
        }

        .admin-profile-icon {
            width: 25px;
            height: 25px;
        }

        .admin-details {
            background-color: #F2F4F8 !important;
        }
    }

    .Progress-box {
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .total-cash {
        display: flex;
        justify-content: space-between;
    }

    .cash-card {
        height: 130px !important;
        border: 1px solid #EECFB7;
        align-items: center;

        @include media-min-md {
            width: 90%;
        }
    }

    .cash-icons {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .cash-card-content {
        align-items: center;
    }

    .cash-card-logo {
        margin-top: 38px;
    }

    .cash-card {
        background-color: #f0f0f0;
        height: 50%;
    }

    .image-container {
        height: 100%;
        width: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        border: 1px dotted black;
        background: #EECFB7;
    }

    .text-container {
        font-size: 12px;
        text-align: center;
    }

    .cash-icons {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .quick-btn {
        display: block;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-bottom: 6%;
    }

    .quick-btn button {
        margin-bottom: 1.3rem;
        color: $text-clr;
        background-color: #FFE4B5;
        border: none;
        border-radius: 18px;
        font-size: 12px;
        font-weight: 500;

        @include media-min-lg {
            background-color: #FFE4B5;
            font-size: 15px;
            padding: 7px;
            width: 80%;
        }
    }

    .edit-title {
        text-decoration: none;
    }

    .edit-card {
        .admin-edit-email {
            font-size: 13px;
        }

        .admin-edit-number {
            font-size: 13px;
        }
    }

    //------------ table Style -------------

    tbody,
    td,
    tfoot,
    th,
    thead,
    tr {
        border: none !important;
    }

    .custom-table {
        width: 100%;
        // border-collapse: collapse;
    }

    .custom-table tbody tr {
        padding-right: 18px;
    }

    .custom-table th,
    .custom-table td {
        // text-align: center;
        // width: 13%;
        color: grey;
        font-size: 13px;
        font-weight: 600;
    }

    .participant-table {

        @media (min-width: 576px) {
            padding: 0 30px;
        }

        @media (min-width: 768px) {
            padding: 0 40px;
        }

        @media (min-width: 992px) {
            padding: 0 10px;
        }

        .search-container {
            display: flex;
            align-items: center;
        }

        .search-input {
            position: relative;
            flex: 1;
            display: flex;
            align-items: center;

            .search-icon {
                position: absolute;
                left: 10px;
                font-size: 18px;
                color: #a9a9a9;
            }

            input {
                width: 100%;
                padding: 3px 10px 3px 12px;
                border: 1px solid #ddd;
                border-radius: 3px;
                outline: none;

                &::placeholder {
                    color: #a9a9a9;
                }
            }
        }

        .search-button {
            background-color: $dark-blue;
            border: none;
            color: white;
            padding: 3px 18px;
            cursor: pointer;
            border-radius: 3px;

            i {
                font-size: 18px;
            }
        }

    }

    .table-heading,
    thead {
        background-color: $dark-brown;

    }

    .custom-table th,
    .admin-dashboard-container .custom-table td {
        color: white !important;
    }

    .export-btn {
        background-color: $dark-blue;
    }

    input.icon-search {
        border: 4px solid #555;
        padding: 9px 2px 9px 40px;
        background: transparent url("/resources/images/search.webp") no-repeat 13px;
        outline: none;
    }

    .part-head{
        color: #0056b3;
  font-weight: bolder;

    }



}

.select2-container--default .select2-selection--single {
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #6E6E6E;
    padding-top: 2.2rem;
    border-radius: .3rem;

    .select2-selection__rendered {
        color: #6E6E6E;
        margin-top: -32px;
    }

    .select2-selection__arrow {
        height: 32px;
    }
}

.admin-send-mail-modal {
    .modal-body {
        .input-group {
            input {
                border: 1px solid rgba(0, 0, 0, 0.1);
                padding: 0.5em;
                border-radius: 0.375rem 0 0 0.375rem;
                border-right: none;
                flex: 1;
            }

            button {
                border: 1px solid rgba(0, 0, 0, 0.1);
                border-radius: 0 0.375rem 0.375rem 0;
                background-color: #FFFBFB;
                border-left: none;
            }
        }
    }
}

.admin-send-notification-modal {
    .input-group {
        input {
            border: 1px solid rgba(0, 0, 0, 0.1);
            padding: 0.5em;
            border-radius: 0.375rem 0 0 0.375rem;
            border-right: none;
            flex: 1;
        }

        button {
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 0 0.375rem 0.375rem 0;
            background-color: #FFFBFB;
            border-left: none;
        }
    }
}

.admin-share-app {
    .admin-share-button {
        .admin-share-mail {
            background-color: #11476d;
            color: #fff !important;

            &:hover {
                background-color: #11476d;
            }
        }

        .admin-share-text {
            background-color: #11476d;
            color: #fff !important;

            &:hover {
                background-color: #11476d;
            }
        }
    }
}

.admin-edit-modal {
    .admin-modal-header {
        background-color: $modal-header-clr;
    }

    input:focus {
        outline: none;
        box-shadow: none;
    }

    .admin-edit-username {
        background-color: #f2f2f2;
    }

    .admin-edit-model {
        max-width: 900;
    }

    .edit-sales-goal,
    .edit-app-price,
    .edit-causer,
    .edit-email,
    .edit-user {
        background-color: $modal-disable-clr !important;
        color: #000 !important;

        &:focus {
            box-shadow: none !important;

        }
    }
}

#admin-image-cancel-button {
    // padding: 10px;
    border-radius: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1px solid #ccc;
}

.admin-share-mail {
    .admin-share-mail-header {
        background-color: $bg-sandal;
    }

    .admin-email-note {
        font-size: 13px;
        color: grey;
    }

    textarea,
    input {
        &:focus {
            outline: none;
        }
    }

    textarea {
        font-size: 14px;
    }

    .bg-darkblue {
        background-color: #25279f;
        color: white;

        &:hover {
            background-color: #4054c3;
            color: white;
        }
    }
}

.invite-participant-message {
    height: 250px;
    overflow-y: hidden;
    background-color: #FFFBFB;
}

.eye {
    color: #67666e;
    right: 5px;
    top: 1px;
    cursor: pointer;

    .eye-icon {
        font-size: 16px !important;
        padding: 10px !important;
    }
}

.withdraw-container {
    background-image: url("/resources/images/background_image.webp") !important;
    height: auto;
    font-family: "poppins", sans-serif;
    padding-top: 95px !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh !important;

    .nav-item {

        .nav-link {
            color: #000 !important;

        }

        .active {
            background-color: $blue-clr !important;
            color: $white !important;
        }
    }

    .table-heading-with-draw {
        background-color: transparent !important;

        tbody,
        td,
        tfoot,
        th,
        thead,
        tr {
            border: none !important;
        }
    }

    .custom-table {
        width: 100%;
        // border-collapse: collapse;
    }

    .custom-table th,
    .custom-table td {
        // text-align: center;
        // color: grey;
        font-size: 13px;
        font-weight: 600;
    }

    .table-body-transaction .row-content {
        background-color: $header-clr;
        margin-bottom: 10px;
        /* Creates space between rows */
        color: #000;

    }

    .table-body-transaction .row-content>div {
        padding: 10px;
        box-sizing: border-box;
        border-radius: 8px;
    }



}


.withdra-fund-text {
    label {
        font-size: 14px;
        color: $text-clr;
    }

    input {
        font-size: 14px;
        color: $text-clr;
    }
}

.processed-days {
    font-size: 14px;
    color: $text-clr;
}

.email-text {
    @include media-max-xl {
        word-wrap: break-all;
        /* Older browsers */
        max-width: 160px;
    }

}

.select2-container--default .select2-search--inline .select2-search__field {
    border: none !important;
}

.table-responsive-coustom {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

#admin-participants-list-table {
    border: none !important;
    min-width: 100% !important;
    /* adjust depending on columns */
}
