.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 {
    width: 130px;
    height: 4px;
    background: #e5edff;
    border-radius: 999px;
    overflow: hidden;
    line-height: 0;
}

.procomp-password-strength-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    transition: width 0.25s ease, background-color 0.25s ease;
    background: #dc2626;
}

.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.default {
    color: #64748b;
}

.procomp-password-strength-text.weak {
    color: #dc2626;
}

.procomp-password-strength-text.medium {
    color: #d97706;
}

.procomp-password-strength-text.strong {
    color: #16a34a;
}

.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;
}

/* ONE PASSWORD TOGGLE ONLY ON MAIN PASSWORD */
.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: 42%;
    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;
}