@import url("css/Shared.css");
@import url("css/TextStyles.css");

@import url("css/Components/Animations.css");
@import url("css/Components/Buttons.css");
@import url("css/Components/ContextMenu.css");
@import url("css/Components/LangaugeSelector.css");
@import url("css/Pages/Account.css");
@import url("css/Pages/Home.css");
@import url("css/Pages/Project.css");

@import url("_content/WebStatik.Components.Shared/ComponentsShared.css");

html {
    font-family: 'Segoe UI';
    user-select: none;
}

.desktop-body {
    background: url('Images/Background2.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 0;
    margin: 0;
}

.mobile-body {
    background-color: #AAAAAA;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100dvh;
    overflow-x: clip !important;
}

input:focus {
    outline: none;
    box-shadow: none;
}

h1:focus {
    outline: none;
}

.mud-swipearea {
    touch-action: pan-y !important;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

p {
    margin-top: 0px;
}

table {
    border: none;
    border-collapse: collapse;
    table-layout: fixed;
}

.hoverable:hover {
    filter: brightness(95%);
}

.inline-link {
    color: blue;
    text-decoration: underline;
}

.otp-input-container {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.otp-box {
    width: 40px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.outlined-primary {
    outline: 2px solid #0D47A1;
    outline-offset: -1px;
}

.outlined-secondary {
    outline: 2px solid #1565C0;
    outline-offset: -1px;
}

/* White  #FFFFFF */
.icon-filter-white {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(306deg) brightness(103%) contrast(104%);
}

/* Gray.Darken3  #424242 */
.icon-filter-permanent {
    filter: invert(23%) sepia(2%) saturate(18%) hue-rotate(314deg) brightness(93%) contrast(86%);
}

/* Green.Darken1  #43A047 */
.icon-filter-live {
    filter: invert(50%) sepia(9%) saturate(3189%) hue-rotate(73deg) brightness(104%) contrast(77%);
}

/* Lightblue.Darken2  #0288D1 */
.icon-filter-snow {
    filter: invert(49%) sepia(97%) saturate(4825%) hue-rotate(180deg) brightness(95%) contrast(98%);
}

/* Cyan.Accent4  #00B8D4 */
.icon-filter-wind {
    filter: invert(64%) sepia(29%) saturate(5236%) hue-rotate(145deg) brightness(91%) contrast(103%);
}

.icon-filter-temperature {
    filter: invert(41%) sepia(100%) saturate(1418%) hue-rotate(4deg) brightness(96%) contrast(103%);
}

/* Brown.Darken1  #AD1457 */
.icon-filter-accident {
    filter: invert(17%) sepia(29%) saturate(7334%) hue-rotate(316deg) brightness(94%) contrast(101%);
}

/* Orange.Darken3  #6D4C41 */
.icon-filter-seismic {
    filter: invert(31%) sepia(8%) saturate(1733%) hue-rotate(328deg) brightness(98%) contrast(93%);
}

/* DeepPurple.Darken1  #5E35B1 */
.icon-filter-imperfection {
    filter: invert(21%) sepia(70%) saturate(3027%) hue-rotate(252deg) brightness(80%) contrast(88%);
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }



/* NAVBAR CLASSES - NEED TO BE HERE*/

.header-container {
    background-color: #0D47A1;
    height: 60px;
    display: flex;
    padding: 3px;
    border-bottom: 1px solid #444444;
    position: relative;
    z-index: 10;
}

.app-name-container {
    font-size: 28px;
    font-weight: bold;
    color: white;
    /*width: 180px;*/
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 0.2px solid #BBBBBB;
}

    .app-name-container:hover {
        cursor: pointer;
    }

.nav-bar {
    display: flex;
    flex-grow: 1;
}

.nav-item {
    all: unset;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    font-size: 20px;
    border-right: 0.2px solid #BBBBBB;
    text-decoration: none !important;
}

    .nav-item:hover {
        background-color: #1565C0;
        cursor: pointer;
    }

.user-button {
    min-width: 60px;
    height: 100%;
    font-size: 25px;
    color: white;
    border-left: 0.2px solid #BBBBBB;
    display: flex;
    justify-content: end;
    align-items: center;
}

    .user-button:hover {
        background-color: #1565C0;
        cursor: pointer;
    }

.nav-link-item {
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.nav-link-item-left {
    color: inherit;
    text-decoration: none;
}

.nav-item-right {
    width: 100px;
    height: 100%;
    font-size: 20px;
    color: white;
    border-left: 0.2px solid #BBBBBB;
}

    .nav-item-right:hover {
        background-color: #1565C0;
        cursor: pointer;
    }

.log-out-button {
    height: 100%;
    width: 100%;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
}

.language-button {
    width: 80px;
    height: 100%;
    border-left: 0.2px solid #BBBBBB;
}

    .language-button:hover {
        background-color: #1565C0;
    }
