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

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inder&display=swap");

.individual-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;

    @include media-min-md {
        padding-top: 110px !important;
    }

    @include media-min-lg {
        padding-top: 100px !important;
    }

    @include media-min-xl {
        padding-top: 95px !important;
    }

    .welcome-text {
        font-size: 17px;
        color: #05004e;
    }

    .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;
            }
        }

        .sales-target {
            background-color: #ffe2e5;
        }

        .gifted-app {
            background-color: #dcfce7;
        }

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

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

        .available-balance {
            background-color: #ffe8fe;
        }

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

    }

    .icon-data {
        padding: 0.4rem;

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

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

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

        .available-balance {
            background-color: #ffe2e5;
        }

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

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

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

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

    .data-count {
        border-radius: 8px;
        padding: 22px !important;

        @include media-min-md {
            border-radius: 8px;
        }

        // margin: 0px 5px;
    }

    .sales-training-area-image {
        width: 25px;
        height: 25px;
    }

    .participant-progress-bar {
        width: 190px;
        height: 220px;
        position: relative;

        .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;
        }

        .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));
        }
    }

    .btn-value {
        background: linear-gradient(180deg, #3E5099, #512A47) !important;
        height: 60px !important;
        border-radius: 10px !important;
    }

    .header-name {
        color: #3B56A7;
        font-size: 19px !important;
        font-weight: bold;
    }

    .year-saler-header {
        font-weight: bold;
    }

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

        }
    }

    .medal-box {
        .gold-medal {
            margin-top: 10px;
            width: 140px;
            // margin-left:-20px ;
        }

        .silver-medal {
            margin-top: 10px;
            width: 140px;
        }

        .bronze-medal {
            margin-top: 10px;
            width: 140px;
        }

        .content-width {
            width: 120px;
        }
    }

    .custom-textarea {
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 10px;
        width: 100%;
        height: 90px;
        box-sizing: border-box;
        resize: none;
    }

    .edit-profile-border {
        border: 5px $dark-blue !important;
    }

    .edit-submit {
        background-color: $dark-blue !important;
    }

    .edit-profile-btn {
        border: 1px solid $dark-blue !important;
    }

    .edit-profile-btn:hover {
        color: $dark-blue !important;
    }

    .input-color {
        background-color: $modal-disable-clr !important;
    }

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


    .cash-icons {
        width: 45px;
        height: 45px;
        background-color: #7a6ffb;
    }

    .progressed-bar {
        background-color: $bg-blue;

        .progress-percentage {
            font-size: 13px;
        }
    }

    .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;
        }
    }

    .sales-training {
        background-color: #fff4de;
        color: #05004e;
        font-size: 0.95rem;
        border-radius: 13px;
    }

    .training-video {
        box-shadow: 0px 4px 4px 0px #00000040;
        font-size: 0.7rem;
        color: #6e6e6e;
        padding: 0.9rem 0.7rem;
        cursor: pointer;
    }

    .border-style {
        border: 2px dotted black;
        height: 25px;
        width: 1px;
    }

    .p-10 {
        @include media-min-xxl {
            padding: 1.1rem 0.75rem;
        }
    }

    .training-video-start {
        background-color: #fa5a7d;
    }

    .training-video-sales {
        background-color: #ff947a;
    }

    .training-video-print {
        background-color: #3cd856;
    }

    .training-video-learn {
        background-color: #bf83ff;
    }

    .raised-by-activity {
        background-color: #e6e2ff;
    }

    .edit-profile-img {
        width: 70px;
        height: 70px;
    }

    .edit-profile {
        color: #fa5a7d;
        font-size: 0.85rem;
    }

    .edit-items {
        font-size: 12px;
    }

    .edit-email,
    .edit-number {
        color: #151d48;

        p {
            overflow-wrap: anywhere;
        }
    }

    .zipcode_detail,
    .activity_detail {
        background-color: #fff4de;
        border: 1px solid #0000003d;
    }

    .code_detail,
    .zipcode_detail,
    .activity_detail,
    .organization_detail {
        border: 1px solid #0000003d;
        font-size: 13px;
        color: #6e6e6e;
        font-weight: 500;
        padding: 2rem 1rem;
    }

    .shareApp-btn,
    .contact-btn {
        background-color: #25279f;
        padding: 0.5rem;
        width: 100%;
        font-size: 13px;
    }

    .more_info,
    .sales-win-head {
        color: #05004e;
    }



    .medals {
        height: 100%;
        width: 100%;
    }

    // #bronze_medal {
    //     box-shadow: 0 0 8px 5px rgba(250, 114, 2, .6), 0 0 20px 5px rgba(250, 114, 2, .6);
    //     border-radius: 50%;
    // }

    // #silver_medal {
    //     box-shadow: 0 0 8px 5px rgba(80, 78, 77, 0.6), 0 0 20px 5px rgba(80, 78, 77, 0.6);
    //     border-radius: 50%;
    // }

    // #gold_medal {
    //     box-shadow: 0 0 8px 5px rgba(250, 198, 57, 0.8), 0 0 20px 5px rgba(250, 198, 57, .8);
    //     border-radius: 50%;
    // }

    // ---------------------- sponsor's list table --------------------//



    .sponsers-table {
        padding: 0 20px;

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

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

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

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

        .table-heading,
        thead {
            background-color: transparent;

            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;
    }

    .individual-profile-card {
        background-color: $profile-bg;

        .individual-profile-icon {
            width: 23px;
            height: 22px;
        }

        .individual-profile-title-icon {
            width: 16px;
            height: 19px;
        }

        .individual-profile-title {
            color: $profile-title;
            font-size: 13px;
        }

        .individual-profile-text {
            color: $profile-text;
            font-size: 13px;
        }
    }

    .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;
    }

    .export-btn {
        background-color: #96a5b8;
    }

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

    .cash-icons {
        width: 45px;
        height: 45px;
        background-color: #7a6ffb;
    }

    .progressed-bar {
        background-color: $bg-blue;
    }

    .progress-percentage {
        font-size: 12px;

        &::placeholder {
            font-size: 12.5px;
            color: #9199a3;
        }
    }

    // --------------- pagination ------------------//
    .pagination .page-link {
        border: none;
        background-color: transparent;
        color: #96a5b8;
        font-size: 13px;
        font-weight: 500;
    }

    .pagination .page-item.active .page-link {
        background-color: $bg-sandal;
        color: black;
    }

    .pagination .page-link:hover {
        color: #0056b3;
    }

    ::placeholder {
        color: lightgray;
        font-size: 14px;
    }

    // ---------------------------dotted lines connecting four boxes ------------------------//
    .additional-details {
        position: relative;
    }

    .detail-box {
        position: relative;
        border-radius: 8px;
        border: 1px solid #ccc;
    }

    .detail-box:nth-child(1)::after {
        content: '';
        position: absolute;
        width: 0;
        height: 29px;
        border-left: 2.5px dotted grey;
        left: 50%;
        bottom: -31px;
    }

    .detail-box:nth-child(1)::before {
        content: '';
        position: absolute;
        height: 0;
        width: 25px;
        border-top: 2.5px dotted grey;
        right: -25px;
        top: 50%;
        transform: translateY(-50%);
    }

    .detail-box:nth-child(3)::after {
        content: '';
        position: absolute;
        height: 0;
        width: 30px;
        border-top: 2px dotted grey;
        right: -15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .detail-box:nth-child(4)::before {
        content: '';
        position: absolute;
        height: 0;
        width: 20px;
        border-top: 2px dotted grey;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .zipcode_detail,
    .activity_detail {
        background-color: $bg-sandal;
    }

    /* Remove right-side line from the zip code box */
    .detail-box.zipcode_detail::before {
        display: none;
    }

    /* Remove bottom line from the organization box */
    .detail-box.organization_detail::after,
    .detail-box.organization_detail::before {
        display: none;
    }

    /* Remove bottom line from the activity box */
    .detail-box.activity_detail::after {
        display: none;
    }

    @media(min-width:320px) and (max-width:767px) {
        .detail-box.code_detail::before {
            display: none;
        }

        .detail-box.activity_detail::before {
            display: none;
        }

        .detail-box.activity_detail::after {
            display: block;
        }
    }

    // ---------------------------dotted lines connecting four boxes ends ------------------------//

    // =============== Edit Pop Up card style =============== //
    .edit-pop {
        font-family: "poppins", sans-serif !important;

        .btn-outline-primary {
            background-color: $blue-clr;
            color: white;
        }

        .btn-outline-danger {
            background-color: rgba(191, 90, 108, 255);
            color: white;
        }

        .modal-dialog {
            max-width: 950px;
        }

        label.name {
            color: black;
            font-size: 15px;
        }

        // .edit-text {
        //     background-color: #fff4de;
        // }

        // .edit-title {
        //     font-family: "poppins", sans-serif;
        //     font-size: 17px;
        // }
    }

    .social-btn {
        width: 100%;
    }

    // .bg-sandal {
    //     background-color: $bg-sandal;
    // }

    .individual-edit-close {
        font-size: 10px;
        border: 2px solid black;
        padding: 8;
        border-radius: 50%;
        color: black;
    }

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

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

    // =============== Share Pop Up card style =============== //

    .share-app-pop {

        .individual-edit-close {
            font-size: 10px;
            border: 2px solid black;
            padding: 8;
            border-radius: 50%;
            color: black;
        }
         .social-btn-facebook {
            display: none;
        }

        .share-dialog-box {
            max-width: 950px;
        }

        .social-btn-color {
            border: none;
            background-color: #11476d;
        }

        .social-btn-color:hover {
            background-color: #11476d;
        }

        .btn-icon {
            margin-right: 10px;
        }

        .body-para {
            font-family: "poppins", sans-serif;
            line-height: 35px;
            font-weight: 500;
            font-size: 14px;
        }
    }



    // ----------- Contact Pop-Up Card style-----------------------


    .contact-popup-card {
        #Contact-Popup {
            padding-right: 0px !important;

            @include media-max-sm {
                padding-right: 0px !important;
            }

            @media (max-width: 320px) {

                padding-right: 0px !important;

            }
        }

        // .contact-header {
        //     background-color: #fff4de;
        // }

        .contact-submit-btn {
            background-color: #25279F;
            width: 100%;
            padding: 0.5rem;
            font-size: 14px;

        }

        .bg-color {
            background-color: #FFFBFB;
        }

        .contact-name {
            font-size: 15px;
            font-weight: 600;
        }

        .submit-contact {
            margin-left: 38%;
            margin-right: 38%;

            @media(min-width:320px) {
                margin-left: 10%;
                margin-right: 10%;
            }

            @media (min-width: 576px) {
                margin-left: 38%;
                margin-right: 38%;
            }

            @media (min-width: 768px) {
                margin-left: 38%;
                margin-right: 38%;
            }

            @media (min-width: 992px) {
                margin-left: 38%;
                margin-right: 38%;
            }
        }

        .contact-pop-up-div {
            max-width: 800px;
        }

        .text-area-scroll {
            height: 8em;
            overflow: auto;
            resize: none;
        }
    }


    // =============== send email-pop up =============== //

    .send-email-pop {
        .send-email-dialog {
            max-width: 700px;
        }

        .bg-color {
            background-color: #FFFBFB;
        }

        input,
        textarea {
            outline: none;
            box-shadow: none;
        }

        .textarea-fixed {
            height: 4em;
            overflow-y: auto;
            resize: none;
            font-size: 13px !important;
        }

        .textarea-limit {
            height: 10rem;
            overflow-y: auto;
            resize: none;
            font-size: 13px !important;
        }

        .modal-body {
            p {
                font-size: 15px;
            }
        }

        .email-note {
            font-size: 13px !important;
            color: grey;

            &:focus {
                box-shadow: none;
            }
        }

        .individual-mail-personal-note {
            height: 250px;
            overflow-y: auto;
            background-color: #FFFBFB;

            &:focus {
                outline: none;
            }

            p {
                font-size: 13px;
            }

            .ql-toolbar.ql-snow {
                border: none !important;
                padding: 0 !important;
            }
        }

        .individual-share-mail-submit {
            font-size: 14px;
        }

        .individual-share-mail-close {
            font-size: 14px;
        }
    }

    // =============== send text message pop up =============== //

    .send-text-pop {
        input {
            outline: none;
        }

        .text-modal-dialog {
            max-width: 600px;
        }

        .bg-color {
            background-color: #FFFBFB !important;
        }

        .add-btn {
            background-color: #007bff;
        }

        .sub-btn {
            background-color: #fd7e14;
        }
    }

    // ----------- withdraw Pop-Up Card style-----------------------


    .withdraw-popup-card {
        #withdraw-Popup {
            padding-right: 0px !important;

            @include media-max-sm {
                padding-right: 0px !important;
            }

            @media (max-width: 320px) {

                padding-right: 0px !important;

            }
        }

        .processed-days {
            font-size: 14px;
        }

        .contact-submit-btn {
            background-color: #25279F;
            width: 100%;
            padding: 0.5rem;
            font-size: 14px;

        }

        .bg-color {
            background-color: #FFFBFB;
        }

        .contact-name {
            font-size: 15px;
            font-weight: 600;
        }

        .submit-contact {
            margin-left: 38%;
            margin-right: 38%;

            @media(min-width:320px) {
                margin-left: 10%;
                margin-right: 10%;
            }

            @media (min-width: 576px) {
                margin-left: 38%;
                margin-right: 38%;
            }

            @media (min-width: 768px) {
                margin-left: 38%;
                margin-right: 38%;
            }

            @media (min-width: 992px) {
                margin-left: 38%;
                margin-right: 38%;
            }
        }

        .text-area-scroll {
            height: 8em;
            overflow: auto;
            resize: none;
        }
    }

    .share-box {
        white-space: pre-line;
        /* Preserve line breaks */
        font-size: 15px;
        line-height: 1.6;
        height: 260px;
        /* stable fixed height (change if needed) */
        max-height: 60vh;
        /* responsive cap for small screens */
        overflow-y: auto;
        /* show scrollbar when overflow */
        overflow-x: hidden;
    }

    .btn-copy {
        border: 1px solid #3B56A7;
        /* light green border */
        color: #3B56A7;
        /* dark green text */
        background: transparent;
        /* transparent background */
        font-size: 14px;
        font-weight: 500;
        padding: 4px 10px;
        border-radius: 6px;
        transition: all 0.2s ease-in-out;
    }

    .btn-copy:hover {
        background: #eaf3ea;
        /* very light green on hover */
        color: #3B56A7;
        border-color: #3B56A7;
    }

    .participant-social-share-text-btn {
        border: none;
        background-color: #345094 !important;
    }
}

// -------------- common class -------------- //
.shareApp-btn,
.contact-btn {
    background-color: #25279F;
    padding: .5rem;
    width: 100%;
    font-size: 13px;
}

.social-btn {
    width: 100%;
}

// -------------- custom file input -------------- //
.file-input-wrapper {
    display: flex;
    align-items: center;
}

.file-input-text {
    flex: 1;
    padding: 6px;
    border: 1px solid #ccc;
    border-left: 0px !important;
    border-radius: 0px;
    margin-left: -5px;
}

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

.file-input-button {
    padding: 7px 10px;
    background-color: #e1e7ee;
    color: black;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

//  -------------------word doc -------------------------//

.print-word,
.print-pdf {
    cursor: pointer;
}

.share-btn {
    #social-links {
        ul {
            padding-left: 0px !important;

            a {
                color: #05004e;
            }
        }
    }
}

.countryCodeSelect {
    font-size: 15px;
}

//
.sales-bg {
    background-color: $dark-brown;
}

.participant-sales-training {
    background-color: #fff4de;
    color: #05004e;
    font-size: 0.95rem;
    border-radius: 13px;
}

.participant-training-video {
    box-shadow: 0px 4px 4px 0px #00000040;
    font-size: 0.7rem;
    color: #6e6e6e;
    padding: 0.9rem 0.7rem;
    cursor: pointer;
}

.participant-training-video-start {
    background-color: #fa5a7d;
}

.participant-training-video-sales {
    background-color: #ff947a;
}

.particiapnt-training-video-print {
    background-color: #3cd856;
}

.participant-training-video-learn {
    background-color: #bf83ff;
}

.participant-border-style {
    border: 2px dotted black;
    height: 25px;
    width: 1px;
}

.progress-graph {
    height: 95%;
}

.individual-contact-supporter {
    max-width: 800px;
}
