﻿@import url("https://fonts.googleapis.com/css?family=Open+Sans");

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    background: #092756;
    background: radial-gradient(ellipse at 0% 100%, rgba(104,128,138,.4) 10%, rgba(138,114,76,0) 40%), linear-gradient(to bottom, rgba(57,173,219,.25) 0%, rgba(42,60,87,.4) 100%), linear-gradient(135deg, #670d10 0%, #092756 100%);
}

/* Fullscreen background video */
#bgVideo {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

/* Dark overlay */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

/* Centering wrapper */
.login-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 20px 15px;
}

/* Frosted glass effect */
main.login {
    width: 100%;
    max-width: 380px;
    padding: 10px 35px 30px 35px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    color: #fff;
    text-align: center;
}

.login-logo {
    display: block;
    text-align: center;
    margin-bottom: 0;
}

    .login-logo img {
        width: 320px;
        max-width: 100%;
        height: auto;
    }

.login h1 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 2rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    text-align: center;
}

.login-input {
    width: 100%;
    margin: 5px 0;
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
}

    .login-input:focus {
        box-shadow: inset 0 -5px 45px rgba(100, 100, 100, 0.18), 0 0 0 .2rem rgba(74, 119, 212, 0.35);
    }

.login-button {
    width: 100%;
    margin-top: 5px;
    padding: 9px 14px;
    border-radius: 8px;
    border: 1px solid #3762bc;
    color: #fff;
    background-color: #4a77d4;
    background-image: linear-gradient(to bottom, #6eb6de, #4a77d4);
    background-repeat: repeat-x;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5);
}

    .login-button:hover,
    .login-button:focus,
    .login-button:active {
        color: #fff;
        background-color: #4a77d4;
        background-image: linear-gradient(to bottom, #5da7d2, #3f68c5);
        border-color: #3158aa;
    }

.loginMessage {
    text-align: center;
    background-color: rgba(220, 53, 69, 0.95);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}

    .loginMessage.validation-summary-valid {
        display: none;
    }

    .loginMessage ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

@media (max-width: 480px) {
    .login-wrapper {
        padding-top: 12px;
    }

    main.login {
        max-width: 100%;
        padding: 10px 24px 28px 24px;
    }

    .login-logo img {
        width: 280px;
    }
}
