﻿@font-face {
    font-family: 'Montserrat-VariableFont_wght';
    src: url('fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}

.not-fullscreen {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 60vh;
    margin-bottom: 25px;
}

/* Main Overlay Container */
.fullscreen-overlay {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.8);
    z-index: 500;
    overflow-y: auto;
    padding: 16px;

    /* Animation */
    opacity: 0;
    transform: scale(0.95);
    animation: fullscreen-enter 0.3s ease-out forwards;
}

@media (max-width: 1279px) {
    .fullscreen-overlay {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .fullscreen-overlay {
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .fullscreen-overlay {
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 8px;
    }
}

/* ==========================================================================
   MudBlazor Component Overrides
   ========================================================================== */

.fullscreen-overlay .mud-paper {
    border-radius: 8px;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fullscreen-enter {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fullscreen-exit {
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Exit Animation Class */
.fullscreen-overlay.closing {
    animation: fullscreen-exit 0.25s ease-in forwards;
}
.text-overflow-fix {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/*.maplibregl-popup-content {*/
/*    border-radius: 30px !important;*/
/*}*/