﻿/* General reset and body styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0e0e10; /* Twitch-like background */
    font-family: Arial, sans-serif;
    color: #efeff1;
}
.container {
    width:100%;
    height:auto;
}
.video {
    float: left;
    /*height: 720px;*/
    width: 70%;
}
.player-dimensions {
    width: 100%;
}

video#my-video {
    width: 720px;
    height: auto;
}

.dplayer {
    width: 85%;
    float: left;
}

/* The main container for the entire chat panel */
.chat-container {
    float: left;
    display: flex;
    flex-direction: column;
    width: 15%; /* Adjust as needed */
    max-height: 720px; /* Adjust as needed */
    background-color: #18181b;
    border: 1px solid #323234;
    overflow: hidden;
}

/* Header area at the top */
.chat-header {
    background-color: #1f1f23;
    padding: 10px;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid #323234;
}

/* Scrollable area for messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    list-style-type: none;
}

/* Individual messages in the list */
.chat-messages li {
    margin-bottom: 6px;
}

/* Delete link styling */
.delete-link {
    color: red;
    margin-left: 8px;
    cursor: pointer;
}

/* Input area at the bottom */
.chat-input {
    display: flex;
    background-color: #1f1f23;
    border-top: 1px solid #323234;
}

.chat-input input[type="text"] {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 13px;
    background-color: #2f2f32;
    color: #efeff1;
}

.chat-input button {
    border: none;
    padding: 10px 15px;
    background-color: #9146ff;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
}

.chat-input button:hover {
    background-color: #772ce8;
}

/* Optional scrollbar styling for WebKit browsers */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #2f2f32;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #555;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.login-link {
    color: #9146ff;
    text-decoration: none;
    font-size: 13px;
    background-color: #2f2f32;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #323234;
}

    .login-link:hover {
        background-color: #3b3b40;
    }

.delete-icon {
    font-size: 14px;
    vertical-align: middle;
}

.delete-link {
    margin-left: 8px;
    cursor: pointer;
}

.delete-link:hover .delete-icon {
    color: red;
}
/* Highlight class for pinged messages */
.highlight {
    background-color: rgba(255, 255, 0, 0.2); /* Light yellow background */
}

/* Dark modal background */
.dark-modal {
    background-color: #2f2f32; /* or your preferred dark color */
    color: #efeff1; /* lighter text */
    border: 1px solid #323234;
}

/* Dark header/footer */
.dark-modal-header,
.dark-modal-footer {
    background-color: #1f1f23;
    border-color: #323234;
}

/* Make the close button white */
.btn-close-white {
    filter: invert(100%);
}

/* Dark input fields */
.dark-input {
    background-color: #3b3b40;
    border: 1px solid #444;
    color: #efeff1;
}

    /* Override the default placeholder color for better visibility on dark inputs */
    .dark-input::placeholder {
        color: #ccc;
    }

/* If you want a darker backdrop overlay */
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.85);
}

.clear {
    clear:both;
}
.emote {
    height: 20px; /* Adjust the size as needed */
    vertical-align: middle;
    margin: 0 2px;
}

.emote-large {
    height: 60px; /* 3x the normal height */
    width: auto;
    vertical-align: middle;
}

.emote-menu {
    display: flex;
    gap: 5px;
    padding: 5px;
    background-color: #1f1f23;
    border-top: 1px solid #323234;
    border-bottom: 1px solid #323234;
}

.emote-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.emote-button img {
    height: 24px;
    width: 24px;
}