﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../image/coverbg.webp') center center / cover no-repeat;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.10);
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 375px;
    padding: 10px 20px 4px 20px;
    border-radius: 8px;
    background-color: rgba(193, 221, 229, 0.64);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(193, 221, 229, 0.64);
    z-index: 1;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.1), -10px -10px 15px rgba(0, 0, 0, 0.1), 10px -10px 15px rgba(0, 0, 0, 0.1), -10px 10px 15px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.header h1 {
    font-size: 1.4em;
}

.header .logo {
    width: auto;
    height: 1.4em;
    margin-right: 10px;
}

form {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

input {
    margin-bottom: 8px;
    padding: 8px;
    font-size: 1.1em;
    letter-spacing: 1px;
    border: 1px solid rgba(124, 137, 217, 0.64);
    border-radius: 4px;
    transition: border-color 0.3s;
    -webkit-transition: border-color 0.3s;
    ime-mode: disabled;
}

input[type="password"]::-ms-reveal {
    display: none;
}

input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-o-clear {
    display: none;
}

input:focus {
    border-color: #5A90D4;
    outline: none;
}

.password-container {
    position: relative;
}

.password-container input {
    width: 100%;
    padding-right: 30px;
    box-sizing: border-box;
}

.password-container .toggle-password {
    position: absolute;
    right: 10px;
    top: 1.6em;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1em;
    user-select: none;
}

.toggle-password-img {
    width: 20px;
    height: 20px;
}

.captcha-container {
    display: flex;
    gap: 6px;
    flex: 1;
    height: 32px;
    align-items: center;
    margin-bottom: 10px;
}

.captcha-input {
    width: 100%;
    min-width: 60px;
    margin: 0;
}

.captcha-img {
    width: 100%;
    max-height: 30px;
    min-width: 140px;
    user-select: none;
}

.captcha-img:hover {
    cursor: pointer;
}

.disable {
    pointer-events: none;
}

.button-container {
    display: flex;
    flex-direction: column;
}

button {
    padding: 10px;
    font-size: 1em;
    color: #fff;
    background-color: #3e33d2;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
    width: 100%;
}

button:hover {
    background-color: #5349e0;
}

.button-inner-container {
    display: flex;
    gap: 10px;
}

.change-pwd-btn,
.change-safe-pwd-btn,
.back-button {
    background-color: #7a82b4;
    margin-bottom: 0;
}

.change-pwd-btn:hover,
.change-pwd-btn:focus,
.change-pwd-btn:active,
.change-safe-pwd-btn:hover,
.change-safe-pwd-btn:focus,
.change-safe-pwd-btn:active,
.back-button:hover,
.back-button:focus,
.back-button:focus {
    background-color: #939ac2;
}

.hidden {
    display: none;
}

.pxmu-success-icon {
    width: 22px !important;
}

@media (max-width: 375px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }
}