body,
html {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Arial', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(120deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    background-image: url('/img/loginBg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container{
    min-width: 350px;
    max-width: 420px;
    width: 100%;
    padding: 40px 36px 32px 36px;
    background: rgba(30, 40, 60, 0.92);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(16,181,241,0.18), 0 1.5px 8px 0 rgba(16,181,241,0.10);
    border: 1.5px solid rgba(16,181,241,0.25);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

h2.text-center {
    color: #10b5f1;
    text-shadow: 0 0 8px #10b5f1, 0 0 2px #fff;
    margin-bottom: 32px;
    letter-spacing: 0.08em;
}

.form-group label {
    color: #10b5f1;
    font-size: 1.08em;
    margin-bottom: 6px;
}

.form-control {
    background: rgba(20, 30, 50, 0.7);
    border: 1.5px solid #10b5f1;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 4px #10b5f1;
    transition: border 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border: 1.5px solid #1e90ff;
    box-shadow: 0 0 8px #1e90ff;
    background: rgba(20, 30, 50, 0.9);
    color: #fff;
}

.btn-primary,
.btn-block {
    background: linear-gradient(90deg, #10b5f1 0%, #1e90ff 100%);
    border: none;
    color: #fff !important;
    border-radius: 8px;
    box-shadow: 0 0 8px #10b5f1;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    font-size: 1.1em;
    margin-top: 18px;
    padding: 10px 0;
}

.btn-primary:hover,
.btn-block:hover {
    background: linear-gradient(90deg, #1e90ff 0%, #10b5f1 100%);
    box-shadow: 0 0 16px #10b5f1, 0 0 4px #fff;
    transform: translateY(-2px) scale(1.04);
    color: #fff !important;
}

.input-group-text,
.btn-outline-secondary {
    background: rgba(16, 181, 241, 0.12);
    border: 1.5px solid #10b5f1;
    color: #10b5f1;
    border-radius: 6px;
}

.toggle-login {
    cursor: pointer;
    color: #10b5f1;
    text-decoration: underline;
    transition: color 0.2s;
}

.toggle-login:hover {
    color: #fff;
    text-shadow: 0 0 8px #10b5f1;
}

a,
a:visited {
    color: #10b5f1;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover,
a:focus {
    color: #fff;
    text-shadow: 0 0 8px #10b5f1;
}

.eye-up-icon:after,
.eye-down-icon:after {
    font-size: 1.2em;
    cursor: pointer;
    z-index: 99;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#loginMethod {
    width: 100%;
    padding: 0 10px;
}

@media (max-width: 500px) {
    .login-container {
        min-width: 90vw;
        padding: 20px 6vw;
    }
}