.mud-stack-width {
    max-width: 100%;
    display: flex;
    width: auto;
}

.mud-stack-child {
    flex-shrink: 0;
}

.parent-mud-centering {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh);
    width: 100%;
}

.parent-mud-centering-64 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 64px);
    width: 100%;
}

.game-not-enabled-row {
    background: #f39b9b;
}

.game-enabled-row {
    background-color: #bdf6be;
}

.lol-parent {
    position: relative;
}

.lol-child {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 90vw; /* Ширина на всю видимую область страницы */
    height: 80vh; /* Высота на всю видимую область страницы */
}

.page-size-general {
    width: 100%;
    height: calc(100vh - 128px);
  
}

.collapser-item {
    width: 100%;
}

.sony-status-container {
    border: 1px solid lightgray;
    padding: 8px;
}

.chat-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-paper {
    height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    /*overflow: hidden;*/
    border-radius: 16px;
}

.chat-header {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background-color: var(--mud-palette-background-grey);
}

.chat-messages-container {
    /*flex: 1;*/
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: thin;
    background-color: var(--mud-palette-background);
    background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

.chat-messages-container::-webkit-scrollbar {
    width: 6px;
}

.chat-messages-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.message-row {
    display: flex;
    margin-bottom: 8px;
    animation: fadeIn 0.3s ease-in-out;
    max-width: 85%;
}

.own-message {
    margin-left: auto;
    justify-content: flex-end;
}

.message {
    padding: 10px 12px;
    border-radius: 18px;
    position: relative;
    max-width: 100%;
    word-wrap: break-word;
}

.message-sent {
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-bottom-right-radius: 4px;
}

.message-received {
    background-color: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    border-bottom-left-radius: 4px;
}

.message-text {
    font-size: 12px;
    margin-bottom: 4px;
}

.message-time {
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: right;
    margin-top: 2px;
    color: #7C90A1;
}

.chat-input-container {
    background-color: var(--mud-palette-background-grey);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/*.chat-input {*/
/*    flex: 1;*/
/*}*/

.chat-input {
    field-sizing: content;
    flex: 1;
    font-family: inherit;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    min-height: 20px;
    max-height: 200px;
    overflow-y: auto;
    resize: none;
}

.chat-input ::deep .mud-input {
    margin-top: 0;
    padding: 8px 8px;
    background-color: var(--mud-palette-surface);
    border-radius: 24px;
}

.typing-indicator {
    padding: 10px;
    width: auto;
}

.typing-dots {
    display: flex;
    align-items: center;
    height: 20px;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: var(--mud-palette-text-secondary);
    border-radius: 50%;
    margin: 0 3px;
    opacity: 0.6;
    animation: bounce 1.5s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .chat-paper {
        height: calc(100vh - 64px);
        border-radius: 0;
    }

    .chat-header, .chat-input-container {
        border-radius: 0;
    }
}

.page-row-full-size {
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: auto;
    padding: 8px;
    display: flex;
}

.list-content {
    background-color: #aed9ff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fields-content {
    display: flex;
    flex-direction: row;
    padding: 0 !important;
}

.column-max-height-1 {
    max-height: 100%;
    height: 100%;
    overflow: auto;
    width: 100%;
}

.just-wrap-content {
    flex-grow: 0; /* Don't grow */
    flex-shrink: 0; /* Prevent shrinking */
    flex-basis: auto; /* Size based on content */
}

.original-field-input {
    border-radius: 0;
    border: 1px solid lightgray;
    height: 32px;
    padding: 0 12px;
}

.center-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    flex-grow: 1;
    border: 1px solid gray;
}
