﻿.crs-main-container {
    width: 100%;
    height: calc(100vh - 55px);
    margin-top: 105px;
}

.totalpoints-table {
    display: grid;
    grid-template-rows: 55px 1fr;
    align-items: center;
    width: 100%;
    height: 500px;
    overflow-y: scroll;
    border: 1px solid #DCDCDC;
    border-right: 1px solid #696969;
}
.totalpoints-tbl-header {
    width: 100%;
    height: 100%;
    background-color: #f8a80b;
    overflow: hidden;
}
.totalpoints-tbl-tbody {
    width: 100%;
    height: 100%;
}
.totalpoints-tbl-header .tl-header-row {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
}
.tl-header-row .tl-header-td {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    color: #fff;
    border-left: 1px solid #696969;
    border-bottom: 1px solid #696969;
    border-top: 1px solid #696969;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}
.totalpoints-tbl-tbody > .tl-tbody-row {
    width: 100%;
    height: 65px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
}
.totalpoints-tbl-tbody .tl-tbody-td {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    color: #696960;
    border-left: 1px solid #696969;
    border-bottom: 1px solid #696969;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 5px 0;
}


@media only screen and (min-width: 1025px) {

    .main-home-page-layout {
        grid-template-rows: 100px 1fr;
    }

    .top-main-home-page-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 767px) {
    .top-main-home-page-wrapper {
        grid-auto-rows: 1fr 1fr 1fr !important;
    }

    .main-home-page-layout {
        grid-template-rows: auto 1fr;
    }
}









.main-home-page {
    width: 100%;
    display: flex;
    justify-content: center;
    height: calc(100vh - 105px);
    /*overflow-y: scroll;*/
}

.main-home-page-wrapper {
    width: 100%;
    max-width: 960px;
    height: 100%;
    /* box-shadow: 0 0 10px 5px #999;*/
    padding: 15px;
    /*margin-top:-15px;*/
}

.main-home-page-layout {
    display: grid;
    gap: 15px;
    width: 100%;
    height: 100%;
}

.top-main-home-page-wrapper {
    display: grid;
    gap: 15px;
}

.home-page-card {
    width: 100%;
    height: 100%;
    border: 1px solid #f1f2f4;
    display: grid;
    grid-template-columns: 100px 1fr;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
    background: #f1f2f4;
}

    .home-page-card > .card-details {
        display: flex;
        flex-direction: column;
        /*gap:10px;*/
        align-items: center;
        justify-content: center;
    }

.card-details > h3 {
    font-weight: 600;
    font-size: 20px;
}

.card-details > span {
    font-size: 14px;
    color: #696969;
}

.home-page-card > span {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .home-page-card > span > svg {
        height: 45px;
        fill: #696969;
    }

.homepage-section {
    width: 100%;
    height: 100%;
    border: 1px solid #d5d5d5;
    display: grid;
    grid-template-rows: 35px auto 1fr;
    gap: 10px;
    padding: 10px;
    position: relative;
    /* margin-bottom: 50px; */
    border-radius: 10px;
}

    .homepage-section > .homepage-section-header {
        font-size: 13px;
        font-weight: 600;
        display: flex;
        align-items: center;
        position: relative;
    }

.homepage-section-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 550px;
    overflow-y: scroll;
}

.homepage-section-items {
    width: 100%;
    height: auto;
    padding: 10px;
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 15px;
    align-items: center;
    border: 1px solid #f1f2f4;
    position: relative;
    background: #f1f2f4;
    border-radius: 10px;
}

    .homepage-section-items span {
        display: flex;
        justify-content: center;
    }

        .homepage-section-items span svg {
            height: 35px;
        }

.homepage-section-details {
    display: grid;
    grid-template-rows: auto auto auto auto;
    align-items: center;
    /*  position:relative;*/
    width: 100%;
    height: 100%;
}

.total-wrapper-layout {
    display: flex;
    width: 300px;
    gap: 10px;
}

    .total-wrapper-layout section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

        .total-wrapper-layout section > h3 {
            font-size: 12px;
            color: #696969;
            font-weight: 500;
            opacity: .8;
            margin-bottom: 0;
        }

        .total-wrapper-layout section > small {
            color: #000 !important;
        }

.homepage-section-details h3 {
    font-size: 14px;
    font-weight: normal;
}

.homepage-section-details small {
    font-size: 12px;
    color: #696969;
}

.total-points {
    /* width:100%;*/
    /* padding:5px;*/
    /* background-color:#FFB606;*/
    font-size: 12px;
    font-weight: 600;
    color: #000;
    border-radius: 5px;
    position: absolute;
    right: 30px;
}


.see-more-wrapper {
    position: absolute;
    height: 45px;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

    .see-more-wrapper > .see-more-btn {
        width: 150px;
        font-size: 13px;
        height: 35px;
        padding: 5px;
        cursor: pointer;
        background-color: #FFB606;
        border: none;
        font-weight: 600;
    }

.redeem-btn {
    position: absolute;
    right: 0;
    top: 10%;
    font-size: 13px;
    color: #fff;
    background-color: var(--AKONINI_GOLD);
    border: none;
    padding: 7px 10px;
    border-radius: 5px;
    font-weight: 600;
}

.crs-badge-status {
    font-size: 11px;
    padding: 3px;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    right: 15px;
    width: fit-content;
    text-align: center;
}
.crs-badge-status.completed {
    color: green;
}
.crs-badge-status.pending {
    color: red;
}

    .crs-badge-category {
        font-size: 11px;
        padding: 3px;
        border-radius: 5px;
        color: blue;
        position: absolute;
        bottom: 10px;
        right: 15px;
        width: fit-content;
        text-align: center;
    }

    .redeem-points-container {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-rows: auto 1fr 35px;
        gap: 10px;
        padding: 10px;
        border-radius: 5px;
    }



    .redeem-points-container > h3 {
        font-size: 15px;
        font-weight: 600;
    }

.redeem-points-cont {
    display: grid;
    grid-template-rows: auto 55px;
    gap: 15px;
    align-items: center;
}

.display-total-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

    .display-total-points > .card {
        width: 100%;
        height: 65px;
        background-color: #696969;
        color: #fff;
        display: flex;
        flex-direction: column;
        border: 1px solid #fff;
        border-radius: 5px;
        padding: 5px 10px;
    }

.card > small {
    color: #fff;
    font-size: 13px;
}

.card > h3 {
    color: #fff;
    font-weight: 600;
}



.maximum-cont {
    width: 100%;
    height: 100%;
    padding: 10px;
    /*border: 2px solid #f8a80b;*/
    font-size: 13px;
    border-radius: 5px;
    color: #696969;
    font-weight: 600;
    background-color: #fff;
    padding-left: 0;
}

.redeem-input-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    width: 100%;
    gap: 15px;
}

    .redeem-input-layout > input {
        border: 1px solid #d5d5d5;
        height: 35px;
        padding: 10px;
        /* color: #696969; */
        width: 100%;
        background: #f1f2f4;
        outline: none;
    }

    .redeem-input-layout > .redeem-btnv2 {
        width: 100%;
        background-color: #f8a80b;
        border: none;
        border-radius: 5px;
        color: #fff;
        height: 35px;
    }

.points-worth {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    align-items: center;
}

    .points-worth > h3 {
        color: #696969;
        font-size: 13px;
        font-weight: 600;
    }

    .points-worth > span {
        background-color: #f8a80b;
        border-radius: 5px;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 150px;
        font-size: 13px;
        font-weight: 600;
    }

.display-total-points-wrapper {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: start;
    position: relative;
    padding: 10px;
}

.total-cont-wrap {
    height: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
    background-color: #f8a80b;
    padding: 5px;
    width: 255px;
    border-radius: 5px;
    max-width: 155px;
}

    .total-cont-wrap > span {
        font-size: 12px;
        color: #000;
    }

    .total-cont-wrap > small {
        font-size: 13px;
        font-weight: 600;
        color: #000;
    }

.redeem-input-container {
    /*height:75px;*/
    display: grid;
    grid-template-rows: 25px 1fr;
    align-items: center;
    margin-bottom: 15px;
}

    .redeem-input-container label {
        font-size: 13px;
        color: #696969;
    }

    .redeem-input-container input {
        border: 1px solid #d5d5d5;
        height: 35px;
        padding: 10px;
        /* color: #696969; */
        width: 100%;
        background: #f1f2f4;
        outline: none;
    }

.totalpoints-table {
    display: grid;
    grid-template-rows: 55px 1fr;
    align-items: center;
    width: 100%;
    height: 500px;
    overflow-y: scroll;
    border: 1px solid #DCDCDC;
    border-right: 1px solid #696969;
}

.totalpoints-tbl-header {
    width: 100%;
    height: 100%;
    background-color: #f8a80b;
    overflow: hidden;
}

    .totalpoints-tbl-header .tl-header-row {
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        align-items: center;
    }

.tl-header-row .tl-header-td {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    color: #fff;
    border-left: 1px solid #696969;
    border-bottom: 1px solid #696969;
    border-top: 1px solid #696969;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}


.totalpoints-tbl-tbody {
    width: 100%;
    height: 100%;
}

    .totalpoints-tbl-tbody > .tl-tbody-row {
        width: 100%;
        height: 65px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        align-items: center;
    }

    .totalpoints-tbl-tbody .tl-tbody-td {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        color: #696960;
        border-left: 1px solid #696969;
        border-bottom: 1px solid #696969;
        align-items: center;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        padding: 5px 0;
    }

.bolder-text {
    color: #000 !important;
    font-weight: 600 !important;
}


.points-worth small {
    margin-left: 5px;
    font-weight: 600;
    font-size: 13px;
}

.redeem-btnv2:disabled {
    opacity: .7;
}

.redeem-points-status {
    left: unset;
    right: 10px;
    width: auto;
    padding: 5px;
    font-size: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.search-activites-input-container {
    display: grid;
    grid-template-columns: 1fr 100px;
    align-items: center;
    background-color: #fff;
    max-width: 960px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 40px;
    border-radius: 30px;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid #d5d5d5;
}

.search-activites-input-container input {
    border: none;
    outline: none;
    padding: 5px 0;
    padding-left: 25px;
}
.search-activites-input-label {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 13px;
    color: #fff;
    gap: 10px;
    background-color: #696969;
    height: 100%;
    width: 100%;
    padding: 0 10px;
    cursor: pointer;
}
.search-activites-input-label svg {
    height: 18px;
    fill: #fff;
}


/*for crs notification right menu*/
.entry-item {
    padding: 10px;
    background: #f1f2f4;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 30px 1fr 15px;
    grid-row-gap: 5px;
    margin-bottom: 10px;
}
.entry-item-header {
    display: grid;
    grid-template-columns: 1fr auto;
}
.entry-item-type {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column-gap: 5px;
}
.entry-item-type i {
    background-color: #FFB606;
    height: 20px;
    align-self: center;
    border-radius: 5px;
}
.entry-item-type i svg {
    width: 16px;
    fill: #fff;
}
.entry-item-type span {
    font-size: 12px;
    display: flex;
    align-self: center;
}
.entry-item-status {
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.6rem;
    background: #8ce295;
    display: flex;
    align-self: center;
    color: #fff;
}
.entry-item-time {
    font-size: 11px;
    color: #999;
    margin: 0;
}
.entry-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #696969;
}
.unread .entry-item-name {
    color: #000;
}


.right-menu-cont-header-input {
    width: 100%;
    display: grid;
    grid-template-columns: 30px 1fr;
    /* grid-column-gap: 5px; */
    background: #f1f2f4;
    border: 1px solid #f1f2f4;
    border-radius: 10px;
}
.right-menu-cont-header-input i {
    display: flex;
    justify-content: end;
    align-items: center;
}

.right-menu-cont-header-input input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #f1f2f4;
    outline: none;
}
    .right-menu-cont-header-input i svg {
        width: 17px;
        fill: #777;
    }

.search-activites-input-label-span {
    color: #fff;
}

@media only screen and (max-width: 767px) {
    .total-points {
        position: relative;
        right: 0 !important;
        justify-content: start !important;
    }
    .crs-badge-status {
        position: relative;
        right: 0;
        top: 0;
        padding: 0;
    }
    .crs-badge-category {
        position: relative;
        right: 0;
        top: 0;
        padding: 0;
    }

    .notification-badge-absolute {
        left: unset !important;
        top: 10px !important;
        right: 5px !important;
    }

    .redeem-points-status {
        transform: unset;
    }

    .search-activites-input-label-span {
        display: none;
    }

    .search-activites-input-container {
        grid-template-columns: 1fr 50px;
    }
}


.animate-shake {
    animation: shake 0.5s; /* Duration of the shake animation */
    animation-iteration-count: infinite; /* Infinite loop */
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    50% {
        transform: translateX(10px);
    }

    75% {
        transform: translateX(-10px);
    }

    100% {
        transform: translateX(0);
    }
}