﻿.form {
    margin-top: 20px;
    padding: 20px;
    background-color: whitesmoke;
}

.form-codigos {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: whitesmoke;
}

.form-buttons {
    height: 100px;
    margin: 20px 0px 0px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
}

.page-green {
    background-color: whitesmoke;
    position: relative;
    display: flex;
    flex-direction: column;
    background-size: cover;
    min-height: 100vh;
}

.login-form {
    background-color: whitesmoke;
    padding: 0px;
}

.asistencia-form {
    height: 100vh;
    padding: 100px 20px;
}

.login-logo-form {
    display: none;
}

.login-data-form {
    padding: 50px 20px 0px 20px;
}

.login-header {
    color: #094323;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    width:auto;
}

.page-title {
    color: #094323;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
}

.page-subtitle {
    color: #094323;
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
}

.dialog-header {
    color: #094323;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
}

.dialog-text {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
}

.btn-green {
    background-color: #094323;
    color: white;
}

    .btn-green:hover {
        background-color: #6AA338;
        color: white;
    }

.kpi-container {
    margin: 0px 0px 20px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.kpi-card {
    margin: 10px 0px;
    background-color: #094323;
    width: 100%;
    height: 150px;
}

.kpi-card-title {
    color: white;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 800;
    font-style: normal;
}

.kpi-card-icon {
    height: 100px;
    align-content: center;
}

.kpi-card-score {
    padding-right:1.5rem;
    align-content: center;
    color: white;
    font-family: "Roboto", sans-serif;
    font-size: 64px;
    font-weight: 800;
    font-style: normal;
    text-align: right;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #094323;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 40%;
    position: absolute;
    z-index: 200;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

#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;
    }

.login-card {
    height: 100vh;
    margin-right: .5rem !important;
}

.login-card-image {
    display: none;
}

.login-card-info {
    align-content: start;
}


@media (min-width: 730px) {
    .login-form {
        background-color: #094323;
        height:100vh;
        padding: 0px;
    }
    .login-logo-form {
        display: block;
        background-image: url("Images/LogoCongreso.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size:50%;
        background-color: #094323;
        width: 60%;
        height: 100vh;
    }
    .login-data-form {
        background-color: whitesmoke;
        width: 40%;
        height: 100vh;
    }
}
    @media (min-width: 641px) {
        .page-green {
            background-color: whitesmoke;
            position: relative;
            display: flex;
            flex-direction: column;
            background-size: cover;
            min-height: 100vh;
        }

        .spinner {
            border: 16px solid silver;
            border-top: 16px solid #094323;
            border-radius: 50%;
            width: 80px;
            height: 80px;
            animation: spin 700ms linear infinite;
            top: 5%;
            left: 50%;
            position: absolute;
            z-index: 100;
        }

        .asistencia-form {
            width: 690px;
            height: 320px;
            position: absolute;
            padding: 0px;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
        }


        .kpi-container {
            margin: 150px 0px 0px 0px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
        }

        .kpi-card {
            margin: 15px;
            background-color: #094323;
            max-width: 350px;
            height: 150px;
        }

        .kpi-card-title {
            margin: auto;
            width: 350px;
            color: white;
            font-family: "Roboto", sans-serif;
            font-size: 24px;
            font-weight: 800;
            font-style: normal;
        }

        .kpi-card-icon {
            height: 100px;
            align-content: center;
        }

        .kpi-card-score {
            align-content: center;
            color: white;
            font-family: "Roboto", sans-serif;
            font-size: 56px;
            font-weight: 800;
            font-style: normal;
        }
    }

@media (max-width: 990.98px) {
    .login-card-image {
        display: none;
    }

    .login-card {
        height: 100vh;
        margin-right: .5rem !important;
        margin-left: .5rem !important;
    }
}

@media (min-width: 991px) {
    .login-card-image {
        background-image: url("./images/LogoCongreso.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 75%;
        background-color: #094323;
        display: block;
    }
}

@media (min-width: 641px) {
    .form {
        margin-top: 20px;
        margin-right: 0px;
        padding: 20px;
        background-color: whitesmoke;
    }

    .form-codigos {
        margin-top: 20px;
        margin-left: 0px;
        margin-bottom: 0px;
        padding: 20px;
        background-color: whitesmoke;
    }

    .form-buttons {
        height: auto;
        margin: 20px 0px 0px 0px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        flex-direction: row;
    }
}
