.chat-container {
    width: 100%;
    max-width: 605px;
/*    border: 1px solid #ccc;*/
/*    border-radius: 10px;*/
    padding: 10px;
    background: #f1f1f1;
}
.parent-chat-container {
    display: flex;
    justify-content: flex-end; /* Jobbra igazítja a tartalmat */
    padding: 10px; /* Ad egy kis térközt */


}
.mic {
	float: right;
}
.micred {
	background-color: red;
}

#chat-input {
    width: 100%;
    min-height: 40px;
    max-height: 150px;
    overflow-y: auto;
    border: none;
    outline: none;
    font-size: 18px;
    line-height: 22px;
    background: white;
    padding: 5px;
    border-radius: 5px;
    box-sizing: border-box;
    white-space: pre-wrap; /* Megőrzi az új sorokat */
    margin-bottom: 10px;
}

#chat-input:empty:before {
    content: attr(placeholder);
    color: gray;
}

pre {
	margin-top: 100px;
}

#message-container {
	width: 400px;
	border: 1px solid #666;
	height: 600px;
	background-color: #000;
	position: absolute;
	top: 60px;
	right: 0;
	z-index: 1000;
}
.message-box {
	border: 1px solid #666;
	width: 60%;
	height: 3em;
}

.message-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    max-width: 400px;
    margin: auto;
}

.message {
    display: flex;
    align-items: center;
    margin: 10px;
}

.message.mleft {
    justify-content: flex-start;
}

.message.mright {
    justify-content: flex-end;
}

.bubble {
    padding: 10px 15px;
/*    border-radius: 15px;*/
    max-width: 70%;
    word-wrap: break-word;
    font-size: 18px;
    clip-path: polygon(0px 16px, 16px 0px, 100% 0px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0px 100%);
}

.message.mleft .bubble {
    background-color: #0084ff;
    color: white;
}

.message.mright .bubble {
    background-color: #f1f1f1;
    color: #333;
}

.newmessage {
	margin: 10px;
}




#messuser {
	width: 400px;
	border: 1px solid #666;
	height: 620px;
	margin-left: 10px;
	float: left;
}
#messcont {
	width: 700px;
	border: 1px solid #666;
	height: 600px;
	float: left;
	padding: 10px;
	overflow-x: hidden;
    overflow-y: scroll;
    background-color: #666;
}
.dashed-line-container {
            display: flex;
            align-items: center;
            width: 100%;
            margin: 20px 0;
}
.dashed-line-container hr {
            flex-grow: 1;
            border: none;
            border-top: 1px dashed #888;
            margin: 0 10px;
}
.dashed-line-container hr + span {
          color: #888;
/*            background-color: #888;*/
            border: 1px solid #888;
            padding: 5px 10px;
            font-size: 18px;
}


.muser {
	background-color: #ccc;
	border-bottom: 1px solid green;
	padding: 5px;
	height: 100px;
	position: relative;
}
.muser:hover {
	background-color: #666;
	cursor: pointer;
}
.muser img {
	float: left;
	width: 100px;
    height: 100px;
    margin-right: 10px;
}
.muser span {
	float: right;
}
.muser p {
	padding: 0;
	margin: 0;
}
.muser.active {
	background-color: #666;
}

.mess {
	background-color: #e3b8b8;
	border-radius: 10px;
	margin: 10px 0;
	padding: 10px;
    width: fit-content;
    clear: both;
	font-size: 24px;
}
.mess span {
	font-size: 18px;
}
.mess p {
	margin: 0;
	padding: 0;
}
.messother p {
	font-weight: 600;
}
.messme p {
	font-weight: 300;
}

.messme {
	float: right;
	background-color: #f3e8e8;
	margin-left: 150px;
}
.messother {
	float: left;
	margin-right: 150px;
	border: 1px solid red;
}

#newmessage textarea {
	font-size: 24px;
	width: 100%;
	box-sizing: border-box;
	padding: 5px;
}
#newmessage button {
	font-size: 24px;
/*	width: 100%;*/
}
.ball:before {
/*	position: relative;*/
}
.ball {
	position: absolute;
	background-color: red;
	padding: 5px;
	top: 80px;
	right: 15px;
	border-radius: 50%;
    width: 32px;
    height: 32px;
    text-align: center;
    text-align: center;
    color: white;
    font-weight: 700;
}
.bounce {
	animation: bounce 1s ease-in infinite;
}
.pulse {
	animation: pulse-animation 2s infinite;
	box-shadow: 0 0 0 0 rgba(255, 82, 82, 1);
}
.buttonflash {
	animation: flash 3s infinite;
}



@keyframes pulse-animation {
  0% {
/*    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);*/
    box-shadow: 0 0 0 0px rgba(255, 82, 82, 0.5);
  }
  100% {
/*    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);*/
    box-shadow: 0 0 0 20px rgba(255, 82, 82, 0);
  }
}

/*box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);*/



@keyframes bounce {
  50% {
     transform: translateY(-10px);
  }
}

@keyframes flash {
	0% { background-color: rgba(0, 100, 0, 0); }
	50% { background-color: rgba(0, 100, 0, 0.5); }
	100% { background-color: rgba(0, 100, 0, 0); }
}

.pusha {
	position: absolute;
	top: 0;
	width: 100%;
	height: 64px;
/*	animation: flash 3s infinite;*/
	pointer-events: none;
/*	animation: flash 1s linear 3;*/
}