/* Start Page Dashboard */
::selection {
    background-color: #0bff15 !important;
    color: hsl(0, 0%, 0%) !important;
}

body {
    background-color: #000;
    position: relative;
    display: flex;
    flex-direction: column;
}

nav {
    width: 100%;
    height: 90px;
    background-color: #000;
    color: #fff;
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .content-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .content-nav h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px !important;
    font-size: 25px;
    text-align: center;
}

nav .content-nav h3 img {
    width: 75px;
    margin-right: 10px;
}

/* Start Buttons Control User */

.container-buttons-control-user {
    margin-top: 100px;
}

.container-buttons-control-user form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.container-buttons-control-user form .buttons-control-users {
    margin: 5px;
    padding: 10px;
    font-weight: bold;
    color: #fff;
    border: 2px solid transparent !important;
    transition: all 0.3s ease-in-out;
    outline: 0px;
    border-radius: 5px;
    width: 222px;
    max-width: 100%;
}

.container-buttons-control-user form .button-valid {
    background-color: #0d6efd;
}

.container-buttons-control-user form .button-valid:hover {
    background-color: transparent !important;
    border: 2px solid #0d6efd !important;
}

.container-buttons-control-user form .button-error {
    background-color: #dc3545;
}

.container-buttons-control-user form .button-error:hover {
    background-color: transparent !important;
    border: 2px solid #dc3545 !important;
}

.container-buttons-control-user form .button-comfirmed {
    background-color: #198754;
}

.container-buttons-control-user form .button-comfirmed:hover {
    background-color: transparent !important;
    border: 2px solid #198754 !important;
}

.container-buttons-control-user form .button-logout {
    background-color: #CDDC39;
}

.container-buttons-control-user form .button-logout:hover {
    background-color: transparent !important;
    border: 2px solid #CDDC39 !important;
}

.container-buttons-control-user .parent-buttons-events {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.container-buttons-control-user .parent-buttons-events .buttons-control-users {
    margin: 5px;
    padding: 5px;
    font-weight: bold;
    color: #fff;
    border: 2px solid transparent !important;
    transition: all 0.3s ease-in-out;
    outline: 0px;
    border-radius: 5px;
    width: 148px;
}

.container-buttons-control-user .parent-buttons-events .button-1 {
    background-color: #712cf9;
}

.container-buttons-control-user .parent-buttons-events  .button-1:hover {
    border: 2px solid #712cf9 !important;
    background-color: transparent;
}

.container-buttons-control-user .parent-buttons-events .button-2 {
    background-color: #ff9800;
}

.container-buttons-control-user .parent-buttons-events .button-2:hover {
    border: 2px solid #ff9800 !important;
    background-color: transparent;
}

.container-buttons-control-user .parent-buttons-events .button-3 {
    background-color: #607D8B;
}

.container-buttons-control-user .parent-buttons-events .button-3:hover {
    border: 2px solid #607D8B !important;
    background-color: transparent;
}

.container-buttons-control-user .parent-buttons-events .button-12 {
    background-color: #71e902;
    text-align: center !important;
    text-decoration: none;
}

.container-buttons-control-user .parent-buttons-events .button-12:hover {
    background-color: transparent !important;
    border: 2px solid #71e902 !important;
}
/* End Buttons Control User */

/* Start Animation Titles */
@keyframes colorCycle {
    0% {
        color: red;
    }
    20% {
        color: orange;
    }
    40% {
        color: yellow;
    }
    60% {
        color: green;
    }
    80% {
        color: blue;
    }
    100% {
        color: #FFF;
    }
}

.titles {
    animation: colorCycle 5s linear infinite;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
}

@keyframes colorborder {
    0% {
        border-color: red;
    }
    20% {
        border-color: orange;
    }
    40% {
        border-color: yellow;
    }
    60% {
        border-color: green;
    }
    80% {
        border-color: blue;
    }
    100% {
        border-color: #FFF;
    }
}
/* End Animation Titles */

/* Start Table Information User */

.parent-table {
    height: 308px !important;
    overflow-y: scroll !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.table {
    color: #FFF !important;
    /* width: 50% !important; */
}

.parent-table thead {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.parent-table thead tr {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.parent-table thead tr th {
    flex: 1;
}

.parent-table .table .dynamic-section {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
}

.parent-table .dynamic-section tr {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.parent-table .dynamic-section tr td {
    flex: 1;
}

/* End Table Information User */
/* End Page Dashboard */

/* Start User Agent And contact Support */
.contact-support {
    width: fit-content;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin:  0px auto;
}

@media (max-width:767px) {
    .content-contact-support-and-user-agent .contact-support {
        width: 100% !important;
    }
}

.contact-support .titles {
    margin-bottom: 50px;
}

.contact-support .icon-parent {
    position: relative;
    width: 100%;
    z-index: 1;
}

.contact-support .icon-parent .circle {
    width: 70px;
    height: 70px;
    background-color: #333;
    border-radius: 50%;
    border: 2px solid #e50914;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.contact-support .icon-parent img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
}

.chat-box {
    width: 300px;
    max-width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
}

#message-container {
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #ddd;
    padding: 5px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

#message-container::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

/* Style the scrollbar thumb */
#message-container::-webkit-scrollbar-thumb {
    background-color: #535353; /* Background color of the scrollbar thumb */
    /* border-radius: 6px; Rounded corners of the scrollbar thumb */
}

/* Style the scrollbar track */
#message-container::-webkit-scrollbar-track {
    background-color: transparent; /* Background color of the scrollbar track */
}

.message {
    padding: 10px;
    padding-right: 40px;
    margin: 5px 0;
    border-radius: 5px;
    width: fit-content;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.message .time {
    position: absolute;
    right: 4px;
    bottom: 3px;
    font-size: 12px;
}

.user1 {
    background-color: #e50914;
    color: white;
    align-self: flex-start;
}

.user2 {
    background-color: #adadad;
    color: #fff;
    align-self: flex-end;
}

#message-input {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}

#send-button {
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    border: 0px;
    outline: 0px; 
    padding: 10px;
    width: 100%;
    height: 40px;
    background-color: #e50914;
    color: #FFF;
    cursor: pointer;
}

#clearButton {
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    border: 0px;
    outline: 0px; 
    padding: 10px;
    width: 100%;
    height: 40px;
    margin-top: 7px;
    background-color: #0bff15;
    color: #FFF;
    cursor: pointer;
}

.online {
    display: block !important;
    width:16px !important;
    height:16px !important;
    border-radius: 50% !important;
    background-color: green !important;
}

.offline {
    display: block !important;
    width:16px !important;
    height:16px !important;
    border-radius: 50% !important;
    background-color: red !important;
}
