/* MAIN */

:root {
}

*,
*::before,
*::after {
    box-sizing: inherit;
    color: inherit;
    font-family: inherit;
    font-feature-settings: inherit;
    font-size: inherit;
    font-variant-numeric: inherit;
    font-weight: inherit;
    line-height: inherit;
    user-select: none;
}

[hidden],
[v-cloak] {
    display: none !important;
}

html {
    box-sizing: border-box;
    font-family: 'Corbel', Arial, sans-serif;
    font-size: 62.5%;
    height: var(--height);
    line-height: 1.25;
    margin: 0;
    padding: 0;
    position: relative;
    text-rendering: optimizeLegibility;
    width: var(--width);
}

body {
    font-size: 1.6rem;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    transform-origin: top left;
    width: 100%;
}

[aria-hidden="true"] {
    speak: none;
}

.clearfix {
    clear: both;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    -webkit-clip-path: none;
    clip-path: none;
}

/* RESET */

strong {
    font-weight: bold;
}

a:hover {
    text-decoration: none;
}

a:focus {
    box-shadow: 0 0 0 0.2rem rgb(252 255 255 / 20%);
}

button {
    background-color: #eee;
    border: 0.1rem solid rgb(23 29 43 / 30%);
    border-radius: 0.4rem;
    color: #000;
    cursor: pointer;
    min-height: 3.4rem;
    padding: 0.4rem 1.2rem;
}

button:hover:not([disabled]) {
    filter: brightness(1.06);
}

button:active:not([disabled]) {
    filter: brightness(0.6);
}

button[disabled] {
    cursor: not-allowed;
    opacity: 0.3;
}

/* MAIN */

#app {
    background-color: rgb(49 55 69);
    height: 100vh;
    overflow: auto;
    width: 100%;
}

.login-page {
    align-content: center;
    align-items: center;
    background-image: url(//picsum.photos/1920/1080);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

.login-form {
    background-color: rgb(23 29 43 / 60%);
    border-radius: 0.4rem;
    box-shadow:  0 1.6rem 6.4rem rgb(23 29 43 / 100%);
    backdrop-filter: blur(1.6rem);
    color: rgb(252 255 255);
    padding: 2.4rem;
}

.login-form-title {
    color: rgb(252 255 255);
    font-size: 4.0rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
    text-shadow: 0 0 1.6rem rgb(23 29 43), 0 0 6.4rem rgb(23 29 43);
}

.login-form-legal {
    color: rgb(252 255 255);
    text-shadow: 0 0 1.6rem rgb(23 29 43), 0 0 6.4rem rgb(23 29 43);
    position: relative;
    z-index: 1;
}

.login-page-footer {
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
}

.login-page-footer svg {
    height: 4.8rem;
    width: 4.8rem;
}

.form-field {
    margin-bottom: 0.8rem;
}

.form-actions {
    margin-bottom: 0;
    margin-top: 1.6rem;
}

.form-actions__link {
    margin-left: 0.8rem;
    vertical-align: middle;
}

.form-actions__link + svg {
    vertical-align: middle;
}

.form-label {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
}

.form-input,
.input-group {
    background-color: rgb(252 255 255 / 70%);
    border: none;
    border-radius: 0.4rem;
    color: rgb(23 29 43);
    padding: 0.8rem;
}

.form-input:focus,
.input-group:focus-within {
    background-color: rgb(252 255 255);
}

.input-group {
    align-content: center;
    align-items: center;
    display: flex;
    justify-content: flex-start;
    padding: 0;
    width: 100%;
}

.input-group .form-input {
    background-color: transparent;
    flex-grow: 1;
}

.input-group__addon {
    color: rgb(23 29 43);
    padding: 0.8rem;
}

.button {
    background-color: rgb(252 255 255);
    border: none;
    box-shadow: 0 0.4rem 0.8rem rgb(23 29 43 / 60%);
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.15s all ease-out;
}

.button:hover {
    box-shadow: 0 0.4rem 0.8rem rgb(252 255 255 / 30%);
}

.button:active {
    box-shadow: 0 0.4rem 0.8rem rgb(23 29 43 / 60%) inset;
    opacity: 0.6;
}

/************************************/
/************************************/
/************************************/

.intranet-header {
    align-content: center;
    align-items: center;
    background-color: rgb(23 29 43);
    box-shadow: 0 0.4rem 0.8rem rgb(23 29 43 / 50%);
    color: rgb(252 255 255);
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    position: sticky;
    top: 0;
}

.intranet-header h1 {
    font-size: 3.2rem;
    font-weight: bold;
    margin: 0 0.8rem;
}

.intranet-header svg {
    height: 4.8rem;
    width: 4.8rem;
}

.intranet-title {
    align-content: center;
    align-items: center;
    display: flex;
}

.intranet-logoff {
    margin: 0 0.8rem;
}

.intranet-main {
    color: rgb(252 255 255);
    margin: 0 auto;
    max-width: 128.0rem;
    width: calc(100% - 3.2rem);
}

.panel {
    margin-bottom: 3.2rem;
}

.panel-header {
    align-content: center;
    align-items: center;
    border-bottom: 0.2rem solid rgb(252 255 255 / 50%);
    display: flex;
    font-size: 2.4rem;
    font-weight: bold;
    justify-content: flex-start;
    margin-bottom: 1.6rem;
    padding: 0.8rem 0;
}

.panel-header img {
    height: 3.2rem;
    margin-right: 0.8rem;
    object-fit: contain;
    object-position: center center;
    width: 3.2rem;
}

.panel-body {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(32.0rem, 1fr));
}

.tile {
    align-content: stretch;
    align-items: stretch;
    background-color: rgb(252 255 255 / 10%);
    border-radius: 0.4rem;
    display: flex;
    overflow: hidden;
    text-decoration: none;
    transition: 0.15s all ease-out;
}

.tile-icon {
    background-color: rgb(255 255 255 / 60%);
    margin-right: 1.2rem;
    object-fit: contain;
    object-position: center center;
    padding: 0.8rem;
    width: 6.4rem;
}

.tile-content {
    padding: 0.8rem;
}

.tile-title {
    font-size: 2.4rem;
    font-weight: bold;
}

.tile-subtitle {
    opacity: 0.5;
}

.tile:focus,
.tile:hover {
    background-color: rgb(252 255 255);
    color: rgb(23 29 43);
}

.messages {
    margin: 3.2rem 0;
}

.message {
    border: 0.1rem solid;
    border-radius: 0.4rem;
    font-size: 2.0rem;
    padding: 0.8rem;
}

.message + .message {
    margin-top: 0.4rem;
}

.message--info {
    background-color: rgb(68 140 217);
    border-color: rgb(42 114 191);
    color: rgb(252 255 255);
}

.message--success {
    background-color: rgb(149 225 43);
    border-color: rgb(123 199 17);
    color: rgb(23 29 43);
}

.message--warning {
    background-color: rgb(255 239 54);
    border-color: rgb(237 213 28);
    color: rgb(23 29 43);
}

.message--error {
    background-color: rgb(174 45 58);
    border-color: rgb(148 19 32);
    color: rgb(252 255 255);
}