/* =========================================
   PRO.COMP REGISTER PAGE
   File: assets/css/register/register-form.css
========================================= */

:root {
    --procomp-primary: #2f63f5;
    --procomp-primary-dark: #1f4fe0;
    --procomp-text: #0f172a;
    --procomp-muted: #64748b;
    --procomp-border: #d9e2f1;
    --procomp-card: rgba(255, 255, 255, 0.97);
    --procomp-bg: #f5f7fc;
    --procomp-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
    --procomp-radius: 28px;
}

/* =========================================
   PAGE BASE
========================================= */
body.procomp-register-page.login {
    background: var(--procomp-bg) !important;
    color: var(--procomp-text) !important;
    font-family: 'Poppins', sans-serif !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.procomp-register-page #backtoblog,
body.procomp-register-page .fls_login_header,
body.procomp-register-page .fls_form_wrap > h1,
body.procomp-register-page .fls_form_wrap > p,
body.procomp-register-page .fls_login_form_inner > h1,
body.procomp-register-page .fls_login_form_inner > p,
body.procomp-register-page #login > h1,
body.procomp-register-page #login > p {
    display: none !important;
}

/* =========================================
   MAIN LAYOUT
========================================= */
body.procomp-register-page .fls_login_page_wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    min-height: 100vh !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.procomp-register-page .fls_login_page_wrap > .fls_login_cusom_content_wrap,
body.procomp-register-page .fls_login_page_wrap > .fls_login_form_wrap {
    width: 50% !important;
    flex: 0 0 50% !important;
    min-height: 100vh !important;
}

/* =========================================
   RIGHT SIDE FORM AREA
========================================= */
body.procomp-register-page .fls_login_form_wrap {
    background: var(--procomp-bg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 140px 56px 80px !important;
}

body.procomp-register-page .fls_login_page_wrap .fls_login_form_wrap .fls_form_wrap,
body.procomp-register-page .fls_login_form_inner,
body.procomp-register-page #login,
body.procomp-register-page .fluent_auth_login_form_inner {
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* =========================================
   FORM CARD
========================================= */
body.procomp-register-page #loginform,
body.procomp-register-page .fluent_auth_form,
body.procomp-register-page .fls_login_form,
body.procomp-register-page .fls_login_form_wrap form,
body.procomp-register-page .fluent_auth_form_wrap form {
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 !important;
    padding: 42px 48px 32px !important;
    background: var(--procomp-card) !important;
    border: 1px solid rgba(217, 226, 241, 0.95) !important;
    border-radius: 28px !important;
    box-shadow: var(--procomp-shadow) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* =========================================
   HEADING / SUBTITLE
========================================= */
body.procomp-register-page .procomp-register-heading,
body.procomp-register-page .fls_login_form_wrap h1,
body.procomp-register-page #loginform h1,
body.procomp-register-page .fluent_auth_form h1 {
    display: block !important;
    font-size: 46px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--procomp-text) !important;
    margin: 0 0 10px !important;
    text-align: left !important;
}

body.procomp-register-page .procomp-register-subtitle {
    display: block !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: var(--procomp-muted) !important;
    margin: 0 0 24px !important;
    text-align: left !important;
}

/* =========================================
   FIELDS
========================================= */
body.procomp-register-page .procomp-field,
body.procomp-register-page p:has(input),
body.procomp-register-page .form-row,
body.procomp-register-page .fluent_auth_field {
    margin-bottom: 16px !important;
}

body.procomp-register-page label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--procomp-text) !important;
    margin: 0 0 8px !important;
    line-height: 1.4 !important;
}

body.procomp-register-page .procomp-input-wrap,
body.procomp-register-page .procomp-password-toggle-wrap {
    position: relative !important;
    width: 100% !important;
}

body.procomp-register-page .procomp-input-icon {
    position: absolute !important;
    top: 50% !important;
    left: 16px !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

body.procomp-register-page input[type="text"],
body.procomp-register-page input[type="email"],
body.procomp-register-page input[type="password"] {
    width: 100% !important;
    height: 54px !important;
    border-radius: 14px !important;
    border: 1.5px solid var(--procomp-border) !important;
    background: #fff !important;
    color: var(--procomp-text) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 0 16px 0 44px !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
}

body.procomp-register-page .procomp-password-toggle-wrap input[type="password"],
body.procomp-register-page .procomp-password-toggle-wrap input[type="text"] {
    padding-left: 44px !important;
    padding-right: 62px !important;
}

body.procomp-register-page input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

body.procomp-register-page input:focus {
    border-color: rgba(47, 99, 245, 0.65) !important;
    box-shadow: 0 0 0 4px rgba(47, 99, 245, 0.10) !important;
    outline: none !important;
}

/* =========================================
   TERMS / CHECKBOX
========================================= */
body.procomp-register-page .procomp-terms-row,
body.procomp-register-page .fluent_auth_tos_wrap,
body.procomp-register-page label:has(input[type="checkbox"]) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 10px 0 18px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--procomp-muted) !important;
    line-height: 1.5 !important;
}

body.procomp-register-page input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    accent-color: var(--procomp-primary);
    margin-top: 1px !important;
}

body.procomp-register-page .procomp-terms-row a,
body.procomp-register-page .fluent_auth_tos_wrap a {
    color: var(--procomp-primary) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* =========================================
   REGISTER BUTTON
========================================= */
body.procomp-register-page .fls_login_form_wrap button[type="submit"],
body.procomp-register-page .fls_login_form_wrap input[type="submit"],
body.procomp-register-page .fls_login_form_wrap .button-primary,
body.procomp-register-page .fls_login_form_wrap .fls_login_btn,
body.procomp-register-page .procomp-main-register-btn {
    width: 100% !important;
    min-height: 52px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #2f63f5, #2453df) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 16px 30px rgba(47, 99, 245, 0.22) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    margin: 4px 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

body.procomp-register-page .fls_login_form_wrap button[type="submit"]:hover,
body.procomp-register-page .fls_login_form_wrap input[type="submit"]:hover,
body.procomp-register-page .fls_login_form_wrap .button-primary:hover,
body.procomp-register-page .fls_login_form_wrap .fls_login_btn:hover,
body.procomp-register-page .procomp-main-register-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(47, 99, 245, 0.28) !important;
}

body.procomp-register-page .fls_login_form_wrap button[type="submit"].is-register-loading,
body.procomp-register-page .fls_login_form_wrap input[type="submit"].is-register-loading,
body.procomp-register-page .fls_login_form_wrap .button-primary.is-register-loading,
body.procomp-register-page .fls_login_form_wrap .fls_login_btn.is-register-loading,
body.procomp-register-page .procomp-main-register-btn.is-register-loading {
    opacity: 0.94 !important;
    cursor: wait !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: 0 10px 22px rgba(47, 99, 245, 0.18) !important;
}

body.procomp-register-page .procomp-register-spinner {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    border-top-color: #ffffff !important;
    border-radius: 50% !important;
    display: inline-block !important;
    animation: procompRegisterSpin 0.7s linear infinite !important;
    flex-shrink: 0 !important;
}

@keyframes procompRegisterSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   SMALL LOGIN LINK
========================================= */
body.procomp-register-page .procomp-bottom-account-text {
    display: block !important;
    text-align: center !important;
    margin-top: 14px !important;
    font-size: 14px !important;
    color: var(--procomp-muted) !important;
}

body.procomp-register-page .procomp-bottom-account-text a {
    color: var(--procomp-primary) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* =========================================
   DIVIDER
========================================= */
body.procomp-register-page .procomp-register-divider {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 14px 0 !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    width: 100% !important;
}

body.procomp-register-page .procomp-register-divider::before,
body.procomp-register-page .procomp-register-divider::after {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background: #dbe3ee !important;
}

body.procomp-register-page .procomp-register-divider span {
    display: inline-block !important;
}

/* =========================================
   SOCIAL BUTTONS
========================================= */
body.procomp-register-page #fm_login_with_wrap,
body.procomp-register-page .fm_login_with {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.procomp-register-page #fm_login_with_wrap > p,
body.procomp-register-page #fm_login_with_wrap > .fm_login_with_title,
body.procomp-register-page #fm_login_with_wrap > .login-with-title,
body.procomp-register-page #fm_login_with_wrap > .social-login-title,
body.procomp-register-page #fm_login_with_wrap > .fm-title {
    display: none !important;
}

body.procomp-register-page .procomp-google-register-btn,
body.procomp-register-page a[href*="google"],
body.procomp-register-page button[class*="google"],
body.procomp-register-page .fs_auth_btn.fs_auth_google,
body.procomp-register-page [class*="google"].procomp-google-register-btn {
    width: 100% !important;
    min-height: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #d9e2f1 !important;
    color: #111827 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

body.procomp-register-page .procomp-google-register-btn:hover,
body.procomp-register-page a[href*="google"]:hover,
body.procomp-register-page button[class*="google"]:hover,
body.procomp-register-page .fs_auth_btn.fs_auth_google:hover,
body.procomp-register-page [class*="google"].procomp-google-register-btn:hover {
    background: #f8fbff !important;
    border-color: #cfd9ec !important;
    color: #111827 !important;
    transform: translateY(-1px);
}

body.procomp-register-page .procomp-google-register-btn .procomp-social-provider-icon,
body.procomp-register-page .procomp-google-register-btn img,
body.procomp-register-page .procomp-google-register-btn svg,
body.procomp-register-page .fs_auth_btn.fs_auth_google .procomp-social-provider-icon,
body.procomp-register-page .fs_auth_btn.fs_auth_google img,
body.procomp-register-page .fs_auth_btn.fs_auth_google svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex: 0 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    object-fit: contain !important;
}

body.procomp-register-page .procomp-google-letter-icon {
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #4285f4 !important;
    font-family: Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

body.procomp-register-page .procomp-social-provider-label {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    color: inherit !important;
    font: inherit !important;
    white-space: nowrap !important;
}

body.procomp-register-page .procomp-github-register-btn,
body.procomp-register-page a[href*="github"],
body.procomp-register-page button[class*="github"],
body.procomp-register-page [class*="github"].procomp-github-register-btn {
    width: 100% !important;
    min-height: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border-radius: 12px !important;
    background: #1f2937 !important;
    border: 1px solid #1f2937 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

body.procomp-register-page .procomp-github-register-btn:hover,
body.procomp-register-page a[href*="github"]:hover {
    background: #162135 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

body.procomp-register-page .procomp-github-register-btn .procomp-social-provider-icon,
body.procomp-register-page .procomp-github-register-btn i,
body.procomp-register-page .procomp-github-register-btn img,
body.procomp-register-page .procomp-github-register-btn svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex: 0 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

/* =========================================
   DEFAULT NAV / SMALL TEXT
========================================= */
body.procomp-register-page #nav {
    text-align: center !important;
    margin-top: 14px !important;
    font-size: 14px !important;
}

body.procomp-register-page #nav a {
    color: var(--procomp-primary) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.procomp-register-page .privacy-policy-page-link,
body.procomp-register-page .fls_policy_links,
body.procomp-register-page .policies,
body.procomp-register-page .terms {
    display: block !important;
    text-align: center !important;
    margin-top: 8px !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
}

/* =========================================
   NOTICES
========================================= */
body.procomp-register-page .login .message,
body.procomp-register-page .login .notice,
body.procomp-register-page .login .success,
body.procomp-register-page .login .error,
body.procomp-register-page .notice,
body.procomp-register-page .message,
body.procomp-register-page .error {
    border-radius: 16px !important;
    padding: 14px 16px !important;
    margin-bottom: 18px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    border: 1px solid #dbe3ee !important;
    box-shadow: none !important;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1400px) {
    body.procomp-register-page .fls_login_form_wrap h1,
    body.procomp-register-page #loginform h1,
    body.procomp-register-page .fluent_auth_form h1,
    body.procomp-register-page .procomp-register-heading {
        font-size: 40px !important;
    }
}

@media (max-width: 1199px) {
    body.procomp-register-page .fls_login_page_wrap {
        flex-direction: column !important;
    }

    body.procomp-register-page .fls_login_page_wrap > .fls_login_cusom_content_wrap,
    body.procomp-register-page .fls_login_page_wrap > .fls_login_form_wrap {
        width: 100% !important;
        flex: 0 0 100% !important;
        min-height: auto !important;
    }

    body.procomp-register-page .fls_login_form_wrap {
        padding: 60px 24px 70px !important;
    }

}

@media (max-width: 767px) {
    body.procomp-register-page .fls_login_form_wrap {
        padding: 36px 16px 50px !important;
    }

    body.procomp-register-page #loginform,
    body.procomp-register-page .fluent_auth_form,
    body.procomp-register-page .fls_login_form,
    body.procomp-register-page .fls_login_form_wrap form {
        padding: 28px 20px 24px !important;
        border-radius: 22px !important;
    }

    body.procomp-register-page .fls_login_form_wrap h1,
    body.procomp-register-page #loginform h1,
    body.procomp-register-page .fluent_auth_form h1,
    body.procomp-register-page .procomp-register-heading {
        font-size: 34px !important;
        margin-bottom: 8px !important;
    }

    body.procomp-register-page .procomp-register-subtitle {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }

    body.procomp-register-page input[type="text"],
    body.procomp-register-page input[type="email"],
    body.procomp-register-page input[type="password"] {
        height: 48px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }

    body.procomp-register-page .procomp-password-toggle-btn {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
    }

    body.procomp-register-page .fls_login_form_wrap button[type="submit"],
    body.procomp-register-page .fls_login_form_wrap input[type="submit"],
    body.procomp-register-page .fls_login_form_wrap .button-primary,
    body.procomp-register-page .fls_login_form_wrap .fls_login_btn,
    body.procomp-register-page .procomp-main-register-btn {
        min-height: 48px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
    }
}

/* =========================================
   REGISTER INPUT ICONS - PERFECT CENTER
========================================= */

body.procomp-register-page .procomp-input-wrap,
body.procomp-register-page .procomp-password-toggle-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

body.procomp-register-page .procomp-input-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
    pointer-events: none !important;
    z-index: 3 !important;
}

body.procomp-register-page .procomp-input-icon i,
body.procomp-register-page .procomp-input-icon svg {
    display: block !important;
    line-height: 1 !important;
    font-size: 14px !important;
}

/* keep inputs aligned with icon */
body.procomp-register-page input[type="text"],
body.procomp-register-page input[type="email"],
body.procomp-register-page input[type="password"] {
    padding-left: 44px !important;
}

/* keep password fields aligned with both icon and eye */
body.procomp-register-page .procomp-password-toggle-wrap input[type="password"],
body.procomp-register-page .procomp-password-toggle-wrap input[type="text"] {
    padding-left: 44px !important;
    padding-right: 62px !important;
}
/* =========================================
   PASSWORD STRENGTH
========================================= */

.procomp-password-inline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 6px;
}

.procomp-confirm-label {
    margin: 0 !important;
    line-height: 1.2;
    flex: 0 0 auto;
}

.procomp-password-strength-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0 !important;
    flex: 0 0 auto;
    width: auto;
    transform: translateY(-4px);
}

.procomp-password-strength-bar {
    position: relative;
    width: 130px;
    height: 4px;
    background: transparent;
    border-radius: 999px;
    overflow: hidden;
    line-height: 0;
    transition: background-color 0.25s ease;
}

.procomp-password-strength-fill {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: width 0.25s ease, background-color 0.25s ease;
    background: #dbe7ff;
}

.procomp-password-strength-text {
    min-width: 58px;
    margin: 0;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    text-align: left;
    color: #1f2937;
}

.procomp-password-strength-text.helper {
    color: #64748b;
}

.procomp-password-strength-text.default {
    color: #64748b;
}

.procomp-password-strength-text.short {
    color: #f97316;
}

.procomp-password-strength-text.weak {
    color: #dc2626;
}

.procomp-password-strength-text.fair {
    color: #f59e0b;
}

.procomp-password-strength-text.good {
    color: #84cc16;
}

.procomp-password-strength-text.strong {
    color: #16a34a;
}

/* =========================================
   FIELD STATUS
========================================= */

.procomp-input-error,
.procomp-input-error:focus {
    border: 1px solid #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10) !important;
    background-color: #fff7f7 !important;
}

.procomp-input-warning,
.procomp-input-warning:focus {
    border: 1px solid #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.10) !important;
    background-color: #fffaf0 !important;
}

.procomp-input-valid,
.procomp-input-valid:focus {
    border: 1px solid #22c55e !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08) !important;
    background-color: #f7fff9 !important;
}

.procomp-input-with-status {
    padding-right: 92px !important;
}

.procomp-field-status-parent {
    position: relative;
}

.procomp-field-status-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 5;
}

.procomp-field-status-icon.visible {
    opacity: 1;
}

.procomp-field-status-icon.success {
    color: #16a34a;
    background: rgba(34, 197, 94, 0.10);
}

.procomp-field-status-icon.error {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.10);
}

.procomp-field-message {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
}

.procomp-field-message.error {
    color: #dc2626;
}

.procomp-field-message.warning {
    color: #d97706;
}

.procomp-field-message.success {
    color: #16a34a;
}

.procomp-password-helper-message {
    min-height: 16px;
    margin: 4px 0 0 0;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.procomp-password-helper-message.visible {
    opacity: 1;
}

.procomp-password-helper-message.warning {
    color: #d97706;
}

.procomp-password-helper-message.error {
    color: #dc2626;
}

.procomp-password-helper-message.success {
    color: #16a34a;
}

/* =========================================
   PASSWORD TOGGLE
========================================= */

.procomp-password-toggle-wrap {
    position: relative;
    width: 100%;
}

.procomp-password-toggle-wrap input[type="password"],
.procomp-password-toggle-wrap input[type="text"] {
    width: 100%;
    padding-right: 92px !important;
}

.procomp-password-toggle-wrap .procomp-field-status-icon {
    right: 50px;
    z-index: 6;
}

.procomp-password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
    z-index: 7;
    padding: 0;
}

.procomp-password-toggle-btn:hover {
    transform: translateY(-50%) scale(1.03);
}

.procomp-password-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.procomp-password-toggle-btn svg {
    width: 18px;
    height: 18px;
    display: block;
    pointer-events: none;
}

.procomp-eye-open,
.procomp-eye-closed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.procomp-password-helper-message {
    min-height: 16px;
    margin: 4px 0 0 0;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    color: #64748b;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.procomp-password-helper-message.visible {
    opacity: 1;
}
