
:root {
--eslgp-bg: #f8fafc;
--eslgp-card-bg: #ffffff;
--eslgp-text-primary: #1f2937;
--eslgp-text-secondary: #6b7280;
--eslgp-text-muted: #9ca3af;
--eslgp-border: #e5e7eb;
--eslgp-border-hover: #d1d5db;
--eslgp-accent: #3b82f6;
--eslgp-accent-hover: #2563eb;
--eslgp-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--eslgp-radius: 8px;
}
body.login {
background-color: var(--eslgp-bg);
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0;
padding: 20px;
box-sizing: border-box;
padding-bottom: 20px;
}
body.eslgp-password-disabled #loginform > p,
body.eslgp-password-disabled #loginform .user-pass-wrap,
body.eslgp-password-disabled #loginform .forgetmenot,
body.eslgp-password-disabled #loginform .submit,
body.eslgp-password-disabled #nav,
body.eslgp-password-disabled #backtoblog,
body.eslgp-password-disabled .privacy-policy-page-link,
body.eslgp-password-disabled #login h1 {
display: none !important;
}
#login {
width: 100%;
max-width: 400px;
padding: 0;
}
body.eslgp-password-disabled #loginform {
padding: 0 !important;
border: none !important;
background: none !important;
box-shadow: none !important;
margin: 0 !important;
}
.eslgp-login-container {
background: var(--eslgp-card-bg);
border: 1px solid var(--eslgp-border);
border-radius: var(--eslgp-radius);
box-shadow: var(--eslgp-shadow);
padding: 32px;
text-align: center;
animation: eslgp-fade-in 0.6s ease-out;
}
.eslgp-login-header {
margin-bottom: 32px;
}
.eslgp-login-header h2 {
font-size: 24px;
font-weight: 600;
color: var(--eslgp-text-primary);
margin: 0 0 8px 0;
line-height: 1.25;
}
.eslgp-login-header p {
font-size: 16px;
color: var(--eslgp-text-secondary);
margin: 0;
line-height: 1.5;
}
.eslgp-google-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;
width: 100%;
padding: 12px 20px;
border: 1px solid var(--eslgp-border);
border-radius: var(--eslgp-radius);
background-color: var(--eslgp-card-bg);
color: var(--eslgp-text-primary);
font-size: 16px;
font-weight: 500;
text-decoration: none;
cursor: pointer;
transition: all 0.2s ease;
position: relative;
min-height: 48px;
box-sizing: border-box;
}
.eslgp-google-button:hover {
border-color: var(--eslgp-border-hover);
background-color: #f9fafb;
transform: translateY(-1px);
box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.1);
}
.eslgp-google-button:focus {
outline: 2px solid var(--eslgp-accent);
outline-offset: 2px;
}
.eslgp-google-button:active {
transform: translateY(0);
}
.eslgp-google-logo {
width: 20px;
height: 20px;
flex-shrink: 0;
transition: opacity 0.3s ease;
}
.eslgp-google-button span {
transition: opacity 0.3s ease;
}
.eslgp-spinner {
width: 20px;
height: 20px;
border: 2px solid var(--eslgp-border);
border-top-color: var(--eslgp-accent);
border-radius: 50%;
animation: eslgp-spin 1s linear infinite;
display: none;
transition: opacity 0.3s ease;
}
.eslgp-google-button.loading {
cursor: not-allowed;
pointer-events: none;
}
.eslgp-google-button.loading .eslgp-spinner {
display: block;
}
.eslgp-google-button.loading .eslgp-google-logo {
opacity: 0.3;
}
.eslgp-google-button.loading span {
opacity: 0.3;
}
#login_error,
.message {
border-radius: var(--eslgp-radius) !important;
border: 1px solid #fca5a5 !important;
background-color: #fef2f2 !important;
color: #991b1b !important;
box-shadow: none !important;
margin-bottom: 20px !important;
padding: 12px 16px !important;
}
.message {
border-color: #93c5fd !important;
background-color: #eff6ff !important;
color: #1d4ed8 !important;
}
#eslgp-auth-loading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
z-index: 99999;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
#eslgp-auth-loading.show {
opacity: 1;
pointer-events: auto;
}
.eslgp-auth-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
background: var(--eslgp-card-bg);
padding: 32px;
border-radius: var(--eslgp-radius);
box-shadow: var(--eslgp-shadow);
}
.eslgp-auth-content p {
font-size: 16px;
font-weight: 500;
color: var(--eslgp-text-primary);
margin: 0;
}
.eslgp-auth-content .eslgp-spinner {
position: static;
transform: none;
display: block;
width: 32px;
height: 32px;
border-width: 3px;
}
.eslgp-footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: var(--eslgp-card-bg);
border-top: 1px solid var(--eslgp-border);
padding: 16px 20px;
text-align: center;
z-index: 1000;
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}
.eslgp-footer p {
margin: 0;
font-size: 14px;
color: var(--eslgp-text-muted);
line-height: 1.4;
}
.eslgp-footer a {
color: var(--eslgp-accent);
text-decoration: none;
font-weight: 500;
}
.eslgp-footer a:hover {
color: var(--eslgp-accent-hover);
text-decoration: underline;
}
body.login {
margin-bottom: 80px;
}
.eslgp-login-divider {
position: relative;
text-align: center;
margin: 24px 0;
color: var(--eslgp-text-muted);
}
.eslgp-login-divider span {
background: #fff;
padding: 0 10px;
position: relative;
z-index: 1;
font-size: 14px;
}
.eslgp-login-divider::before {
content: "";
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 1px;
background: var(--eslgp-border);
z-index: 0;
}
@keyframes eslgp-spin {
to {
transform: rotate(360deg);
}
}
@keyframes eslgp-fade-in {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 480px) {
body.login {
padding: 16px;
margin-bottom: 100px;
}
.eslgp-login-container {
padding: 24px;
}
.eslgp-login-header h2 {
font-size: 22px;
}
.eslgp-login-header p {
font-size: 15px;
}
.eslgp-footer {
padding: 12px 16px;
}
.eslgp-footer p {
font-size: 13px;
}
}