html, body {
height: 100%;
margin: 0;
}
body.gpassword-lock-screen {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: #0f172a;
color: #fff;
}
.gpassword-lock-shell {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 32px;
background:
linear-gradient(135deg, rgba(7, 11, 24, 0.86), rgba(7, 11, 24, 0.68)),
var(--gpassword-bg, radial-gradient(circle at top, #243b55 0%, #0f172a 60%, #050816 100%));
background-size: cover;
background-position: center center;
}
.gpassword-lock-overlay {
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.42));
backdrop-filter: blur(2px);
}
.gpassword-lock-card {
position: relative;
z-index: 1;
width: min(100%, 540px);
padding: 36px;
border-radius: 24px;
background: rgba(8, 15, 28, 0.65);
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
backdrop-filter: blur(18px);
text-align: center;
}
.gpassword-brand {
margin-bottom: 18px;
}
.gpassword-logo {
display: inline-block;
max-width: 220px;
max-height: 110px;
width: auto;
height: auto;
}
.gpassword-site-name {
font-size: 30px;
font-weight: 700;
letter-spacing: 0.02em;
}
.gpassword-intro {
font-size: 16px;
line-height: 1.6;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 24px;
}
.gpassword-form {
display: grid;
gap: 12px;
}
.gpassword-form input {
width: 100%;
box-sizing: border-box;
padding: 16px 18px;
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 14px;
background: rgba(255, 255, 255, 0.08);
color: #fff;
font-size: 16px;
outline: none;
}
.gpassword-form input::placeholder {
color: rgba(255, 255, 255, 0.65);
}
.gpassword-form button {
position: relative;
padding: 16px 18px;
border: 0;
border-radius: 14px;
background: linear-gradient(135deg, #d9b56e, #a66e2a);
color: #ffffff;
font-weight: 700;
font-size: 16px;
cursor: pointer;
}
.gpassword-form button.is-loading {
opacity: 0.92;
cursor: wait;
padding-left: 48px;
}
.gpassword-form button.is-loading::before {
content: "";
position: absolute;
left: 18px;
top: 50%;
width: 16px;
height: 16px;
margin-top: -8px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: rgba(255, 255, 255, 0.98);
border-radius: 50%;
animation: gpassword-spin 0.8s linear infinite;
}
@keyframes gpassword-spin {
to {
transform: rotate(360deg);
}
}
.gpassword-message {
min-height: 22px;
margin-top: 14px;
font-size: 14px;
color: #ffdddd;
}
.gpassword-message[data-type="success"] {
color: #d7ffd9;
}
@media (max-width: 640px) {
.gpassword-lock-card {
padding: 24px 18px;
border-radius: 18px;
}
}