﻿/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 8px;
}

th {
    background-color: transparent;
}

/* Card styling */
.card {
    background-color: white;
    padding: 5px;
    margin: 5px 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 300px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.card-body {
    padding: 5px 5px;
}

/* Color classes */
.positive {
    background-color: #574F7E;
}

.negative {
    background-color: #E55028;
}

.neutral {
    background-color: #bec6cb;
}

/* Tooltip styling */
.custom-tooltip {
    font-size: 1.1rem;
}

.tooltip-inner {
    border: 1px solid #0f0147;
    text-align: left;
}

/* Card content elements */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100px;
    position: relative;
}

.card-icon {
    position: absolute;
    top: 0px;
    left: 0px;
}

.card-metric {
    margin-top: 30px;
    font-size: 55px;
}

.card-comparison {
    position: absolute;
    font-weight: bold;
    top: 0px;
    right: 0px;
    font-size: 17px;
}

.card-fixed-line-height {
    line-height: 1.5em;
    height: 3em;
    overflow: hidden;
}

#iconCanvas {
    display: none;
}

/* List group styling */
.list-group-item {
    position: relative;
    padding-left: 15px;
}

.list-group-scrollable {
    max-height: 600px;
    overflow-y: auto;
}

.notification-trash-icon-container {
    bottom: 10px;
    right: 10px;
}

/* Form elements */
.disabled-input {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.preserve-whitespace {
    white-space: pre-wrap;
}

/* Priority indicator styling */
.priority-line {
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 12px;
    width: 3px;
    background-color: inherit;
    border-radius: 1.5px;
}

/* Status indicators */
.status-icon {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0px !important;
}

    .status-icon.online {
        background-color: limegreen;
    }

    .status-icon.offline {
        background-color: red;
    }

/* Sidebar toggle button */
#toggle-notifications-sidebar {
    position: fixed;
    top: 50%;
    z-index: 1000;
    transform: translateY(-50%);
    width: auto;
    padding: 10px 5px;
    right: 0;
    border-radius: 5px 0 0 5px;
}

/* Layout transitions and sidebar behavior */
#main-content,
#notifications-sidebar,
.sidebar-right {
    transition: all 0.3s ease;
}

.hidden-sidebar {
    display: none !important;
}

.tab-pane:not(.active) {
    display: none !important;
}

.card-body p:last-child {
    margin-bottom: 0;
}

.card-footer {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Tooltip styling */
.dotted-underline-tooltip {
    border-bottom: 1px dotted #869ac0;
    cursor: help;
    text-decoration: none;
}

/* Position indicators */
.position-indicator {
    position: absolute;
    right: 10px;
    font-size: 0.9em;
    color: #574F7E;
}

.position-indicator-top {
    top: 10px;
}

.position-indicator-bottom {
    bottom: 10px;
}

.tooltip-inner {
    border: 1px solid #0f0147; /* This gives the blue border */
    text-align: left;
}
