@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Rubik:ital,wght@0,300..900;1,300..900&family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap');

:root {
    --text-color: #ddd;
    --base-font: 'Ubuntu Sans', sans-serif;
}

* {
    box-sizing: border-box;
    font-family: var(--base-font);
}

html {
    min-height: 100dvh;
    font-size: 16px;
    background-color: #111;
}

body {
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background-color: #111;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1, h2, h3 {
    font-weight: 900;
    line-height: 1.1;
    margin: 1.5em 0 1em;
}

main {
    min-width: 400px;
    border: 1px solid #333;
    padding: 40px;
    background: #1c1c1c;
    border-radius: 20px;
    /* box-shadow: 15px 15px 0 #ffffff0a; */
}

.title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

input[type="text"],
input[type="password"] {
    background: #111;
    outline: none;
    border: 1px solid #333;
    padding: 8px 10px;
    border-radius: 100px;
    color: #ddd;
    font-size: 1em;
    width: 100%;
}

.h {
    margin-bottom: 5px;
}

.block {
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 10px;
}

.block ~ .block {
    margin-top: 15px;
}

button {
    background: #1a529a;
    outline: none;
    border: none;
    border-radius: 100px;
    padding: 8px 15px;
    color: #ddd;
    font-size: 1em;
    cursor: pointer;
    font-weight: 700;
}

a.restore {
    color: #fffa;
    text-decoration: none;
    border-bottom: 1px dotted #fffa;
    font-size: .9em;
}

a.restore:hover {
    color: var(--text-color);
    border-bottom-color: var(--text-color);
}

footer {
    margin-top: 60px;
    padding: 20px;
}

.alerts {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    overflow: hidden;
}

.alert {
    border: 1px solid #700000;
    padding: 20px;
    border-radius: 10px;
    background: #430000aa;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.alert ~ .alert {
    margin-top: 10px;
}

.alert-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.fade-enter-active {
    transition: all .2s ease-out;
}

.fade-leave-active {
    transition: all .5s ease-out;
}

.fade-enter-from {
    opacity: 0;
    transform: translateX(30px);
}

.fade-leave-to {
    opacity: 0;
    transform: translateX(30px);
}

[v-cloak] {
    display: none !important;
}
