:root {
    --sspace-blue: #1e87ae;
}

.bg-default {
    background: #f3f4f6;
}

.bg-blue {
    background-color: var(--sspace-blue);
}

.btn-blue {
    background-color: var(--sspace-blue) !important;
    color: #fff;
}

.btn-blue:hover {
    background-color: #1b7697 !important;
    color: #fff;
}

.text-blue {
    color: var(--sspace-blue);
}

.badge-minus {
    color: #991b1b;
    background-color: #ffd4d4;
}

.badge-plus {
    color: #065f46;
    background-color: #d1fde7;
}

.heat-cell {
    background-color: hsl(
            194,
            49%,
            calc(95% - var(--heat, 0) * 45%)
    ) !important;
    transition: background-color 0.2s ease !important;
}

.shadow-md {
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.09) !important;
}

.disabled-same-style {
    pointer-events: none;
}

.overview-card:hover {
    transform: scale(1.01);
}

.btn-row-edit {
    display: none;
}

tr:hover .btn-row-edit {
    display: inline-flex;
    position: absolute;
    transform: translate(-100%, -25%);
}

.animate-icon {
    transition: .1s ease;
}

.rotate-180 {
    transform: rotate(180deg);
}

.phone-input {
    position: absolute;
    top: -175px; /* Move above the visible area */
    border: none;
}

.elem-clickable {
    cursor: pointer;
}

@media (max-width: 992px) {
    .td-hidden-lg {
        display: none;
    }

    .tr-pointer-lg {
        cursor: pointer;
    }
}

@media (min-width: 768px) {
    .elem-shown-md {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .elem-hidden-md {
        display: none !important;
    }

    .td-hidden-md {
        display: none;
    }

    .tr-pointer-md {
        cursor: pointer;
    }

    .td-cut-text-md {
        max-width: 0;
        width: 99%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cut-text-md {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .td-hidden-sm {
        display: none;
    }

    .tr-pointer-sm {
        cursor: pointer;
    }
}
