@media screen and (max-width: 340px) {
    .topnav-date-time {
        font-size: 10px !important;
        margin: 0px !important;
    }

    .rp_module-name {
        font-size: 12px !important;
    }

    .form-check-label {
        font-size: 12px !important;
    }

    .reports-card {
        .col-6 {
            padding: 0 6px !important;
        }
    }

    .upl-and-down-cus-profile {
        span {
            font-size: 12px !important;
        }

        p {
            font-size: 12px !important;
        }
    }

    .cust-perso-details {
        .col-6,
        .col-8,
        .col-4 {
            width: 100% !important;
        }
    }

    .suspend-block-canc-btns {
        flex-wrap: wrap !important;
    }

    .dealer-details-personal {
        .col-6,
        .col-8,
        .col-4 {
            width: 100% !important;
        }
    }

    .dealer-pers-detail {
        margin-bottom: 10px;

        span {
            font-size: 12px !important;
        }

        p {
            font-size: 12px !important;
        }
    }

    .chart-head-select {
        .card-title {
            font-size: 12px !important;
        }

        .form-select {
            padding: 5px 36px 5px 16px;
            font-size: 12px !important;
        }
    }

    .data-dashboard-card {
        .col-6 {
            .card-body {
                h3 {
                    font-size: 16px !important;
                }

                .round {
                    width: 30px;
                    height: 30px;
                }

                svg {
                    width: 16px;
                    height: 16px;
                }
            }
        }
    }
}

@media screen and (max-width: 400px) {
    .custom-data-cards {
        .custom-card {
            .card {
                h3 {
                    font-size: 16px !important;
                    font-weight: 500;
                }

                .round {
                    width: 30px;
                    height: 30px;

                    svg {
                        width: 20px;
                        height: 20px;
                    }
                }
            }
        }
    }

    .topbar .navbar .navbar-nav .nav-item .nav-link {
        padding: 0 0 !important;

        .notification {
            right: -2px !important;
        }
    }

    .topnav-date-time {
        font-size: 12px !important;
        margin: 0px !important;
    }

    .chart-head-select {
        .card-title {
            font-size: 15px !important;
        }

        .card-subtitle {
            font-size: 12px;
        }

        .form-select {
            padding: 5px 36px 5px 16px;
            font-size: 12px !important;
        }
    }
}

@media screen and (max-width: 425px) {
    .topnav-date-time {
        font-size: 12px;
        display: none;
    }

    /* .welcome-dashboard-card {
        h3 {
            font-size: 18px !important;
            text-wrap: nowrap;
        }
    } */

    .data-dashboard-card {
        .col-6 {
            &:nth-child(1),
            &:nth-child(3),
            &:nth-child(5) {
                padding-right: 4px !important;
            }

            &:nth-child(2),
            &:nth-child(4),
            &:nth-child(6) {
                padding-left: 4px !important;
            }

            .card-body {
                padding-left: 8px !important;
                padding-right: 8px !important;
            }

            .round {
                width: 35px;
                height: 35px;
            }

            svg {
                width: 16px;
                height: 16px;
            }
        }
    }

    .total-data-dashborad-cards {
        .col-6 {
            &:nth-child(1),
            &:nth-child(3),
            &:nth-child(5) {
                padding-right: 6px !important;
            }

            &:nth-child(2),
            &:nth-child(4),
            &:nth-child(6) {
                padding-left: 6px !important;
            }

            .card-body {
                padding-left: 16px !important;
                padding-right: 16px !important;
            }
        }
    }

    .data-expired-cards {
        .dashboard-data-card {
            h3 {
                font-size: 16px !important;
            }
        }
    }
}

@media screen and (max-width: 500px) {
    .custom-data-cards {
        .custom-card {
            .card {
                h3 {
                    font-size: 18px !important;
                    font-weight: 500;
                }

                .round {
                    width: 30px;
                    height: 30px;

                    svg {
                        width: 20px;
                        height: 20px;
                    }
                }
            }
        }
    }

    .expired-customers {
        .col-6 {
            &:nth-child(1),
            &:nth-child(3) {
                padding-right: 4px;
            }

            &:nth-child(2),
            &:nth-child(4) {
                padding-left: 4px;
            }

            .card-body {
                padding-left: 16px !important;
                padding-right: 16px !important;

                h3 {
                    font-size: 14px;
                }

                p {
                    font-size: 12px;
                }
            }

            .round {
                width: 35px;
                height: 35px;
            }

            svg {
                width: 16px;
                height: 16px;
            }
        }
    }

    .invoices-datacard {
        .col-6 {
            &:nth-child(1),
            &:nth-child(3) {
                padding-right: 4px;
            }

            &:nth-child(2),
            &:nth-child(4) {
                padding-left: 4px;
            }

            .card-body {
                padding-left: 16px !important;
                padding-right: 16px !important;

                h3 {
                    font-size: 14px;
                }

                p {
                    font-size: 12px;
                }
            }

            .round {
                width: 35px;
                height: 35px;
            }

            svg {
                width: 16px;
                height: 16px;
            }
        }
    }

    /* .banking-data-cards {
        .col-6 {
            &:nth-child(1),
            &:nth-child(3) {
                padding-right: 4px;
            }

            &:nth-child(2),
            &:nth-child(4) {
                padding-left: 4px;
            }

            .card-body {
                padding-left: 16px !important;
                padding-right: 16px !important;

                h3 {
                    font-size: 14px;
                }

                p {
                    font-size: 12px;
                }
            }

            .round {
                width: 35px;
                height: 35px;
            }

            svg {
                width: 16px;
                height: 16px;
            }
        }
    } */

    .recovery-dashboard-data-cards {
        .col-6 {
            &:nth-child(1),
            &:nth-child(3) {
                padding-right: 4px;
            }

            &:nth-child(2),
            &:nth-child(4) {
                padding-left: 4px;
            }

            .card-body {
                padding-left: 16px !important;
                padding-right: 16px !important;

                h3 {
                    font-size: 14px;
                }

                p {
                    font-size: 12px;
                }
            }

            .round {
                width: 35px;
                height: 35px;
            }

            svg {
                width: 16px;
                height: 16px;
            }
        }
    }

    .dealer-pers-detail {
        margin-bottom: 10px;
    }

    .recharge-dealer {
        font-size: 12px !important;
        padding-bottom: 6px !important;
        padding-top: 6px !important;
    }

    .settings__sidebar {
        width: 269px;
        padding: 24px;
        border-radius: 7px;
        min-height: 100vh;
        position: fixed;
        left: 0;
        top: 0;
        transition: transform 0.3s ease;
        background-color: var(--bs-white) !important;
        z-index: 999;
        transform: translateX(-100%);
    }

    .settings__sidebar.active {
        transform: translateX(0);
    }

    .settings__content {
        width: 100% !important;
        padding: 16px 0 !important;
        border: none !important;
    }

    .settingSidebar {
        display: block !important;
    }

    .subscription-contianer {
        .card-body {
            padding: 30px 20px;
        }

        .card-title {
            font-size: 14px !important;
        }

        .card-subtitle {
            font-size: 12px !important;
        }
    }

    .plan-licesnce {
        h2 {
            font-size: 12px !important;
        }
        p {
            font-size: 12px !important;
        }
    }

    .pricing_subscription {
        h3 {
            font-size: 13px !important;
        }

        h4 {
            font-size: 12px !important;
        }

        h2 {
            font-size: 16px !important;
        }
    }

    .next_credit {
        h3 {
            font-size: 12px !important;
        }
        h4 {
            font-size: 12px !important;
        }
        a {
            font-size: 12px !important;
        }
    }
}

@media screen and (max-width: 575px) {
    .dashboard-welcome {
        background-image: url("../images/backgrounds/ticket-bg.png");
        background-repeat: no-repeat;
        background-position: right bottom;
        background-color: var(--bs-gray-100);
        position: relative;

        .date {
            position: absolute;
            top: 35px;
            right: 20px;

            h4 {
                font-size: 14px;
                margin-bottom: 5px !important;
                color: var(--bs-gray-500);
            }

            h5 {
                font-size: 12px !important;
                margin-bottom: 0 !important;
                color: var(--bs-gray-400);
            }
        }

        h5 {
            font-size: 16px !important;
        }
    }

    .data-dashboard-card {
        padding-left: 12px;
        padding-right: 12px;

        .col-6 .col-sm-6,
        .col-md-4,
        .col-lg-6,
        .col-xxl-4 {
            border: 1px solid var(--bs-gray-200);

            &:nth-child(2) {
                border-bottom: none;
                border-right: 1px solid var(--bs-gray-200);
                border-top-right-radius: 7px;
            }

            &:nth-child(3) {
                border-bottom: none;
                border-top-right-radius: 0px;
                border-right: none;
            }

            &:nth-child(4) {
                border-bottom-left-radius: 0px;
                border-right: none;
                border-right: 1px solid var(--bs-gray-200);
                border-bottom: none;
            }

            &:nth-child(5) {
                border-right: none;
                border-bottom-left-radius: 7px;
            }

            &:nth-child(6) {
                border-bottom-right-radius: 7px;
            }

            .round {
                width: 40px;
                height: 40px;
            }
        }
    }
    .dashboard-card-together {
        .index-card {
            grid-column: span 12 !important;
        }
    }

    .top-cards {
        .index-card {
            grid-column: span 6 !important;
        }
    }
}

@media screen and (max-width: 768px) {
    .delete-static-row {
        top: 5px !important;
        right: 3px !important;
    }

    .custom-data-cards {
        .custom-card {
            grid-column: span 6 !important;
        }
    }
}

@media screen and (max-width: 992px) {
    .general-settings-tab .flex-column {
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;

        .nav-link {
            border-radius: 5px 5px 0 0;
            font-size: 14px;
            padding: 12px 16px;
        }
    }

    .general-settings-tab .flex-column > * {
        flex: 0 0 auto;
    }

    .navbar-top-custom {
        width: fit-content !important;
    }
}

@media screen and (max-width: 1024px) {
    .custom-data-cards {
        .custom-card {
            .card {
                h3 {
                    font-size: 20px !important;
                    font-weight: 600;
                }
            }
        }
    }
}

@media screen and (max-width: 1440px) {
    .customer-profile-card {
        .dashboard-card-together {
            .index-card {
                .card-text {
                    h2 {
                        font-size: 14px !important;
                        color: var(--bs-body-color);
                    }
                }
            }
        }
    }
}

@media screen and (min-width: 1500px) {
    .min-w-1500px {
        max-width: 60% !important;
    }
}

@media screen and (max-width: 1700px) {
    .upload-org-main {
        flex-direction: column;
    }

    .logo-upload-descripton {
        width: 100% !important;
        padding-left: 0 !important;
    }

    .sender-email {
        .col-6 {
            width: 100%;
            margin-bottom: 20px;
        }
    }

    .custom-data-cards {
        .custom-card {
            .card {
                h3 {
                    font-size: 24px;
                    font-weight: 600;
                }
            }
        }
    }
}
