﻿@font-face {
    font-family: 'worksans-regular';
    src: url('../fonts/worksans-regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "worksans-regular",Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 600;
    /*background: linear-gradient(to right, #fff, #b3dcff);*/
    background-color: #fff;
    color: #012a4a;
    min-height: 100vh;
    margin: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../images/login/background.jpg');
        background-image: url('../images/login/bg1.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.7;
        z-index: -1;
    }

.company-logo {
    position: absolute;
    left: 46vw;
    top: 5vh;
}


.main {
    width: 100vw;
    height: 100vh;
    display: flex;
    color: aliceblue;
    align-items: center;
}

.container {
    width: 25vw; /* 100%;*/
    height: 60vh; /*100%;*/
    padding: 5px;
    display: flex;
    margin: 0 auto;
    border-radius: 5px 50px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    /*background-color: #fff;
    opacity: 0.9;
    background-image: linear-gradient(to bottom, transparent, #ffffff);*/
    background-color: transparent !important;
}

#square {
    display: flex;
    min-width: 300px;
    min-height: 300px;
    margin-bottom: 100px;
    justify-content: center;
    transform-style: preserve-3d;
    transition: all 0.3s ease-in;
    /*box-shadow: 3px 3px 5px #012a4a;*/
    width: 95%;
    background-color: transparent !important;
}

.front,
.right,
.left {
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    border-radius: 5px;
    position: absolute;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: #000;
    background-color: #fff;
    /*background-image: linear-gradient(to top, #95c2ec, #979fe4);
    box-shadow: 1px 3px 1px #808080;*/
}

.front {
    transform: translateZ(50px);
}

.right {
    transform: rotateY(90deg) translateZ(50px);
}

.left {
    transform: rotateY(-90deg) translateZ(50px);
    height: 120%
}

.actions button {
    border: 0;
    outline: none;
    min-width: 100px;
    min-height: 30px;
    padding: 10px 20px;
    border-radius: 0px;
    background-color: #000;
    color: #fff;
}

.container h1 {
    font: inherit;
    margin-bottom: 15px;
}

.container .form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .container .form input,
    .container .form button,
    .container .form h5 {
        margin-bottom: 10px;
    }

    .container .form input {
        border: 0;
        padding: 10px 8px;
        min-height: 40px;
        border-radius: 0px;
        box-sizing: border-box;
        outline: none;
        text-decoration: none;
        font-weight: 600;
        border: 1px solid #000;
        font-weight: normal;
    }

    .container .form button {
        border: 0;
        padding: 10px 0;
        outline: none;
        min-height: 30px;
        border-radius: 0px;
        background-color: #000;
        color: #fff;
    }

.form button:disabled {
    background-color: #808080 !important;
    color: #fff;
    cursor: not-allowed !important;
}

#btnLoginSubmit, #btnChangeSubmit {
    margin-top: 4em !important;
}

#frontSide {
    display: none;
}

.container .actions {
    display: flex;
}

    .container .actions button {
        margin-right: 10px;
    }

#loading-icon {
    position: fixed;
    top: 5vh;
    left: 5vw;
    transform: translate(-50%, -50%);
    z-index: 9999;
    font-size: 1em;
    /*color: #012a4a;*/
}

.powered-by {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding-right: 5em;
}

.whatsapp, .whatsapp:hover {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 45px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 16px;
    z-index: 9999 !important;
    border: 5px solid #fff;
}

.whatsapp-icon {
    margin-top: 13px;
}


.modal-content {
    background: linear-gradient(to right, #000, transparent);
    background-color: #000;
    font-weight: normal;
    color: #fff;
    border-radius: 0px;
    border: 0;
    overflow: hidden;
    animation: fadeIn .5s ease-in-out;
    top: 30vh;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@media screen and (max-width: 1250px) {

    .company-logo {
        position: absolute;
        left: 40vw;
        top: 7vh;
        height: 5em;
        width: 5em;
    }


    .container {
        width: 100vw;
        height: auto;
        padding: 10px;
        border-radius: 10px;
    }

    .front,
    .right,
    .left {
        top: 10vh;
        /*height: 80%;*/
        padding: 5px;
    }

    #leftSide, #frontSide, #rightSide {
        margin-top: 5em !important;
    }

    .powered-by {
        position: fixed;
        top: 0;
        left: 50%;
        width: 100%;
        transform: translateX(-50%);
        background-color: #012a4a;
        text-align: center;
        padding: 10px 0; /* Adjust the padding to fit your design */
        z-index: 1000; /* Ensure it stays on top of other elements */
    }

    .whatsapp, .whatsapp:hover {
        width: 35px;
        height: 35px;
        bottom: 40px;
        right: 40px;
        border-radius: 50%;
        font-size: 11px;
    }

    .whatsapp-icon {
        margin-top: 7px;
    }
}

@media (min-resolution: 144dpi) and (max-resolution: 159dpi) {

    button {
        padding: .1rem .9rem !important;
        font-size: .6rem !important;
        text-align: center !important;
    }

    input {
        font-size: .7rem !important;
    }

    .company-logo {
        left: 5vw !important;
        top: 5vh !important;
        height: 3em;
        width: 3em;
    }

    #loading-icon {
        font-size: .7rem !important;
        text-transform: uppercase;
    }

    div:where(.swal2-container) div:where(.swal2-popup) {
        width: 45vw !important;
        font-size: .7rem !important;
    }

    footer {
        font-size: .6rem !important;
    }
}
