@import url("reset.css");
@import url("variables.css");
@import url("base.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    color: white;
}

main {
    height: 100vh;
    width: 100vw;
    background-image: url("../images/bg1.jpg");
    background-color: rgba(56, 0, 56, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}

.checkpoint {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.checkpoint > .panel {
    width: 60vw;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 15px;
}

.checkpoint > .panel > div {
    width: 100%;
}

.checkpoint > .panel > .top {
    background-color: var(--team-color);
    padding: 20px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: white;
    border: 1px solid rgba(158, 36, 43, 0.2);
    box-shadow: inset 0 4px 10px rgba(158, 36, 43, 0.4), 
                0 4px 30px var(--team-color);
    border-radius: 5px;
}

.checkpoint > .panel > .bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkpoint > .panel > .bottom > div {
    min-height: 300px;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 10px;
    color: white;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.15), 
                0 4px 30px rgba(255, 255, 255, 0.09);
}

.checkpoint > .panel > .bottom > .logo-container, .checkpoint > .panel > .bottom > .actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkpoint > .panel > .bottom > .logo-container > img {
    width: 200px;
}

.checkpoint > .panel > .bottom > .actions > .content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkpoint > .panel > .bottom > .actions > .content > label {
    font-size: 1.4rem;
}

.checkpoint > .panel > .bottom > .actions > .content > input {
    background-color: white;
    padding: 12px;
    border: 2px solid rgba(128, 128, 128, 0.5);
    outline: none;
    font-family: inherit;
    border-radius: 5px;
}

.checkpoint > .panel > .bottom > .actions > .content > button {
    min-width: 250px;
    background-color: rgb(158, 36, 43);
    padding: 12px;
    border: none;
    color: white;
    font-family: inherit;
    cursor: pointer;
    border-radius: 5px;
}

.checkpoint > .panel > .bottom > .actions > .content #loading-spinner {
    height: 30px;
    width: 30px;
    display: none;
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
}

/* Toast */

.toast {
    background-color: rgba(255, 0, 13, 0.3);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    padding: 21px 15px;
    position: fixed;
    right: -1000px;
    bottom: 15px;
    color: #00FF88;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 3px solid rgba(158, 36, 43, 0.2);
    box-shadow: inset 0 4px 10px rgba(158, 36, 43, 0.4), 
                0 4px 30px var(--team-color);
    border-radius: 5px 0 0 5px;
    transition: opacity 0.2s, right 0.2s;
}

.toast > svg {
    height: 18px;
    fill: #00FF88;
}

/* Index */
.login-container {
    min-height: 500px;
    height: fit-content;
    width: 400px;
    background-color: var(--team-color);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    padding: 20px 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(158, 36, 43, 0.2);
    box-shadow: inset 0 4px 10px rgba(158, 36, 43, 0.4), 
                0 4px 30px var(--team-color);
    border-radius: 5px;
}

.login-container > .top {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.login-container > .content {
    width: 100%;
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 10px;
}

.login-container fieldset, .login-container input {
    width: 100%;
    color: white;
}

.login-container fieldset {
    margin-top: 10px;
    font-size: 0.9rem;
    border: 2px solid rgba(128, 128, 128, 0.5);
    border-radius: 5px;
}

.login-container input {
    height: 100%;
    background-color: transparent;
    padding: 6px  12px 6px 12px;
    outline: none;
    font-family: inherit;
    font-size: 1.2rem;
    border-radius: 5px;
    border: none;
}

.login-container button {
    margin-top: 20px;
    width: 100%;
    background-color: rgb(158, 36, 43);
    padding: 12px;
    border: none;
    color: white;
    font-family: inherit;
    cursor: pointer;
    border-radius: 5px;
}