@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.nv5wbdzqw1.bundle.scp.css';

/* _content/SimplerLifeApp/Components/Pages/Chat.razor.rz.scp.css */
.conversation-item[b-eavtrpv6xy] {
    display: flex;
    width: 100%;
    height: 150px;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.coin[b-eavtrpv6xy] {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    position: relative;
    margin-right: 10px;
}

.initials-grid[b-eavtrpv6xy] {
    display: grid;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
    color: white;
}

.participants-1[b-eavtrpv6xy] {
    grid-template-rows: 1fr;
    background-color: #0078d4;
}

.participants-2[b-eavtrpv6xy] {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
}

.participants-3[b-eavtrpv6xy], .participants-4[b-eavtrpv6xy] {
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}

.participant-initial[b-eavtrpv6xy] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: #0078d4;
}

.conversation-details[b-eavtrpv6xy] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.conversation-top-row[b-eavtrpv6xy], .conversation-bottom-row[b-eavtrpv6xy] {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.participants-names[b-eavtrpv6xy], .latest-message[b-eavtrpv6xy] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}

.message-datetime[b-eavtrpv6xy] {
    margin-left: 10px;
    white-space: nowrap;
}
/* _content/SimplerLifeApp/Components/Pages/Messages.razor.rz.scp.css */
/* General Layout */
.chat-container[b-57xqg7rq9d] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    overflow: hidden;
    overflow-y: auto;
    padding: 10px;
    height: calc(var(--vh, 1vh) * 100 - 220px); /* Use the custom property */
}

/* Message Container */
.message[b-57xqg7rq9d] {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

    .message.sent[b-57xqg7rq9d] {
        align-items: flex-end;
        text-align: justify;
    }

    .message.received[b-57xqg7rq9d] {
        align-items: flex-start;
        text-align: left;
    }

    .message.selected .message-wrapper[b-57xqg7rq9d] {
        border: 1px solid #ccc;
        border-radius: 12px;
        background-color: #f9f9f9; /* Background color for selected message */
        padding: 10px;
    }

.message-wrapper[b-57xqg7rq9d] {
    max-width: 80%; /* Limit the width of the entire message block */
    display: flex;
    flex-direction: column;
}

.message.sent .message-wrapper[b-57xqg7rq9d] {
    margin-left: auto; /* Align sent messages to the right */
}

.message.received .message-wrapper[b-57xqg7rq9d] {
    margin-right: auto; /* Align received messages to the left */
}

/* Message Info */
.message-info[b-57xqg7rq9d] {
    display: flex;
    font-size: 0.85em;
    color: gray;
    margin-bottom: 2px;
}

.message.sent .message-info[b-57xqg7rq9d] {
    justify-content: flex-end;
}

.sender-name[b-57xqg7rq9d] {
    font-weight: bold;
    margin-right: 5px;
}

.timestamp[b-57xqg7rq9d] {
    font-style: italic;
}

/* Message Content */
.message-content[b-57xqg7rq9d] {
    padding: 10px;
    border-radius: 15px;
}

.message.sent .message-content[b-57xqg7rq9d] {
    margin-left: auto; /* Push content to the right */
    background-color: #384780;
    color: white;
}

.message.received .message-content[b-57xqg7rq9d] {
    background-color: #e1e1e1;
    color: black;
}

/* Available Reactions */
.available-reactions-container[b-57xqg7rq9d] {
    display: inline-flex; /* Use inline-flex to fit content */
    gap: 5px;
    margin: 5px 0;
    padding: 5px;
    background-color: #f0f0f0; /* Light gray background */
    border: 1px solid #ccc;
    border-radius: 12px;
    flex-wrap: wrap; /* Ensure reactions wrap if necessary */
}

.message.sent .available-reactions-container[b-57xqg7rq9d] {
    margin-left: auto; /* Push content to the right */
}

.message.received .available-reactions-container[b-57xqg7rq9d] {
    margin-right: auto; /* Align reactions container to the left */
}

/* Reaction Buttons */
.reaction-button[b-57xqg7rq9d] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

    .reaction-button:hover[b-57xqg7rq9d] {
        background-color: #e0e0e0;
    }

/* Message Reactions */
.message-reactions[b-57xqg7rq9d] {
    margin-top: -5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.message.sent .message-reactions[b-57xqg7rq9d] {
    justify-content: flex-end;
}

/* Reaction Items */
.reaction-item[b-57xqg7rq9d] {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    background-color: #f0f0f0; /* Light gray background */
    border: 1px solid #ccc;
    border-radius: 12px;
    cursor: pointer;
}

    .reaction-item:hover[b-57xqg7rq9d] {
        background-color: #e0e0e0; /* Slightly darker on hover */
    }

.reaction-type[b-57xqg7rq9d] {
    font-size: 1em;
}

.reaction-count[b-57xqg7rq9d] {
    margin-left: 4px;
    font-size: 0.9em;
    color: #555;
}

/* Add this CSS for the tooltip */
.reaction-item[styled-tooltip][b-57xqg7rq9d] {
    position: relative;
}

    .reaction-item[styled-tooltip][b-57xqg7rq9d]::after {
        content: attr(styled-tooltip);
        position: absolute;
        bottom: 100%;
        background-color: #333;
        color: #fff;
        padding: 5px;
        border-radius: 5px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s;
    }

.message.sent .reaction-item[styled-tooltip][b-57xqg7rq9d]::after {
    right: 0;
    transform: translateX(0);
}

.message.received .reaction-item[styled-tooltip][b-57xqg7rq9d]::after {
    left: 0;
    transform: translateX(0);
}

.reaction-item[styled-tooltip]:hover[b-57xqg7rq9d]::after {
    opacity: 1;
}
/* _content/SimplerLifeApp/Components/Shared/Carousel.razor.rz.scp.css */
.carousel-container[b-kxn1sddzxc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-content[b-kxn1sddzxc] {
    text-align: center;
}

.carousel-image[b-kxn1sddzxc] {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.carousel-icons[b-kxn1sddzxc] {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.carousel-icon[b-kxn1sddzxc] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid black;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .carousel-icon.selected[b-kxn1sddzxc] {
        background-color: black;
    }
