:root {
--fpj-primary-color: #005A8D;
--fpj-secondary-color: #00A859;
--fpj-text-color: #333;
--fpj-label-color: #555;
--fpj-border-color: #ccc;
--fpj-border-focus-color: var(--fpj-primary-color);
--fpj-background-color: #f9f9f9;
--fpj-error-color: #D83A56;
--fpj-success-color: #28a745;
--fpj-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--fpj-border-radius: 6px;
}
.fpj-auth-container {
font-family: var(--fpj-font-family);
color: var(--fpj-text-color);
max-width: 480px;
margin: 40px auto;
}
.fpj-auth-wrapper {
background: #fff;
border-radius: var(--fpj-border-radius);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
padding: 30px;
} .fpj-auth-header {
text-align: center;
margin-bottom: 25px;
}
.fpj-logo {
max-height: 60px;
width: auto;
margin-bottom: 10px;
}
.fpj-auth-title {
font-size: 1.3rem;
margin: 8px 0 4px;
color: var(--fpj-primary-color);
}
.fpj-auth-subtitle {
color: var(--fpj-label-color);
margin: 0;
font-size: 0.95rem;
} .fpj-auth-tabs {
display: flex;
gap: 8px;
margin-bottom: 25px;
border-bottom: 1px solid #eee;
}
.fpj-auth-tab {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 12px 10px;
background: none;
border: none;
border-bottom: 3px solid transparent;
color: var(--fpj-label-color);
font-weight: 600;
cursor: pointer;
transition: all 0.15s ease;
}
.fpj-auth-tab:hover {
color: var(--fpj-primary-color);
}
.fpj-auth-tab.active {
color: var(--fpj-primary-color);
border-bottom-color: var(--fpj-primary-color);
} .fpj-auth-form-container {
display: none;
}
.fpj-auth-form-container.active {
display: block;
animation: fpj-fade-in 0.2s ease;
}
@keyframes fpj-fade-in {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: translateY(0); }
}
.fpj-form-header {
text-align: center;
margin-bottom: 20px;
}
.fpj-form-header h2 {
margin: 0 0 6px;
font-size: 1.15rem;
color: var(--fpj-text-color);
}
.fpj-form-header p {
margin: 0;
color: var(--fpj-label-color);
font-size: 0.9rem;
} .fpj-form-group {
margin-bottom: 18px;
}
.fpj-label {
display: block;
margin-bottom: 6px;
font-weight: 600;
font-size: 0.9rem;
color: var(--fpj-label-color);
}
.fpj-required {
color: var(--fpj-error-color);
}
.fpj-input-group {
position: relative;
display: flex;
align-items: center;
}
.fpj-input-icon {
position: absolute;
left: 12px;
color: #999;
display: flex;
}
.fpj-input {
width: 100%;
padding: 11px 14px;
border: 1px solid var(--fpj-border-color);
border-radius: var(--fpj-border-radius);
font-size: 0.95rem;
font-family: inherit;
transition: border-color 0.15s ease;
box-sizing: border-box;
}
.fpj-input-icon-left {
padding-left: 40px;
}
.fpj-input:focus {
outline: none;
border-color: var(--fpj-border-focus-color);
box-shadow: 0 0 0 3px rgba(0, 90, 141, 0.12);
}
.fpj-password-toggle {
position: absolute;
right: 10px;
background: none;
border: none;
color: #999;
cursor: pointer;
display: flex;
padding: 4px;
}
.fpj-password-toggle:hover {
color: var(--fpj-primary-color);
}
.fpj-field-error {
color: var(--fpj-error-color);
font-size: 0.82rem;
margin-top: 4px;
min-height: 1em;
}
.fpj-password-strength {
margin-top: 8px;
}
.fpj-strength-bar {
height: 4px;
background: #eee;
border-radius: 2px;
overflow: hidden;
}
.fpj-strength-fill {
height: 100%;
width: 0%;
background: var(--fpj-error-color);
transition: width 0.2s ease, background 0.2s ease;
}
.fpj-strength-text {
font-size: 0.78rem;
color: var(--fpj-label-color);
margin-top: 3px;
} .fpj-checkbox-label {
display: flex;
align-items: flex-start;
gap: 8px;
cursor: pointer;
font-size: 0.88rem;
color: var(--fpj-label-color);
}
.fpj-checkbox-label input[type="checkbox"] {
margin-top: 3px;
}
.fpj-link {
color: var(--fpj-primary-color);
text-decoration: none;
}
.fpj-link:hover {
text-decoration: underline;
} .fpj-form-options {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
font-size: 0.88rem;
}
.fpj-forgot-link {
color: var(--fpj-primary-color);
text-decoration: none;
}
.fpj-forgot-link:hover {
text-decoration: underline;
} .fpj-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 20px;
border: none;
border-radius: var(--fpj-border-radius);
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
transition: opacity 0.15s ease, transform 0.05s ease;
font-family: inherit;
}
.fpj-btn:active {
transform: scale(0.99);
}
.fpj-btn-primary {
background: var(--fpj-primary-color);
color: #fff;
}
.fpj-btn-primary:hover {
opacity: 0.92;
}
.fpj-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.fpj-btn-full {
width: 100%;
}
.fpj-spinner {
animation: fpj-spin 1s linear infinite;
}
@keyframes fpj-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
} .fpj-form-footer {
text-align: center;
margin-top: 18px;
font-size: 0.88rem;
color: var(--fpj-label-color);
}
.fpj-auth-footer {
text-align: center;
margin-top: 25px;
padding-top: 18px;
border-top: 1px solid #eee;
font-size: 0.82rem;
color: #999;
}
.fpj-auth-links {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 8px;
} .fpj-message-container {
position: relative;
margin-top: 15px;
}
.fpj-message {
padding: 12px 16px;
border-radius: var(--fpj-border-radius);
font-size: 0.9rem;
border-left: 4px solid;
}
.fpj-message-success {
background: #e6f7ec;
border-color: var(--fpj-success-color);
color: #1e6b34;
}
.fpj-message-error {
background: #fdecef;
border-color: var(--fpj-error-color);
color: #9c1c33;
} .fpj-modal {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.5);
align-items: center;
justify-content: center;
z-index: 100000;
padding: 20px;
}
.fpj-modal-content {
background: #fff;
border-radius: var(--fpj-border-radius);
max-width: 560px;
width: 100%;
max-height: 80vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.fpj-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid #eee;
}
.fpj-modal-header h3 {
margin: 0;
font-size: 1.05rem;
}
.fpj-modal-close {
background: none;
border: none;
font-size: 1.4rem;
line-height: 1;
cursor: pointer;
color: #999;
}
.fpj-modal-body {
padding: 20px;
overflow-y: auto;
}
.fpj-modal-body h4 {
margin: 16px 0 6px;
font-size: 0.95rem;
}
.fpj-modal-body h4:first-child {
margin-top: 0;
}
.fpj-modal-body p {
margin: 0 0 8px;
color: var(--fpj-label-color);
font-size: 0.9rem;
line-height: 1.5;
}
.fpj-modal-footer {
padding: 14px 20px;
border-top: 1px solid #eee;
text-align: right;
} .fpj-login-required-inline .fpj-notice {
padding: 16px 18px;
border-radius: var(--fpj-border-radius);
border-left: 4px solid #ffc107;
background: #fff9e6;
color: #7a5c00;
}
.fpj-login-required-inline .fpj-notice h3 {
margin: 0 0 6px;
}
.fpj-login-required-inline .fpj-notice p {
margin: 0;
}
@media (max-width: 480px) {
.fpj-auth-wrapper {
padding: 20px;
}
}