
body {
    font-size: 15px;
    color: #fff;
    background-color: var(--bs-gray-900) !important;
}

#bm-left-bottom a {
    color: var(--bs-info-bg-subtle);
}

.h-10 {
  height: 10%;
}
.h-80 {
  height: 80%;
}


#bm-left {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.15) 25%, rgba(0, 0, 0, 0.0) 75%, rgba(255, 255, 255, 0.2) 100%);
}
#bm-left-top {

}
#bm-left-top h3 {
    margin: 15px 0 0 5px;
}
#bm-left-center {

}
#bm-left-center video {
    width: 50vw;
    background-color: rgba(0, 0, 0, 0.5);
}
#bm-left-bottom {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0 15px;
}
#bm-left-bottom .btn-outline-light {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(0, 0, 0, 0.9);
    background: linear-gradient(0deg, rgba(240, 240, 240, 0.7), rgba(255, 255, 255, 0.8));
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), inset 0 -2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.15s ease;
}
#bm-left-bottom .btn-outline-light:hover,
#bm-left-bottom .btn-outline-light:active,
#bm-left-bottom .btn-outline-light.show {
    background: linear-gradient(180deg, rgba(240, 240, 240, 0.7), rgba(255, 255, 255, 0.8));
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}
#bm-left-bottom #graphButton #mediation-progress {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.2);
}
#graphDropdown .dropdown-menu {
    width: 400px;
    bottom: 100%;
    top: auto;
    left: 0;
    margin-bottom: 0.125rem;
}
#bm-left-bottom .dropdown-menu {
    min-width: 200px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
#bm-left-bottom .dropdown-menu .dropdown-item {
    color: rgba(0, 0, 0, 0.85);
}
#bm-left-bottom .dropdown-menu .dropdown-item-text {
    color: rgba(0, 0, 0, 0.6);
}
#bm-left-bottom .dropdown-menu .dropdown-item:hover,
#bm-left-bottom .dropdown-menu .dropdown-item:focus {
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.95);
}
#bm-left-bottom .dropdown-menu .dropdown-item.text-danger {
    color: var(--bs-danger);
}
#bm-left-bottom .dropdown-menu .dropdown-divider {
    border-color: rgba(0, 0, 0, 0.1);
}
#bm-left-bottom .dropdown-menu .dropdown-item:disabled {
    color: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    opacity: 0.6;
}
#bm-right {
    
}
div#bm-right .row>* {
    padding: 0;
    background-color: #fff;
}
#bm-right-top {

}
#bm-right-bottom {

}



.pagination .step-links {
    margin: 0 auto;
}




#user-list .user {
/*    cursor: pointer;*/
/*    cursor: text;*/
}

button#btn-send {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

div.text span.small {
    font-style: italic;
    opacity: 0.4;
}

div#controls-list {
    margin-top: 30px;
}

.page-header {
    margin-bottom: 30px;
}

.form-signin input#username {
    margin-bottom: 15px;
}

.manage-list {
    margin-bottom: 15px;
}

#bm-right .card {
    border-radius: 0;
}

#bm-right .card-header {
    height: 6vh;
    display: flex;
    align-items: center;
}

#bm-right-bottom .card-footer {
    height: 10vh;
    padding-top: 2.8vh;
}

.messages {
    background-image: linear-gradient(180deg, rgb(0 0 0 / 10%),rgb(0 0 0 / 0%));
    position: relative;
    padding: 10px 10px 0 10px;
    margin: 0 0 0 0;
/*    height: 350px;*/
    height: 59vh;
    overflow-x: hidden;
    overflow-y: scroll;
}

#messages video {
    width: 19vw;
}

.messages .message {
    clear: both;
    overflow: hidden;
    margin-bottom: 20px;
}

.messages .message.left .avatar {
/*    background-color: var(--bs-purple);*/
    float: left;
}

.messages .message.left .text_wrapper {
/*    background-color: #ffe6cb;*/
    background-color: #f6f7f9;
    margin-left: 20px;
}

.messages .message.left .text_wrapper::after, .messages .message.left .text_wrapper::before {
    right: 100%;
    border-right-color: #f6f7f9;
}

.messages .message.left .text {
    color: #656e83;
}

.messages .message.right .avatar {
/*    background-color: var(--bs-teal);*/
    float: right;
}

.messages .message.right .text_wrapper {
    background-color: #058fff;
    margin-right: 20px;
    float: right;
}

.messages .message.right .text_wrapper::after, .messages .message.right .text_wrapper::before {
    left: 100%;
    border-left-color: #058fff;
}

.messages .message.right .text {
    color: #ffffff;
}

.messages .message .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    color: white;
/*    padding-top: 18px;*/
}

.messages .message .text_wrapper {
    display: inline-block;
    padding: 20px;
    border-radius: 17px;
    max-width: 70%;
    min-width: 100px;
    position: relative;
}

.messages .message .text_wrapper::after, .messages .message .text_wrapper:before {
    top: 18px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.messages .message .text_wrapper::after {
    border-width: 13px;
    margin-top: 0;
}

.messages .message .text_wrapper::before {
    border-width: 15px;
    margin-top: -2px;
}

.messages .message .text_wrapper .text {
    font-size: 20px;
    font-weight: 300;
}

.message b {
    font-weight: 700;
}

.plaintiff-bg {
    background-color: var(--bs-teal);
}

.defendant-bg {
    background-color: var(--bs-purple);
}

#user-list span {
    font-style: italic;
    opacity: .5;
    /* display: block; */
    /* margin-left: 20px; */
    float: right;
}

#mediation-progress {
    width: 200px;
}

#graphModal, 
#endModal, 
#suggestionModal, 
#bracketModal, 
#waitingModal, 
#openingModal, 
#missingBriefsModal, 
#confirmOverwriteModal {
    color: var(--bs-body-color);
}

#endModal .modal-footer {
    justify-content: space-between;
}

#proposal-box {
    justify-content: space-evenly;
    display: flex;
    margin-top: 10px;
}

#proposal-box span#timer {
    font-weight: bold;
}

#bracketContainer .col {
    margin-bottom: 30px;
    border-radius: 10px;
}

.range-p input, .range-d input {
    border-radius: 14px;
    padding: 0 7px;
}

.range-p input {
    background: linear-gradient(0.25turn, var(--bs-teal), var(--bs-white), var(--bs-white));
}

.range-d input {
    background: linear-gradient(0.25turn, var(--bs-white), var(--bs-white), var(--bs-purple));
}

.bg-darkorange {
    background-color: rgb(255,140,0) !important;
}

#suggestionContainer .range-labels {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 5px;
}

#suggestionSlider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(0.25turn, #198754, #ffc107, #fd7e14);
    border-radius: 4px;
    outline: none;
}

#suggestionSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

#suggestionSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

#suggestionSlider::-webkit-slider-runnable-track {
    height: 8px;
    background: linear-gradient(0.25turn, #198754, #ffc107, #fd7e14);
    border-radius: 4px;
}

#suggestionSlider::-moz-range-track {
    height: 8px;
    background: linear-gradient(0.25turn, #198754, #ffc107, #fd7e14);
    border-radius: 4px;
}

#suggestionValue {
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
}

/*#graphModal, .modal-backdrop {
    width: 66.66666667%;
}*/

span.asteriskField {
    color: red;
}

.message-tooltip {
    --bs-tooltip-bg: var(--bs-green);
    --bs-tooltip-color: var(--bs-white);
}
.message-tooltip .tooltip-arrow {
    display: none;
}

.monospace {
    font-family: monospace;
}

.form-text {
    color: var(--bs-gray-500);
}

.manage-session-buttons * {
    display: block;
    margin: 0 10px 10px 0;
    text-decoration: none;
}

.manage-session-buttons i {
    margin: 0;
}

.manage-session-buttons .btn-purple, .manage-session-buttons .btn-purple:hover {
    background-color: purple;
    border-color: purple;
    color: white;
}

/* ====== Notification Console Styles ====== */

#notificationModal {
    color: var(--bs-body-color);
}

.notification-messages {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.notification-message {
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    width: fit-content;
    max-width: 80%;
}

.notification-message.sent {
    background-color: var(--bs-primary);
    color: white;
    margin-left: auto;
    text-align: right;
}

.notification-message.received {
    background-color: #f0f0f0;
    margin-right: auto;
    text-align: left;
}

.notification-text {
    margin-bottom: 4px;
}

.notification-meta {
    font-size: 0.85em;
}

.notification-message.sent .notification-meta {
    color: rgba(255, 255, 255, 0.8);
}

.notification-message.received .notification-meta {
    color: #666;
}

.notification-sender {
    font-weight: 600;
}

.notification-timestamp {
    font-size: 0.9em;
}

#notificationBadge {
    font-size: 0.7em;
}

.notification-option-btn {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.notification-option-btn:hover {
    background-color: #f5f5f5;
    border-color: var(--bs-primary);
}

.notification-option-btn:active {
    background-color: #e9ecef;
}

.notification-option-btn.selected {
    background-color: #e7f1ff;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

#notification-options {
    padding: 5px;
}
