﻿/* Add these styles to your app.css or a separate component style file */

.app-logo {
    height: 50px;
    margin-right: 8px;
    /* Maintain aspect ratio */
    width: auto;
}

.brand-text {
    font-weight: 600;
    margin-left: 8px;
}

.layout-menu-shadow {
    box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2), 0px 8px 10px 1px rgba(0,0,0,0.14), 0px 3px 14px 2px rgba(0,0,0,0.12);
    border-radius: 4px;
}

.appbar-special-menu {
    min-width: 300px;
}

/* Style for active navigation items */
.mud-chip-text.mud-chip-color-primary {
    font-weight: 600;
}


/* For gradient text only */
.gradient-text {
    background-image: linear-gradient(to right, #6366f1, #8B5CF6, #D946EF) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
}

/* For gradient border */
.gradient-border {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    z-index: 0 !important;
}

.gradient-border::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    padding: 1px !important;
    border-radius: inherit !important;
    background: linear-gradient(to right, #6366f1, #8B5CF6, #D946EF) !important;
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
}
/* Desktop: Position legend absolutely over the map */
@media (min-width: 960px) {
    .legend-container {
        position: absolute;
        bottom: 5px;
        right: 5px;
        z-index: 1000;
    }
}

/* Mobile/Tablet: Position legend below the map */
@media (max-width: 959px) {
    .legend-container {
        position: relative !important;
        right: 0 !important;
        bottom: 0 !important;
        margin-top: 5px !important;
        max-width: 100% !important;
    }
}



