﻿.ribbon-fixed {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: fixed;
    top: 30;
    right: 0;
    z-index: 9999; /* Keep on top */
}

.ribbon-fixed span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 3px 0;
    background-color: #d32f2f; /* Red */
    color: #fff;
    font-weight: bold;
    text-align: center;
    transform: rotate(45deg);
    top: 30px;
    right: -60px;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* Fix height and enable scrolling */
.grid {
    height: 25rem;
    overflow-y: auto;
}

    .grid ::deep table {
        min-width: 100%;
    }

/* Sticky header while scrolling */
::deep thead {
    position: sticky;
    top: 0;
    background-color: #d8d8d8;
    outline: 1px solid gray;
    z-index: 1;
}

/* For virtualized grids, it's essential that all rows have the same known height */
::deep tr {
    height: 30px;
    border-bottom: 0.5px solid silver;
}

::deep tbody td {
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    text-overflow: ellipsis;
}

window.downloadFile = function (url) {
    var link = document.createElement('a');
    link .href = url;
    link .download = '';
    document .body.appendChild(link);
    link .click();
    document .body.removeChild(link);
}

.mud-divider {
    border-width: 2px;
    border-color: #FFFFFF;
}

.avatar-hover:hover {
    border: 2px solid #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
}

.avatar-hover .mud-image {
    transition: transform 0.3s ease-in-out;
}

.avatar-hover:hover .mud-image {
    transform: scale(1.1);
}

.hover-effect {
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
}

    .hover-effect:hover {
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2), 0px 0px 15px rgba(255, 255, 255, 255);
        transform: translateY(-5px);
    }

/*.hover-effect:hover {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    } */

/* Mobile styles as individual classes instead of media query */
.app-title {
    font-size: 1.75rem;
}

.mobile-stack {
    flex-direction: column !important;
}

.mobile-full-width {
    width: 100% !important;
}

.mobile-center {
    justify-content: center !important;
    text-align: center !important;
}

.mobile-mt-2 {
    margin-top: 8px !important;
}

.mobile-mb-2 {
    margin-bottom: 8px !important;
}

.image-container {
    position: relative;
    display: inline-block;
}

.beta-ribbon {
    position: absolute;
    top: 10px;
    right: -10px;
    background: #e63946;
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.app-header {
    display: flex;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 20px;
    border-radius: 5px;
}

.logo-container {
    margin-right: 20px;
}

.app-logo {
    width: 75px;
    height: 75px;
    border-radius: 10px;
}

.app-info {
    display: flex;
    flex-direction: column;
}

.app-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.app-description {
    color: #aaaaaa;
    margin-bottom: 15px;
}

.app-metadata {
    display: flex;
    margin-bottom: 15px;
}

.metadata-item {
    margin-right: 30px;
}

.label {
    display: block;
    font-size: 0.8rem;
    color: #aaaaaa;
}

.download-link {
    color: #5a8aff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    margin-top: 5px; /* Adjust the value as needed */
}

/* Menu bar */
.image-container {
    position: relative;
    display: inline-block;
}

.beta-ribbon {
    position: absolute;
    top: 10px;
    right: -10px;
    background: #e63946;
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.nav-container {
    position: relative;
    height: 100vh; /* Ensure it takes full height */
}

.version-button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.version-button2 {
    position: absolute;
    bottom: 15px;
    left: 15%;
    transform: translateX(-50%);
    font-size:9px;
}

.applogo {
    width: 30px;
    height: 30px;
    border-radius: 20px;
}