body{
    background-color: #f8f9fa;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

input[type="text"], input[type="email"], input[type="password"], select, textarea{
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button{
    background-color: #007bff;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover{
    background-color: #0056b3;
}
table{
    width: 100%;
    border-collapse: collapse;
}
table th, table td{
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

table th{
    background-color: #f2f2f2;
}
#chat-box{
    width: 100%;
    height: 400px;
    overflow-y: scroll;
    border: 1px solid #ddd;
    padding: 10px;
}

.error{
    color: red;
}
.success{
    color: green;
}

.btn-logout{
    background-color: #dc3545;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
}
.btn-logout:hover{
    background-color: #c82333;
}

.btn-delete{
    background-color: #dc3545;
    color: white;
    padding: 8px 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-delete:hover{
    background-color: #c82333;
}

.btn-edit{
    background-color: #007bff;
    color: white;
    padding: 8px 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-edit:hover{
    background-color: #0056b3;
}
#chat-form{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;

}
#chat-form input[type="text"]{
    flex: 1;
    margin-right: 10px;
}

#chat-form button{
    flex: 0 0 100px;
    border-radius: 40rem;
}
.loader {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loader div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #007bff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loader div:nth-child(1) {
    left: 8px;
    animation: loader1 0.6s infinite;
}

.loader div:nth-child(2) {
    left: 8px;
    animation: loader2 0.6s infinite;
}

.loader div:nth-child(3) {
    left: 32px;
    animation: loader2 0.6s infinite;
}

.loader div:nth-child(4) {
    left: 56px;
    animation: loader3 0.6s infinite;
}

@keyframes loader1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes loader2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

@keyframes loader3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}