@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

body,
button,
input,
textarea,
select,
table th,
table td {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.cardSize {
    width: 95%;
}

/* .titleBackground{
    background-color:rgb(255, 255, 255)
} */
.sessionColor {
    color: black;
}

tr {
    font-size: 90%;
}

td img {
    height: 60px;
    width: 60px;
    object-fit: cover;
}

.activationSet {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

.usersLivewire {
    display: flex;
    align-items: center;
}

.buttonInLivewire {
    margin-left: 2rem;
}

.act {
    color: white;
    background-color: black;
}

.deact {
    color: white;
    background-color: dimgray;

}

.act:hover {
    color: white;
    background-color: rgb(40, 40, 40) !important;
}

.deact:hover {
    color: white;
    background-color: rgb(79, 79, 79) !important;
}

.buttonsAboutUs:hover {
    background-color: darkgray !important;

}

.EditView:hover {
    background-color: rgb(170, 170, 170) !important;
    color: black !important;

}

.actbtn {
    background-color: #e2e2e2 !important;
    color: black !important;
}

/* nav bar */
.dropdownBTN {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    color: black;
    border: 0;
    background-color: white;
    border-left: 4px solid white;
}

.dropdownBTN p {
    margin: 0 0.5rem;
}

.dropdownBox {
    color: black;
    background-color: rgb(255, 255, 255);
    height: 400px;
    overflow-y: auto
}

.navBarTitle {
    font-size: 1.5rem;
    color: black;
}

/* media assets */

.mediaAssetsContainers {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 1rem 1rem 1rem 0
}

.mediaAssetsContainer {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: fit-content;
    border: 1px solid #858585;
    border-radius: 2rem;
    padding: 1rem;
    margin: 0.5rem 0
}

.mediaAssetsContainer img {
    width: 350px;
    margin-bottom: 1rem;
    border-radius: 1rem;
}

.mediaAssetsBottom {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

/* Post view */

.createBtn {
    color: white;
    background-color: var(--primary-color);
    padding: 0.6rem 1rem 0.8rem 1rem;
    height: fit-content;
    border-radius: 10rem;
    text-decoration: none;
    transition: 0.3s;
}

.createBtn:hover {
    color: black;
    background-color: #AAAAAA;
}

.btnHub {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.postView {
    display: flex;
    align-items: center;
    margin: 1rem 1rem 1rem 0;
    border-radius: 10px;
}

.postViewImage {
    width: 450px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

.postViewImage img {
    height: 200px;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.postViewText {
    padding-left: 1rem;
    width: 100%;
}

.postViewText p,
.messageHeader p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.postViewBtn {
    display: flex;
    flex-direction: row;
}

.postViewBtn a,
.postViewBtn button {
    margin-right: 1rem;
    text-decoration: none;
    color: black;
    background-color: #f6f6f6;
    padding: 0.3rem 1rem 0.3rem 1rem;
    border-radius: 0.4rem;
    border: none;
    transition: 0.3s;
    height: fit-content;
}

.postViewBtn a:hover,
.postViewBtn button:hover {
    background-color: #858585;
    color: #f6f6f6;
}

.arrowBack {
    margin-bottom: 3rem;
}

.arrowBack a,
.arrowBack button {
    display: flex;
    color: white;
    background-color: black;
    padding: 0.6rem 1rem 0.8rem 1rem;
    border-radius: 1rem;
    width: fit-content;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}

.arrowBack a:hover,
.arrowBack button:hover {
    background-color: #858585;
}

.singlePostView {
    display: flex;
    flex-direction: column;
    width: 90%;
}

.singlePostView1 {
    display: flex;
    flex-direction: column;
    width: 60%;
    border: 2px solid black;
    border-radius: 2rem;
    padding: 2rem;
    align-self: center;
    justify-self: center;
}

.singlePostViewContent img {
    height: 300px;
    border-radius: 2rem;
    margin: 0 1rem 0 2rem;
}

.singlePostViewContent p {
    text-align: justify;
    text-justify: inter-word;
}

.singlePostViewContent {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
}

.singlePostHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.singlePostHeader p {
    margin: 0;
}

.emailView {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f6f6f6;
    color: black;
    border-radius: 2rem;
    width: fit-content;
    padding: 0.5rem 1rem;
}


.CreatePost {
    display: flex;
    flex-direction: column;
    width: 85%;
    margin-left: 1.5rem;
}

.CreatePost form {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.CreatePost h5 {
    margin: 0.5rem 0 0 0;
}

.CreatePostImage {
    margin: 0.5rem 0;
}

.editPostImage {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
    align-items: center;
}

.editPostImage img {
    height: 200px;
    border-radius: 2rem;
    margin-right: 2rem;
}



/* Contact us */

.messageViewTitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 95%;
}

.multiDivGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
    width: 100%;
    margin: 2rem 0 0.5rem 0;
}

.singleDiv {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: 10px;
    background-color: #f6f6f6;
}

.singleMessage {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 10px;
}

.logoTextLeft {
    display: flex;
    flex-direction: row;
}

.selectSingleMessage {
    text-decoration: none;
    color: black;
    transition: 0.3s;
}

.selectSingleMessage:hover {
    color: #858585;
}

.singleMessage {
    background-color: var(--bright-blue-transparent);
}

.selectSingleMessage:hover>.singleMessage>.logoTextLeft>.messageIcon,
.selectSingleMessage:hover>div>.messageIcon {
    background-color: #858585;
}

.messageIcon {
    width: 73px;
    height: 73px;
    padding: 1rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: 0.3s;
}

.messageIcon img {
    transition: 0.3s;
}

.selectSingleMessage:hover>.singleMessage>.logoTextLeft>.messageIcon img {
    transform: scale(1.2);
    transform-origin: 50% 50%;
}

.messageHeader {
    width: 90%;
    text-align: justify;
}

.messageHeader h5 {
    margin-bottom: 1.5rem;
}

.messageHeader h6,
.dateBtn p {
    margin: 0;
}

.dateBtn p {
    width: 170px;
}

.dateBtn button {
    padding: 0.3rem 1rem 0.3rem 1rem;
    margin: 0 0 1rem 0.5rem;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.dateBtn button:hover {
    background-color: #858585;
    color: white;
}

.dateBtn {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.DEBtn {
    display: flex;
    flex-direction: row;
}

.multiDivGridBtn {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.multiDivGridBtn button {
    padding: 0.3rem 1rem 0.3rem 1rem;
    margin: 0 0.5rem 0.5rem 0;
    border-radius: 10px;
    background-color: #858585;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.multiDivGridBtn button:hover {
    background-color: black;
}

.multiDivGridContent {
    display: flex;
    justify-content: center;
}

.catIcon {
    width: 100px;
    height: 100px;
    padding: 1rem;
    border-radius: 50%;
    background-color: #858585;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: 0.3s;
}

.SCLink {
    color: black;
    transition: 0.3s;
}

.SCLink:hover {
    color: #858585;
}

/* admin analytics */
.AdminAna {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.analyticsTopBtns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0.3rem 0;
}

.AnalyticContainers {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    margin: 0.3rem 0;
}

.AnalyticContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 30%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #858585;
    background-color: #f6f6f6;
}

.AnalyticContainer svg {
    margin-right: 1.5rem;
}

.analyticsBtnsHub {
    display: flex;
    flex-direction: row;
}

.analyticsBtnsHub a {
    padding: 0.3rem 1rem 0.3rem 1rem;
    margin: 1rem 1rem 1rem 0;
    border-radius: 2rem;
    background-color: #f6f6f6;
    color: black;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
}

.analyticsBtnsHub a:hover {
    background-color: black;
    color: white !important;
}

.graph {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 1rem 0 2rem 0;
}

.usersContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.userContainer {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    width: 24%;
    padding: 0.5rem 0.3rem 0.3rem 0.3rem;
    margin: 0.5rem 0.5rem 0 0;
    border-radius: 10px;
    border: 1px solid #858585;
}

.selectSingleMessage:hover>.logoTextLeft>.messageIcon {
    background-color: black;
}

.Btn1 {
    color: white;
    background-color: #858585;
    padding: 0.6rem 1rem 0.8rem 1rem;
    height: fit-content;
    border-radius: 0.4rem;
    text-decoration: none;
    transition: 0.3s;
}

.Btn1:hover {
    background-color: black;
}

.showBtn {
    padding: 0.5rem 1rem 0.5rem 1rem;
    margin-right: 1rem;
    border-radius: 2rem;
    background-color: #f6f6f6;
    color: black;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
}

.showBtn:hover {
    background-color: black;
    color: white !important;
}

.selectBTn {
    padding: 0.5rem;
    margin-right: 1rem;
    border-radius: 2rem;
    background-color: #858585;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-right: 0.5rem solid transparent;
    transition: 0.3s;
}

.selectBTn:focus {
    outline: none;
    background-color: black;
}

/* profile */
.profileContainer {
    display: flex;
    flex-direction: row;
    width: 60%;
    border: 2px solid black;
    border-radius: 2rem;
    padding: 2rem;
    align-self: center;
    justify-self: center;
    justify-content: space-around;
}

.profileContainer .messageIcon {
    width: 200px;
    height: 200px;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: #858585;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: 0.3s;
}

.profileContainer .singleMessageContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1rem;
    border-left: 2px solid #858585;
}

/* Home section */

.UpBtn {
    font-size: 1em;
    border: none;
    background-color: var(--primary-color);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 2rem 2rem 0 0;
    margin-bottom: 0.2rem;
    transition: 0.3s;
}

.DownBtn {
    font-size: 1em;
    border: none;
    background-color: var(--primary-color);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 0 0 2rem 2rem;
    transition: 0.3s;
}

.UpBtn:hover,
.DownBtn:hover {
    background-color: var(--primary-color-transparent);
}

/* edits requests */
.editRequestContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    margin-bottom: 2rem;
}

.editRequestCol1,
.editRequestCol2 {
    display: flex;
    flex-direction: column;
    border: 1px solid #858585;
    border-radius: 2rem;
    padding: 1rem;
    width: 47.5%;
}

.editRequestHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* merchant page */
.singleBtn {
    width: 100%;
    color: white;
    text-decoration: none;
    background-color: #858585;
    border: none;
    margin-top: 1rem;
    padding: 0.5rem 0;
    border-radius: 0.5rem;
    transition: 0.3s;
}

.singleBtn:hover {
    color: white;
    background-color: black;
}

/* redeem code info */
.RedeemCodeInfo {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    border-radius: 2rem;
    padding: 2rem;
    margin-top: 1rem;
    width: 62%;
}

.RedeemCodeInfo input {
    display: flex;
    flex-direction: column;
    background-color: #858585;
    border-radius: 2rem;
    padding: 2rem;
    margin-top: 1rem;
    width: 60%;
}

/* home section */

.hsContent img {
    width: 400px
}

.messageViewTitle h2 {
    margin: 0;
}

.HIDE,
.Notification {
    display: flex;
    flex-direction: row
}

/* user */
.userPageBtns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2rem
}

/* merchant page */
.MerchantInfo {
    width: 95%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.MerchantInfoText {
    width: 25%;
    display: flex;
    flex-direction: row
}

.MerchantInfoImage {
    width: 45%;
    display: flex;
    flex-direction: row
}

.HR {
    width: 8%;
    display: flex;
    flex-direction: row
}

.redeemContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
}


/* tablet responsive */

@media (max-width: 1200px) {
    .dropdownBTN p {
        margin: 0 0.2rem;
    }

    .dropdownBox li {
        padding: 0;
    }

    .navBarTitle {
        font-size: 1rem;
    }

    .navBarBtn,
    .dropdownBTN {
        font-size: 0.6rem;
        width: 100%;
    }

    .activated,
    .navbar {
        width: 100%;
        height: fit-content;
    }

    .navBarBtn svg,
    .dropdownBTN svg,
    .MVTitle svg {
        width: 15px;
        height: 15px;
    }

    .multiDivGrid {
        grid-template-columns: repeat(3, 1fr);
    }

    .singleDiv {
        width: fit-content;
        padding: 1rem 2rem;
    }

    .createBtn,
    .CreatePostInput {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .MVTitle {
        font-size: 1.5rem;
        margin: 0;
        align-self: center;
    }

    .messageHeader {
        width: 100%;
    }

    .singleMessage {
        width: 95%;
        margin: 0.5rem 0;
    }

    .singleMessage h4,
    .singleMessage h5 {
        font-size: 1.3rem;
    }

    .singleMessage p,
    .singleMessage h6 {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .dateBtn button {
        padding: 0.2rem 0.5rem;
        margin: 0 0 0.8rem 0.2rem;
        font-size: small;
    }

    .dateBtn p {
        font-size: 0.6rem;
        text-align: right;
    }

    .mediaAssetsContainer img {
        width: 250px;
        margin-bottom: 0.5rem;
    }

    .mediaAssetsBottom {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .mediaAssetsBottom .postViewBtn {
        margin-top: 0.5rem;
    }

    .mediaAssetsBottom .postViewBtn a {
        margin-right: 3.5rem;
    }

    .mediaAssetsBottom .postViewBtn button {
        margin-right: 0;
    }

    .mediaAssetsBottom p {
        margin: 0;
    }

    .hsContent img {
        width: 300px
    }

    .messageViewTitle h2 {
        font-size: 1.5rem;
    }

    .AdminAna h2 {
        font-size: 1.5rem;
        padding: 0;
    }

    .graph {
        width: 100%;
    }

    .AnalyticContainer p {
        font-size: 0.8rem;
    }

    .HIDE {
        display: none;
    }

    .selectBTn,
    .showBtn {
        font-size: 0.55rem;
    }

    .selectBTn {
        margin-right: 0.5rem;
    }

    .userContainer {
        width: 23%;
    }

    .usersContainer p {
        margin-bottom: 0.5rem;
    }

    .usersContainer .messageIcon {
        width: 60px;
        height: 60px;
        padding: 0.7rem;
    }

    .userPageBtns div {
        margin-bottom: 1rem;
    }

    .Btn1 {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }

    .profileContainer {
        width: 90%;
    }

    .profileContainer .messageIcon {
        width: 150px;
        height: 150px;
        padding: 0.8rem;
    }

    .RedeemCodeInfo {
        width: 100%;
    }

    .redeemContainer button {
        font-size: 0.9rem;
    }
}

@media (max-width: 850px) {
    .navBarTitle {
        font-size: 0.8rem;
    }

    .navBarBtn,
    .dropdownBTN p {
        font-size: 0;
        text-align: center;
        width: fit-content;
    }

    .dropdownBTN {
        font-size: 0.8rem;
    }

    .dropdownBTN p {
        width: 0;
        height: 0;
        margin: 0 0.2rem;
    }

    .activated,
    .navbar {
        width: 100%;
        height: fit-content;
    }

    .navBarBtn svg,
    .dropdownBTN svg {
        width: 30px;
        height: 30px;
    }

    .multiDivGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .singleDiv {
        padding: 1rem 2.5rem;
    }

    .mediaAssetsHeader h2 {
        font-size: 1rem;
    }

    .mediaAssetsHeader .createBtn {
        font-size: 0.5rem;
        padding: 0.4rem;
    }

    .mediaAssetsContainer img {
        width: 200px;
        margin-bottom: 0.5rem;
    }

    .hsContent img {
        width: 200px
    }

    .messageViewTitle h2 {
        font-size: 1rem;
    }

    .analyticsBtnsHub a {
        font-size: 0.6rem;
    }

    .graph {
        width: 120%;
        justify-content: flex-start;
        margin-left: 2rem;
    }

    .AnalyticContainer p {
        font-size: 0.6rem;
    }

    .AnalyticContainer svg {
        width: 45px;
        height: 45px;
    }

    .table th,
    .table td,
    .table td a {
        font-size: 0.7rem;
    }

    .activationSet h2 {
        font-size: 1.5rem;
        margin: 0;
    }

    .Notification .createBtn {
        font-size: 0.6rem;
        padding: 0.4rem;
    }

    .Notification input {
        font-size: 0.6rem;
        padding: 0.4rem;
    }

    .userPageBtns {
        flex-direction: column;
    }

    .usersContainer {
        margin-top: 0;
    }

    .usersContainer p {
        margin-bottom: 0.5rem;
    }

    .usersContainer .messageIcon {
        width: 50px;
        height: 50px;
        padding: 0.5rem;
    }

    .userPageBtns div {
        margin-bottom: 1rem;
    }

    .Btn1 {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }

    .MerchantInfo {
        flex-direction: column;
    }

    .MerchantInfoText {
        width: fit-content
    }

    .MerchantInfoImage {
        width: fit-content;
        margin-top: 2rem;
    }

    .HR {
        display: none;
    }

    .AnalyticContainer {
        width: 25%;
    }

    .AnalyticContainer svg {
        margin-right: 0.5rem;
    }
}

/* Mobile signout button spacing */
@media (max-width: 991.98px) {
    #navbarBlur {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    #navbarBlur .container-fluid {
        max-width: 100%;
        padding-right: 0.5rem;
    }
    
    #navbarBlur .navbar-nav {
        flex-wrap: nowrap;
    }
    
    #navbarBlur .navbar-nav .nav-item:first-child {
        margin-right: 0.5rem;
    }
    
    #navbarBlur .navbar-nav .nav-item:first-child .nav-link {
        padding: 0.4rem 0.75rem;
        border-radius: 8px;
        background-color: rgba(234, 6, 6, 0.1);
        transition: all 0.3s ease;
        white-space: nowrap;
        text-align: center;
        color: var(--bs-danger) !important;
        font-weight: 600;
    }
    
    #navbarBlur .navbar-nav .nav-item:first-child .nav-link:hover {
        background-color: rgba(234, 6, 6, 0.2);
    }
    
    #navbarBlur .navbar-nav .nav-item:last-child {
        margin-left: 0;
        padding-left: 0.5rem !important;
    }
}