/* Windows 7 Frutiger Aero Login Screen Styles */
/* Based on https://testing.duckwithsunglasses.com/frutiger/ */

.login-page *{
    box-sizing: border-box;
    font-family: SegoeUI, "Segoe UI", sans-serif;
}

body.login-page {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

/* Profile Icon - Frutiger Style */
.profileicon {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    position: relative;
}

.glass::after {
    backdrop-filter: blur(10px);
}

.profile-border {
    width: 12vw;
    min-width: 180px;
    filter: drop-shadow(0px 10px 10px black);
}

.profileimg {
    position: absolute;
    border-radius: 5%;
    width: 10.2vw;
    min-width: 153px;
}

.username-display {
    color: white;
    font-size: 24px;
    font-weight: 200;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-top: 10px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 280px;
}

.login-form .form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.login-form label {
    color: white;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    background: rgba(255,255,255,0.9);
    box-shadow:
        inset 0 1px 3px rgba(0,0,0,0.1),
        0 2px 5px rgba(0,0,0,0.2);
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: #3c7fb1;
    box-shadow:
        inset 0 1px 3px rgba(0,0,0,0.1),
        0 0 10px rgba(60, 127, 177, 0.5);
}

.login-form select {
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    background: rgba(255,255,255,0.9);
    cursor: pointer;
}

/* Frutiger-style button */
.forwardbtn {
    border: none;
    outline: solid 1px #757575;
    box-shadow: inset 0px 0px 0px 1px #fcfcfc;
    color: black;
    padding: 3px;
    background: rgb(207,207,207);
    background: linear-gradient(0deg, rgba(207,207,207,1) 0%, rgba(219,219,219,1) 49%, rgba(235,235,235,1) 49%, rgba(252,252,252,1) 100%);
    width: 120px;
    min-width: 80px;
    border-radius: 4px;
    height: 28px;
    cursor: pointer;
    user-select: none;
    margin-top: 10px;
}

.forwardbtn:hover {
    outline: solid 1px #3c7fb1;
    background: rgb(167,217,245);
    background: linear-gradient(0deg, rgba(167,217,245,1) 0%, rgba(188,229,252,1) 49%, rgba(217,240,252,1) 49%, rgba(234,246,253,1) 100%);
}

.forwardbtn:active {
    outline: solid 1px #2c628b;
    background: rgb(104,178,218);
    background: linear-gradient(0deg, rgba(104,178,218,1) 0%, rgba(152,209,239,1) 49%, rgba(196,229,246,1) 49%, rgba(229,244,252,1) 100%);
}

.error-message {
    background: linear-gradient(180deg, #fff 0%, var(--w7-el-bg-s-1, #ebebeb) 100%);
    color: #000;
    padding: 10px 16px 10px 36px;
    border: 1px solid #b0b0b0;
    border-radius: 3px;
    font-size: 12px;
    font-family: SegoeUI, "Segoe UI", sans-serif;
    box-shadow: 4px 4px 6px -2px rgba(0, 0, 0, 0.35);
    margin-bottom: 10px;
    position: relative;
    text-shadow: none;
    min-width: 280px;
    max-width: 280px;
    box-sizing: border-box;
}

/* Red shield/error icon */
.error-message::before {
    content: "\26A0";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #cc0000;
    text-shadow: none;
}

.system-info {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.ui-selector-group {
    width: 100%;
    margin-top: 5px;
}

.ui-selector-group label {
    font-size: 11px;
    opacity: 0.8;
}

/* Copyright notice */
.copyright {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
