p,
h2,
h3,
h4,
h5,
h1 {
    color: #d0d0d0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #8e8e8e;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
}

textarea {
    outline: none;
}

.messages-div {
    margin-left: 264px;
    overflow: hidden;
}

.background {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--Neutral-Neutral-200);
}

.overlay {
    width: 100%;
    height: 100%;
    display: flex;
}

.groupcreate-div {
    top: 0;
    left: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 4;
    justify-content: center;
    align-items: center;
    display: flex;
}

.groupcreate-menu {
    display: flex;
    margin: 50px auto;
    width: 400px;
    min-height: 343px;
    background-color: var(--Neutral-Neutral-200);
    border-radius: 15px;
    overflow: auto;
    position: relative;
    border: solid var(--Neutral-Neutral-300) 1px;
    padding: 20px;
    max-height: 90%;
    flex-direction: column;
}

.groupcreate-content {
    display: flex;
    margin: auto;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: auto;
}

.groupcreate {
    display: flex;
    padding: 32px 40px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    flex: 1 0 0;
    align-self: stretch;
    position: fixed;
}

.groupcreate-members-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.groupcreate-members-item {
    display: flex;
    padding: 10px 15px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    background: var(--Neutral-Neutral-300);
    border-radius: 20px;
    border: solid 1px var(--Neutral-Neutral-400);
}

.sidebar {
    display: flex;
    padding: 48px 32px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    align-self: stretch;
    overflow: auto;
    border-left: 2px solid 2px solid var(--Neutral-Neutral-300);
    min-width: 200px;
    background-color: var(--Neutral-Neutral-100);
    width: 250px;
}

.sidebar-header-item {
    display: flex;
    padding: 0px 11px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    border: solid 1px var(--Neutral-Neutral-400);
    border-radius: 15px;
    cursor: pointer;
    background-color: var(--Neutral-Neutral-200);
}

.sidebar-header-item:hover {
    background: var(--Neutral-Neutral-300);
}

.sidebar-search {
    display: flex;
    width: 176px;
    padding: 0px 11px;
    align-items: center;
    gap: 16px;
    border-top: 2px solid var(--Neutral-Neutral-300);
    border-bottom: 2px solid var(--Neutral-Neutral-300);
    height: 72px;
}

.sidebar-search p {
    color: #423054;
    text-align: center;
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.16px;
}

.sidebar-messages {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    align-self: stretch;
}

.sidebar-messages-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    align-self: stretch;
}

.sidebar-message {
    display: flex;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    cursor: pointer;
    background: none;
    padding: 8px;
    border-radius: 15px;
    animation-name: none;
    animation-duration: 5s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    background-size: 200% 200%;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: -100%;
}

.sidebar-message:hover {
    background-image: linear-gradient(90deg, var(--Neutral-Neutral-200) 0.32%, var(--Neutral-Neutral-300) 95.95%);
}



@keyframes sidebar-message-comeonline {
    0% {
        background-position: -100% 0%;
        background-size: 200% 100%;
        background-image: linear-gradient(90deg, rgb(22, 16, 28), rgba(100, 200, 100, 0.33), rgb(22, 16, 28));
    }

    50% {
        background-position: 100% 100%;
        background-size: 200% 100%;
        background-image: linear-gradient(90deg, rgb(22, 16, 28), rgba(100, 200, 100, 0.33), rgb(22, 16, 28));
    }

    100% {
        background-position: 400% 100%;
        background-size: 200% 100%;
        background-image: linear-gradient(90deg, rgb(22, 16, 28), rgba(100, 200, 100, 0.33), rgb(22, 16, 28));
    }
}

.sidebar-message-nameplate {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 0 0;
}

.sidebar-message-nameplate-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(220, 211, 230, 0.25);
    background: none;
    transition: all 2s;
}

.sidebar-message-nameplate-user {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1 0 0;
    gap: 3px;
}

.sidebar-message-nameplate-user-div {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.sidebar-message-nameplate-user-badge {
    height: 20px;
    width: 20px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 7px;
    visibility: visible;
    position: relative;
    background: var(--Gradient-Gradient-TL, linear-gradient(159deg, #B51BE4 0%, #8118E7 100%));
}

.sidebar-message-nameplate-user-badge>p {
    font-size: 11px;
    font-weight: 800;
}

.sidebar-message-nameplate-user-username {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    align-self: stretch;
    overflow: hidden;
    color: var(--Neutral-Neutral-900);
    text-overflow: ellipsis;
    font-family: "Be Vietnam Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.16px;
    margin: 0;
    text-align: left;
}

.sidebar-message-nameplate-user-status {
    color: var(--Neutral-Neutral-700);
    font-family: "Be Vietnam Pro";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: -0.12px;
    margin: 0;
    text-align: left;
    opacity: 0.5;
    max-width: 200px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    /* Standard property */
}

.sidebar-message-nameplate-user-status.unread {
    color: var(--Neutral-Neutral-700);
    opacity: 1;
}

.sidebar-message-notifications {
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: #423054;
}

.sidebar-message-notifications p {
    color: var(--Neutral-Neutral-1000);
    font-family: "Be Vietnam Pro";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: -0.12px;
}


.sidebar-chatbubble {
    width: 90%;
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-top: 10px;
    margin-left: 15px;
    border-radius: 30px;
    transition: 0.3s;
}

.sidebar-chatbubble:hover {
    background: linear-gradient(90deg, var(--Neutral-Neutral-200) 0.32%, var(--Neutral-Neutral-300) 95.95%)
}

.account-bubble {
    width: 80%;
    height: 80px;
    background-color: #525252;
    margin: auto;
    border-radius: 38px;
    box-shadow: 0px 0px 9px 7px rgba(0, 0, 0, 0.24);
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: unset;
}

.account-profilepicture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 25px;
    object-fit: cover;
}

.chat-div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    box-sizing: border-box;
    padding: 0 0 25px 0;
    min-width: 0;
    position: relative;
}

.chat {
    display: flex;
    padding: 32px 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 1 0 0;
    align-self: stretch;
    padding-top: 5px;
}

.chat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex: 1 0 0;
    align-self: stretch;
    overflow: auto;
    scrollbar-width: auto;
    padding: 0px 20px 75px 20px;
}

.chat-back {
    display: none;
}

.chat-username {
    display: flex;
    padding: 0px 56px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    background-image: linear-gradient(to bottom, #000000b0 0.1%, var(--Neutral-Neutral-200)), url("https://night-light.cz/userData/posts/itenerai/profileBanner.gif");
    background-size: 100%;
    background-position: center;
    height: 80px;
    position: relative;
}

.chat-username p {
    color: var(--Neutral-Neutral-900);
    font-family: "Be Vietnam Pro";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    /* 133.333% */
    letter-spacing: -0.384px;
}

.chat-username-href {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    text-decoration: none;
    color: white;
}

.chat-box-div {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: env(safe-area-inset-bottom, 5px);
    padding: 0px 15px;
    box-sizing: border-box;
    position: absolute;
    bottom: 25px;
}

.chat-box-upload {
    display: flex;
    max-height: 100px;
    width: 100%;
    justify-content: flex-start;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.chat-box-upload>.mediaBox {
    display: flex;
    position: relative;
    box-sizing: border-box;
    width: 182px;
    justify-content: center;
    background-color: var(--Neutral-Neutral-300);
    padding: 8px;
    border-radius: 15px;
}

.chat-box-upload>.mediaBox>img {
    display: block;
    height: 100%;
}

.chat-box-upload>.mediaBox>.remove {
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--Neutral-Neutral-300);
    padding: 3px;
    border-radius: 5px;
}

.chat-box-upload>.mediaBox>.remove:hover {
    background-color: var(--Neutral-Neutral-400);
}

.chat-box {
    display: flex;
    padding-right: 20px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 8px;
    background: var(--Neutral-Neutral-300);
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.16px;
    resize: none;
    border: none;
    height: auto;
    gap: 8px;
    padding-right: 20px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.chat-box svg {
    cursor: pointer;
    flex-shrink: 0;
}

.chat-box::placeholder {
    color: #382947;
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.16px;
}

.chat-box-input {
    border: none;
    resize: none;
    width: 100%;
    height: 100%;
    padding: 15px 24px;
    align-self: stretch;
    border-radius: 8px;
    background: transparent;
    color: var(--Neutral-Neutral-1000);
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 50px;
    scrollbar-width: none;
}

.chat-box-input {
    border: none;
    resize: none;
    width: 100%;
    height: 100%;
    padding: 15px 24px;
    align-self: stretch;
    border-radius: 8px;
    background: transparent;
    color: var(--Neutral-Neutral-800);
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 50px;
    scrollbar-width: none;
}

.chat-box-input::placeholder {
    color: var(--Neutral-Neutral-600);
}

.chat-box-more {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.chat-box-bubble-ongoing-surround {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: stretch;
    position: relative;
    flex-direction: column;
}

.chat-box-bubble-ongoing {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.chat-box-bubble-ongoing .post-statistics-container-contents,
.chat-box-bubble-incoming .post-statistics-container-contents {
    display: none;
}

.chat-box-bubble-incoming .post-statistics-container-actions,
.chat-box-bubble-ongoing .post-statistics-container-actions {
    width: 100%;
}

.chat-box-bubble-incoming .post-statistics-container-actions-button>p {
    display: none;
}

.chat-box-bubble-ongoing .post-statistics-container-actions-button>p {
    display: none;
}

.chat-box-bubble-incoming .post-div {
    box-sizing: border-box;
}

.chat-box-bubble-ongoing .post-div {
    background: var(--Neutral-Neutral-200);
    box-sizing: border-box;
}

.chat-box-bubble-incoming .post-statistics,
.chat-box-bubble-ongoing .post-statistics {
    border-bottom: none;
    padding: unset;
    margin-top: 20px;
    border-radius: 15px;
    background-color: var(--Neutral-Neutral-100);
}

.chat-box-bubble-ongoing.pending {
    opacity: 0.5;
}

.chat-box-bubble-ongoing-content {
    display: flex;
    max-width: 576px;
    padding: 11px;
    justify-content: flex-end;
    align-items: flex-start;
    border-radius: 8px 4px 8px 8px;
    border: 2px solid var(--Neutral-Neutral-400);
    background: var(--Neutral-Neutral-300);
    overflow-wrap: anywhere;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

.chat-box-bubble-ongoing-content>p {
    color: var(--Neutral-Neutral-900);
    text-align: right;
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.16px;
    margin: 0;
}

/* Nightlight custom text formatting */
.chat-box-bubble-ongoing-content .bold {
    font-weight: bold;
    /* always 1px bigger than the original font size */
    font-size: calc(1em + 1px);
}

.chat-box-bubble-ongoing-content .italic {
    font-style: italic;
}

.chat-box-bubble-ongoing-content .strikethrough {
    text-decoration: line-through;
}

/* header font-sizes are based on most browser's default values */
.chat-box-bubble-ongoing-content .header1 {
    display: inline-block;
    margin-bottom: 0.5em;
    font-size: 2em;
    line-height: 1.2;
}

.chat-box-bubble-ongoing-content .header2 {
    display: inline-block;
    margin-bottom: 0.5em;
    font-size: 1.5em;
}

/* this one is a smol header so like -# text here */
.chat-box-bubble-ongoing-content .header5 {
    color: var(--Primary-Primary-700);
    font-size: .83em;
}

/* Nightlight custom text formatting */
.chat-box-bubble-incoming-content .bold {
    font-weight: bold;
    /* always 1px bigger than the original font size */
    font-size: calc(1em + 1px);
}

.chat-box-bubble-incoming-content .italic {
    font-style: italic;
}

.chat-box-bubble-incoming-content .strikethrough {
    text-decoration: line-through;
}

/* header font-sizes are based on most browser's default values */
.chat-box-bubble-incoming-content .header1 {
    display: inline-block;
    margin-bottom: 0.5em;
    font-size: 2em;
    line-height: 1.2;
}

.chat-box-bubble-incoming-content .header2 {
    display: inline-block;
    margin-bottom: 0.5em;
    font-size: 1.5em;
}

/* this one is a smol header so like -# text here */
.chat-box-bubble-incoming-content .header5 {
    color: var(--Primary-Primary-700);
    font-size: .83em;
}

.chat-box-send {
    display: none;
    width: 30px;
}

.chat-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 25px;
    box-sizing: border-box;
}

.chat-home-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background-color: var(--Neutral-Neutral-300);
    border: solid 1px var(--Neutral-Neutral-400);
    border-radius: 20px;
    cursor: pointer;
    padding: 25px;
}

.chat-home-header img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.chat-home-header h1 {
    margin: 10px 0;
}

.chat-home-header p {
    margin: 0;
}

.chat-home-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 25px;
    gap: 50px;
    justify-content: center;
}

.chat-home-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 100px;
    background-color: var(--Neutral-Neutral-300);
    border: solid 1px var(--Neutral-Neutral-400);
    border-radius: 20px;
    cursor: pointer;
    box-sizing: border-box;
    padding: 20px;
    gap: 15px;
}

.chat-home-item svg {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}


.chat-emojiselector {
    display: none;
    width: 264px;
    height: 123px;
    background: var(--Neutral-Neutral-200);
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    align-self: stretch;
    flex-wrap: wrap;
    z-index: 2;
    border-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border: 2px solid var(--Neutral-Neutral-300);
    padding: 8px;
    position: absolute;
    overflow-y: auto;
    bottom: 56;
    right: 15px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    top: -141px;
}

.chat-box-bubble-avatar {
    width: 40px;
    height: 40px;
    border-radius: 24px;
    border: 1.5px solid rgba(199, 184, 214, 0.25);
    background: none;
    object-fit: cover;
}

.chat-box-bubble-displayName {
    margin: 0;
}

.chat-box-bubble-time {
    color: var(--Neutral-Neutral-600);
    font-family: "Be Vietnam Pro";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: -0.12px;
    margin: 0;
    text-align: left;
}

.chat-box-bubble-details {
    margin: 8px 52px;
    padding-top: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.chat-box-bubble-incoming-surround {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    flex-direction: column;
}

.chat-box-bubble-incoming {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.chat-box-bubble-incoming-content {
    display: flex;
    max-width: 576px;
    padding: 11px;
    align-items: flex-start;
    gap: 12px;
    border-radius: 4px 8px 8px 8px;
    border: 2px solid var(--Neutral-Neutral-300);
    background: var(--Neutral-Neutral-200);
    margin: 0;
    overflow-wrap: anywhere;
    flex-direction: column;
    overflow: hidden;
}

.chat-box-bubble-incoming-content>p {
    color: var(--Neutral-Neutral-900);
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.16px;
    margin: 0;
    text-align: left;
}

.chat-box-bubble-menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: var(--Neutral-Neutral-300);
    border-radius: 50%;
    cursor: pointer;
    color: white;
}

.chat-box-bubble-menu-button:hover {
    background-color: var(--Neutral-Neutral-200);
}

.chat-box-bubble-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: absolute;
    width: 120px;
    height: auto;
    background-color: var(--Neutral-Neutral-300);
    border-radius: 20px;
    padding: 8px;
    z-index: 2;
}

.chat-box-bubble-menu-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    background-color: var(--Neutral-Neutral-300);
    border-radius: 20px;
    cursor: pointer;
    color: var(--Danger-Danger-400);
    font-family: 'Be Vietnam Pro';
}

.chat-box-bubble-menu-item:hover {
    background-color: var(--Neutral-Neutral-200);
}

.emoji {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.emoji-info {
    display: none;
    width: 150px;
    height: 60px;
    background-color: #353535;
    position: fixed;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

.store-item-full-div {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.589);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
}

.store-item-full {
    width: 800px;
    height: 80%;
    background-color: white;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.418);
    display: block;
    border-radius: 15px;
    position: relative;
    overflow: auto;
}

.phonedisable {
    display: block;
}

@media screen and (max-width: 1100px) {

    .chat-box-bubble-details {
        margin: 8px 8px 8px 0px;
    }

    .chat-content {
        padding: 0px 12px calc(75px + env(safe-area-inset-top, 5px)) 12px;
    }

    .chat-box-bubble-incoming {
        gap: 10px;
    }

    .chat-box-bubble-ongoing {
        gap: 10px;
    }

    .chat-box-send {
        display: block;
        width: 30px;
    }

    .groupcreate-menu {
        max-height: 500px;
    }

    .sidebar {
        width: 100%;
        padding-top: calc(75px + env(safe-area-inset-top, 15px));
    }

    .chat-box-bubble-avatar {
        width: 30px;
        height: 30px;
    }

    .sidebar-search {
        display: none;
    }

    .chat-back {
        display: block;
    }

    .sidebar-messages {
        padding-bottom: 100px;
    }

    .sidebar-messages-content {
        gap: 8px;
    }

    .messages-div {
        margin-left: 0;
        overflow: auto;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .chat-div {
        display: none;
    }

    .chat-username {
        height: 80px;
        padding-top: env(safe-area-inset-top, 0px);
    }

    .chat {
        height: 85%;
        padding: 10px 0px;
    }

    .phonedisable {
        display: none;
    }

}