.psp-login-wrap {
    display: flex;
    justify-content: center;
    padding: 24px 12px;
}

.psp-login-card {
    width: 100%;
    max-width: 420px;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    font-family: Arial, sans-serif;
}

.psp-login-card h3 {
    margin: 0 0 16px;
    font-size: 22px;
    text-align: center;
}

.psp-login-card .psp-helper-text {
    margin: -12px 0 0;
    color: #7a7f87;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
}

.psp-login-card label {
    display: block;
    margin: 0 0 4px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
}

.psp-login-card input[type="text"],
.psp-login-card input[type="password"] {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #8c8f94;
    border-radius: 6px;
    box-sizing: border-box;
}

.psp-login-card .psp-field {
    margin: 0 0 14px;
}

.psp-login-card .psp-password-wrap {
    position: relative;
}

.psp-login-card .psp-password-wrap input {
    padding-right: 52px;
}

.psp-login-card .psp-toggle-password {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #c3c4c7;
    background: #f6f7f7;
    cursor: pointer;
    width: 38px;
    height: 32px;
    border-radius: 6px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1d2327;
}

.psp-login-card .psp-toggle-password:hover {
    background: #f0f0f1;
}

.psp-login-card .psp-toggle-password .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 18px;
}

.psp-login-card .psp-button {
    border: 0;
    border-radius: 6px;
    height: 42px;
    padding: 0 18px;
    background: #2271b1;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.psp-login-card .psp-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.psp-login-card .psp-forgot-form {
    margin-top: 10px;
}

.psp-login-card .psp-link-button {
    background: transparent;
    border: 0;
    padding: 0;
    color: #2271b1;
    cursor: pointer;
    text-decoration: underline;
    font-size: 13px;
    margin-left: auto;
}

.psp-login-card .psp-error {
    margin: 0 0 12px;
    padding: 8px 10px;
    border: 1px solid #d63638;
    background: #fcf0f1;
    color: #b32d2e;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.35;
}

.psp-login-card .psp-success {
    margin: 0 0 12px;
    padding: 8px 10px;
    border: 1px solid #00a32a;
    background: #edfaef;
    color: #0a5c1f;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.35;
}

.psp-pdf-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 99999;
}

.psp-pdf-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psp-pdf-dialog {
    width: min(1000px, 92vw);
    height: min(85vh, 860px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.psp-pdf-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    gap: 16px;
    flex-wrap: wrap;
}

.psp-pdf-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.psp-pdf-status {
    color: #50575e;
    font-size: 12px;
}

.psp-pdf-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.psp-pdf-action,
.psp-pdf-close {
    border: 1px solid #c3c4c7;
    background: #f6f7f7;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    min-width: 44px;
}

.psp-pdf-action:disabled {
    opacity: 0.5;
    cursor: default;
}

.psp-pdf-viewer {
    flex: 1;
    overflow: auto;
    background: #2b2f33;
    padding: 18px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.psp-pdf-canvas {
    max-width: 100%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    user-select: none;
    -webkit-user-drag: none;
}
