﻿/* NEW DESIGN */
.rounded-button {
    padding: 0.4rem 1.15rem;
    font-weight: 400;
    border: 2px solid white;
    background-color: var(--color-brand-secondary);
    border: solid 2px var(--color-brand-secondary);
    border-radius: 20px;
    transition: 0.2s;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .rounded-button:hover {
        background-color: white;
        color: #16223C;
        cursor: pointer;
    }

.button-mmk {
    background-color: #c0a07f;
}

.button-primary {
    background-color: #16223C;
}

.button-alternative {
    background-color: #34ddc1;
}

.button-ternary {
    background-color: #ffc000;
}

.button-danger {
    background-color: #fe6f6e;
}

.button-alt-ternary {
    background-color: var(--color-alt-ternary);
}

.button-mmk-hover {
    border: 2px solid #c0a07f;
}

.button-primary-hover {
    border: 2px solid #16223C;
}

.button-ternary-hover {
    border: 2px solid #ffc000;
}

.button-alternative-hover {
    border: 2px solid #34ddc1;
}

.button-danger-hover {
    border: 2px solid #fe6f6e;
}

.button-alt-ternary-hover {
    border: 2px solid var(--color-alt-ternary);
}

.rounded-button-selected {
    background: white;
    color: #666;
}

.item-group {
    padding: 12px;
    border-radius: 4px;
    background-color: #f6f6f668;
    border: 1px solid whitesmoke;
}

.html-tooltip {
    cursor: pointer;
}

    .html-tooltip:hover .custom-tooltip {
        visibility: visible;
        opacity: 1;
    }

.modal-wide {
    max-width: 90vw;
    height: 90vh;
}

.custom-tooltip {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    z-index: 10000;
    bottom: 100%; /* Position above the container */
    left: 50%;
    margin-left: -30px; /* Center the tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

    .custom-tooltip > hr {
        background-color: white !important;
    }

    .custom-tooltip::after {
        content: '';
        position: absolute;
        z-index: 10000;
        top: 100%;
        left: 50%;
        margin-left: -10px;
        border-width: 10px;
        border-style: solid;
        border-color: #333 transparent transparent transparent;
    }

td.html-tooltip {
    overflow: visible; /* Allow the tooltip to be visible */
    position: relative; /* Ensure the tooltip is correctly positioned */
}

.pill-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    width: fit-content;
    border-radius: 4px;
    background-color: #f6f6f668;
    color: white;
    border: 1px solid whitesmoke;
}

    .pill-label:hover {
        cursor: pointer;
    }

.filter-group-vertical {
    display: flex;
    gap: 6px;
    padding: 12px;
    border-radius: 4px;
    background-color: #f6f6f668;
    border: 1px solid whitesmoke;

    flex-direction: column;
}

.legend {
    display: flex;
    flex-direction: row;
    gap: 3px;
}

.legend-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 10px;
}

.select-control {
    padding: 0.85rem 1.15rem;
    border-radius: 4px;
    background-color: #f6f6f668;
    border: 1px solid whitesmoke;
    height: 3.25rem;
    cursor: pointer;
    display: flex;
    flex: auto;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background-color: whitesmoke;
    color: #666;
}

.disabled-control {
    background-color: #c1c1c1;
    cursor: not-allowed;
}

.clickable-cell {
    cursor: pointer;
}

    .clickable-cell:hover {
        background-color: var(--color-brand-secondary);
        color: white;
    }