﻿@import url('/css/rossi.font.css');

* {
    box-sizing: border-box;
    font-family: 'Inter',sans-serif;
}

body {
    font-family: Helvetica;
    background: #eee;
    -webkit-font-smoothing: antialiased;
}

.group {
    position: relative;
    margin-bottom: 25px;
}

hgroup {
    text-align: center;
    margin-top: 3em;
}

form {
    width: 400px;
    margin: 2em auto;
    padding: 10px 20px 10px 20px;
    background: #fff;
    border: 1px solid #ebebeb;
    box-shadow: rgba(0,0,0,0.14902) 0px 1px 1px 0px, rgba(0,0,0,0.09804) 0px 1px 2px 0px;
}


    form input {
        font-family: inherit;
        width: 100%;
        outline: none;
        background-color: #fff;
        border: none;
        display: block;
        padding: 0.9rem 0.7rem;
        border-bottom: 1px solid #757575;
        font-size: 17px;
        color: #4A4A4A;
        text-indent: 40px;
    }

        form input:focus {
            border-bottom: 2px solid #37517E;
        }


    form .form-field::before {
        font-size: 20px;
        position: absolute;
        left: 15px;
        top: 17px;
        color: #888888;
        content: " ";
        display: block;
        background-size: cover;
        background-repeat: no-repeat;
    }

    form .form-field:nth-child(1)::before {
        background-image: url(/icons/corporate-icon.png);
        width: 20px;
        height: 20px;
        top: 15px;
    }

    form .form-field:nth-child(2)::before {
        background-image: url(/icons/user-icon.png);
        width: 20px;
        height: 20px;
        top: 15px;
    }

    form .form-field:nth-child(3)::before {
        background-image: url(/icons/lock-icon.png);
        top: 10px;
        width: 20px;
        height: 20px;
    }

    form .form-field {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 1rem;
        position: relative;
    }

    form .btn {
        outline: none;
        border: none;
        cursor: pointer;
        display: inline-block;
        margin: 0 auto;
        padding: 0.9rem 2.5rem;
        text-align: center;
        background-color: #37517E;
        color: #fff;
        border-radius: 4px;
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
        font-size: 17px;
        width: 100%;
        margin-top: 10px;
    }

        form .btn:hover {
            background: #657DA8;
        }



footer {
    text-align: center;
}

    footer p {
        color: #888;
        font-size: 13px;
        letter-spacing: .4px;
    }

    footer a {
        color: #37517E;
        text-decoration: none;
        transition: all .2s ease;
    }

        footer a:hover {
            color: #666;
            text-decoration: underline;
        }

    footer img {
        width: 80px;
        transition: all .2s ease;
    }

        footer img:hover {
            opacity: .83;
        }

        footer img:focus, footer a:focus {
            outline: none;
        }



.pwa-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 900px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 12px 35px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.08);
    display: none;
    z-index: 999999;
    animation: fadeUp .35s ease;
}

.pwa-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pwa-icon {
    font-size: 42px;
}

.pwa-text {
    flex: 1;
}

    .pwa-text strong {
        display: block;
        color: #37517E;
        font-size: 18px;
    }

    .pwa-text span {
        display: block;
        color: #666;
        margin-top: 5px;
    }

.pwa-buttons {
    display: flex;
    gap: 10px;
}

.btn-primary {
    background: #37517E;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 18px;
    cursor: pointer;
}

    .btn-primary:hover {
        background: #657DA8;
    }

.btn-secondary {
    background: #efefef;
    border: none;
    border-radius: 5px;
    padding: 10px 18px;
    cursor: pointer;
}

    .btn-secondary:hover {
        background: #ddd;
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
@media(max-width:650px) {

    .pwa-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .pwa-buttons {
        width: 100%;
    }

        .pwa-buttons button {
            flex: 1;
        }
}